parset.c File Reference

Parameter Sets. More...

#include "global.h"
#include "image.h"
#include "parsetcommon.h"
#include "parset.h"
#include "nalu.h"
#include "memalloc.h"
#include "fmo.h"
#include "cabac.h"
#include "vlc.h"
#include "mbuffer.h"
#include "erc_api.h"

Include dependency graph for parset.c:

Go to the source code of this file.

Defines

#define SYMTRACESTRING(s)

Functions

void init_frext (ImageParameters *p_Img)
void Scaling_List (int *scalingList, int sizeOfScalingList, Boolean *UseDefaultScalingMatrix, Bitstream *s)
int InterpretSPS (ImageParameters *p_Img, DataPartition *p, seq_parameter_set_rbsp_t *sps)
void InitVUI (seq_parameter_set_rbsp_t *sps)
int ReadVUI (DataPartition *p, seq_parameter_set_rbsp_t *sps)
int ReadHRDParameters (DataPartition *p, hrd_parameters_t *hrd)
int InterpretPPS (ImageParameters *p_Img, DataPartition *p, pic_parameter_set_rbsp_t *pps)
void PPSConsistencyCheck (pic_parameter_set_rbsp_t *pps)
void SPSConsistencyCheck (seq_parameter_set_rbsp_t *sps)
void MakePPSavailable (ImageParameters *p_Img, int id, pic_parameter_set_rbsp_t *pps)
void CleanUpPPS (ImageParameters *p_Img)
void MakeSPSavailable (ImageParameters *p_Img, int id, seq_parameter_set_rbsp_t *sps)
void ProcessSPS (ImageParameters *p_Img, NALU_t *nalu)
void ProcessPPS (ImageParameters *p_Img, NALU_t *nalu)
static void updateMaxValue (FrameFormat *format)
void reset_format_info (seq_parameter_set_rbsp_t *sps, ImageParameters *p_Img, FrameFormat *source, FrameFormat *output)
void activate_sps (ImageParameters *p_Img, seq_parameter_set_rbsp_t *sps)
void activate_pps (ImageParameters *p_Img, pic_parameter_set_rbsp_t *pps)
void UseParameterSet (Slice *currSlice, int PicParsetId)


Detailed Description

Parameter Sets.

parset.c

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file parset.c.


Function Documentation

void activate_sps ( ImageParameters *  p_Img,
seq_parameter_set_rbsp_t *  sps 
)

Activate Sequence Parameter Sets.

Definition at line 671 of file parset.c.

References ercInit(), exit_picture(), flush_dpb(), init_dpb(), init_frext(), init_global_buffers(), reset_format_info(), YUV400, YUV420, YUV422, and YUV444.

Referenced by interpret_buffering_period_info().

Here is the call graph for this function:

void init_frext ( ImageParameters *  p_Img  ) 

Initialize FREXT variables.

Parameters:
p_Img image parameters

Definition at line 539 of file ldecod.c.

References YUV400, YUV420, YUV422, and YUV444.

Referenced by activate_sps().

int InterpretPPS ( ImageParameters *  p_Img,
DataPartition p,
pic_parameter_set_rbsp_t *  pps 
)

Note: as per JVT-F078 the following bit is unconditional. If F078 is not accepted, then one has to fetch the correct SPS to check whether the bit is present (hopefully there is no consistency problem :-( The current encoder code handles this in the same way. When you change this, don't forget the encoder! StW, 12/8/02

JVT-F078: avoid reference of SPS by using ue(v) instead of u(v)

Definition at line 300 of file parset.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, more_rbsp_data(), no_mem_exit(), se_v(), Bitstream::streamBuffer, u_1(), u_v(), ue_v(), and YUV444.

Here is the call graph for this function:

void reset_format_info ( seq_parameter_set_rbsp_t *  sps,
ImageParameters *  p_Img,
FrameFormat *  source,
FrameFormat *  output 
)

Reset format information.

Definition at line 568 of file parset.c.

References updateMaxValue(), and YUV400.

Referenced by activate_sps().

Here is the call graph for this function:

static void updateMaxValue ( FrameFormat *  format  )  [static]

Updates images max values.

Definition at line 551 of file parset.c.

Referenced by reset_format_info().


Documentation generated with DoxyGen