FFmpeg
|
H.264 decoder/parser shared code. More...
#include "get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | H264PredWeightTable |
struct | H264POCContext |
Functions | |
int | ff_h264_pred_weight_table (GetBitContext *gb, const struct SPS *sps, const int *ref_count, int slice_type_nos, H264PredWeightTable *pwt, void *logctx) |
int | ff_h264_check_intra4x4_pred_mode (int8_t *pred_mode_cache, void *logctx, int top_samples_available, int left_samples_available) |
Check if the top & left blocks are available if needed & change the dc mode so it only uses the available blocks. More... | |
int | ff_h264_check_intra_pred_mode (void *logctx, int top_samples_available, int left_samples_available, int mode, int is_chroma) |
Check if the top & left blocks are available if needed & change the dc mode so it only uses the available blocks. More... | |
int | ff_h264_parse_ref_count (int *plist_count, int ref_count[2], GetBitContext *gb, const struct PPS *pps, int slice_type_nos, int picture_structure, void *logctx) |
int | ff_h264_init_poc (int pic_field_poc[2], int *pic_poc, const struct SPS *sps, H264POCContext *poc, int picture_structure, int nal_ref_idc) |
int | ff_h264_decode_extradata (const uint8_t *data, int size, struct H264ParamSets *ps, int *is_avc, int *nal_length_size, int err_recognition, void *logctx) |
int | ff_h264_get_profile (const struct SPS *sps) |
compute profile from sps More... | |
H.264 decoder/parser shared code.
Definition in file h264_parse.h.
int ff_h264_pred_weight_table | ( | GetBitContext * | gb, |
const struct SPS * | sps, | ||
const int * | ref_count, | ||
int | slice_type_nos, | ||
H264PredWeightTable * | pwt, | ||
void * | logctx | ||
) |
int ff_h264_check_intra4x4_pred_mode | ( | int8_t * | pred_mode_cache, |
void * | logctx, | ||
int | top_samples_available, | ||
int | left_samples_available | ||
) |
Check if the top & left blocks are available if needed & change the dc mode so it only uses the available blocks.
Check if the top & left blocks are available if needed & change the dc mode so it only uses the available blocks.
Definition at line 103 of file h264_parse.c.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and svq3_decode_mb().
int ff_h264_check_intra_pred_mode | ( | void * | logctx, |
int | top_samples_available, | ||
int | left_samples_available, | ||
int | mode, | ||
int | is_chroma | ||
) |
Check if the top & left blocks are available if needed & change the dc mode so it only uses the available blocks.
Check if the top & left blocks are available if needed & change the dc mode so it only uses the available blocks.
Definition at line 151 of file h264_parse.c.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and svq3_decode_mb().
int ff_h264_parse_ref_count | ( | int * | plist_count, |
int | ref_count[2], | ||
GetBitContext * | gb, | ||
const struct PPS * | pps, | ||
int | slice_type_nos, | ||
int | picture_structure, | ||
void * | logctx | ||
) |
int ff_h264_init_poc | ( | int | pic_field_poc[2], |
int * | pic_poc, | ||
const struct SPS * | sps, | ||
H264POCContext * | poc, | ||
int | picture_structure, | ||
int | nal_ref_idc | ||
) |
int ff_h264_decode_extradata | ( | const uint8_t * | data, |
int | size, | ||
struct H264ParamSets * | ps, | ||
int * | is_avc, | ||
int * | nal_length_size, | ||
int | err_recognition, | ||
void * | logctx | ||
) |
Definition at line 412 of file h264_parse.c.
Referenced by ff_h264_decode_init(), h264_decode_frame(), h264_parse(), and mediacodec_decode_init().
int ff_h264_get_profile | ( | const struct SPS * | sps | ) |
compute profile from sps