conformance.h File Reference

Level & Profile Related definitions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ProfileCheck (InputParameters *p_Inp)
void LevelCheck (ImageParameters *p_Img, InputParameters *p_Inp)
void update_mv_limits (ImageParameters *p_Img, InputParameters *p_Inp, byte is_field)
void clip_mv_range (ImageParameters *p_Img, int search_range, MotionVector *mv, int res)
int out_of_bounds_mvs (ImageParameters *p_Img, short mv[2])
void test_clip_mvs (ImageParameters *p_Img, short mv[2], Boolean write_mb)
Boolean CheckPredictionParams (Macroblock *currMB, Block8x8Info *b8x8info, int mode)
unsigned int getMaxMBPS (unsigned int levelIdc)
unsigned int getMinCR (unsigned int levelIdc)
unsigned int getMaxBR (unsigned int levelIdc)
unsigned int getMaxCPB (unsigned int levelIdc)


Detailed Description

Level & Profile Related definitions.

Author:
Alexis Michael Tourapis <alexismt@ieee.org>

Definition in file conformance.h.


Function Documentation

void clip_mv_range ( ImageParameters p_Img,
int  search_range,
MotionVector mv,
int  res 
)

Clip motion vector range given encoding level.

Definition at line 451 of file conformance.c.

References img_par::MaxHmvR, and img_par::MaxVmvR.

Referenced by BiPredBlockMotionSearch(), and BlockMotionSearch().

unsigned int getMaxBR ( unsigned int  levelIdc  ) 

Get maximum bit rate (in bits/s) supported given a level.

Definition at line 136 of file conformance.c.

References error().

Referenced by LevelCheck().

Here is the call graph for this function:

unsigned int getMaxCPB ( unsigned int  levelIdc  ) 

Get maximum coded buffer size (in bits) supported given a level.

Definition at line 159 of file conformance.c.

References error().

Here is the call graph for this function:

unsigned int getMaxMBPS ( unsigned int  levelIdc  ) 

Get maximum processing rate (in MB/s) supported given a level.

Definition at line 90 of file conformance.c.

References error().

Referenced by LevelCheck().

Here is the call graph for this function:

unsigned int getMinCR ( unsigned int  levelIdc  ) 

Get minimum compression ratio supported given a level.

Definition at line 113 of file conformance.c.

References error().

Here is the call graph for this function:

void LevelCheck ( ImageParameters p_Img,
InputParameters p_Inp 
)

int out_of_bounds_mvs ( ImageParameters p_Img,
short  mv[2] 
)

Clip motion vector range given encoding level.

Definition at line 482 of file conformance.c.

References img_par::MaxHmvR, and img_par::MaxVmvR.

Referenced by Get_Direct_MV_Spatial_MBAFF(), Get_Direct_MV_Temporal(), and RDCost_for_macroblocks().

void ProfileCheck ( InputParameters p_Inp  ) 

void test_clip_mvs ( ImageParameters p_Img,
short  mv[2],
Boolean  write_mb 
)

Clip motion vector range given encoding level.

Definition at line 465 of file conformance.c.

References img_par::MaxHmvR, and img_par::MaxVmvR.

void update_mv_limits ( ImageParameters p_Img,
InputParameters p_Inp,
byte  is_field 
)

Update Motion Vector Limits.

Definition at line 416 of file conformance.c.

References img_par::LevelIndex, img_par::MaxHmvR, and img_par::MaxVmvR.

Referenced by encode_one_slice_MBAFF(), field_picture(), and frame_picture().


Documentation generated with DoxyGen