#include "global.h"
Go to the source code of this file.
Functions | |
void | RandomIntraInit (ImageParameters *p_Img, int xsize, int ysize, int refresh) |
int | RandomIntra (ImageParameters *p_Img, int mb) |
void | RandomIntraNewPicture (ImageParameters *p_Img) |
void | RandomIntraUninit (ImageParameters *p_Img) |
Definition in file intrarefresh.c.
int RandomIntra | ( | ImageParameters * | p_Img, | |
int | mb | |||
) |
RandomIntra: Code an MB as Intra?
Definition at line 87 of file intrarefresh.c.
Referenced by encode_one_macroblock_high(), encode_one_macroblock_highfast(), encode_one_macroblock_highloss(), and encode_one_macroblock_low().
void RandomIntraInit | ( | ImageParameters * | p_Img, | |
int | xsize, | |||
int | ysize, | |||
int | refresh | |||
) |
RandomIntraInit: Initializes Random Intra module. Should be called only after initialization (or changes) of the picture size or the random intra refresh value. In version jm2.1 it is impossible to change those values on-the-fly, hence RandomIntraInit should be called immediately after the parsing of the config file.
Definition at line 34 of file intrarefresh.c.
References no_mem_exit().
Referenced by init_img().
void RandomIntraNewPicture | ( | ImageParameters * | p_Img | ) |
RandomIntraNewPicture: Selects new set of MBs for forced Intra.
returns 1 for MBs that need forced Intra
Definition at line 109 of file intrarefresh.c.
Referenced by code_a_picture().