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 *img)
void Scaling_List (int *scalingList, int sizeOfScalingList, Boolean *UseDefaultScalingMatrix, Bitstream *s)
int InterpretSPS (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 (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 (int id, pic_parameter_set_rbsp_t *pps)
void CleanUpPPS ()
void MakeSPSavailable (int id, seq_parameter_set_rbsp_t *sps)
void ProcessSPS (NALU_t *nalu)
void ProcessPPS (NALU_t *nalu)
void activate_sps (seq_parameter_set_rbsp_t *sps)
void activate_pps (pic_parameter_set_rbsp_t *pps)
void UseParameterSet (int PicParsetId)

Variables

const byte ZZ_SCAN [16]
const byte ZZ_SCAN8 [64]
int UsedBits
ColocatedParams * Co_located
ColocatedParams * Co_located_JV [MAX_PLANE]
int quant_intra_default [16]
int quant_inter_default [16]
int quant8_intra_default [64]
int quant8_inter_default [64]
seq_parameter_set_rbsp_t SeqParSet [MAXSPS]
pic_parameter_set_rbsp_t PicParSet [MAXPPS]
StorablePicture * dec_picture


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 init_frext ( ImageParameters *  img  ) 

Initialize FREXT variables.

Parameters:
img  image parameters

Definition at line 459 of file ldecod.c.

References init_qp_process(), YUV400, YUV420, YUV422, and YUV444.

Here is the call graph for this function:

int InterpretPPS ( 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 323 of file parset.c.

References datapartition::bitstream, 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:


Variable Documentation

Co_located to be used during 4:4:4 independent mode decoding.

Definition at line 50 of file mbuffer.c.

const byte ZZ_SCAN[16]

Initial value:

{  0,  1,  4,  8,  5,  2,  3,  6,  9, 12, 13, 10,  7, 11, 14, 15
}

Definition at line 33 of file parset.c.

const byte ZZ_SCAN8[64]

Initial value:

{  0,  1,  8, 16,  9,  2,  3, 10, 17, 24, 32, 25, 18, 11,  4,  5,
   12, 19, 26, 33, 40, 48, 41, 34, 27, 20, 13,  6,  7, 14, 21, 28,
   35, 42, 49, 56, 57, 50, 43, 36, 29, 22, 15, 23, 30, 37, 44, 51,
   58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54, 47, 55, 62, 63
}

Definition at line 37 of file parset.c.


Documentation generated with DoxyGen