Lines Matching refs:H264Context
68 int ff_h264_check_intra4x4_pred_mode(H264Context *h){
108 int ff_h264_check_intra_pred_mode(H264Context *h, int mode, int is_chroma){
140 const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src, int *dst_length, int *consumed, int length){
230 static int ff_h264_decode_rbsp_trailing(H264Context *h, const uint8_t *src){
243 static inline int get_lowest_part_list_y(H264Context *h, Picture *pic, int n, int height,
253 static inline void get_lowest_part_y(H264Context *h, int refs[2][48], int n, int height,
293 static void await_references(H264Context *h){
445 mc_dir_part(H264Context *h, Picture *pic, int n, int square,
543 mc_part_std(H264Context *h, int n, int square, int height, int delta,
587 mc_part_weighted(H264Context *h, int n, int square, int height, int delta,
674 mc_part(H264Context *h, int n, int square, int height, int delta,
696 prefetch_motion(H264Context *h, int list, int pixel_shift, int chroma_idc)
718 static av_always_inline void hl_motion(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr,
821 hl_motion_420(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr,
832 hl_motion_422(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr,
842 static void free_tables(H264Context *h, int free_rbsp){
844 H264Context *hx;
876 static void init_dequant8_coeff_table(H264Context *h){
902 static void init_dequant4_coeff_table(H264Context *h){
927 static void init_dequant_tables(H264Context *h){
944 int ff_h264_alloc_tables(H264Context *h){
991 static void clone_tables(H264Context *dst, H264Context *src, int i){
1013 static int context_init(H264Context *h){
1025 static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size);
1027 static av_cold void common_init(H264Context *h){
1046 int ff_h264_decode_extradata(H264Context *h)
1099 H264Context *h= avctx->priv_data;
1176 H264Context *h= avctx->priv_data;
1188 H264Context *h= dst->priv_data, *h1= src->priv_data;
1206 memcpy(&h->s + 1, &h1->s + 1, sizeof(H264Context) - sizeof(MpegEncContext)); //copy all fields after MpegEnc
1279 int ff_h264_frame_start(H264Context *h){
1347 static void decode_postinit(H264Context *h, int setup_finished){
1547 static av_always_inline void backup_mb_border(H264Context *h, uint8_t *src_y,
1643 static av_always_inline void xchg_mb_border(H264Context *h, uint8_t *src_y,
1742 static av_always_inline void hl_decode_mb_predict_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass,
1845 static av_always_inline void hl_decode_mb_idct_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass,
1895 static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple, int pixel_shift)
2105 static av_always_inline void hl_decode_mb_444_internal(H264Context *h, int simple, int pixel_shift){
2205 static void hl_decode_mb_simple_ ## bits(H264Context *h){ \
2214 static void av_noinline hl_decode_mb_complex(H264Context *h){
2218 static void av_noinline hl_decode_mb_444_complex(H264Context *h){
2222 static void av_noinline hl_decode_mb_444_simple(H264Context *h){
2226 void ff_h264_hl_decode_mb(H264Context *h){
2245 static int pred_weight_table(H264Context *h){
2311 static void implicit_weight_table(H264Context *h, int field){
2375 static void idr(H264Context *h){
2385 H264Context *h= avctx->priv_data;
2404 static int init_poc(H264Context *h){
2485 static void init_scan_tables(H264Context *h){
2518 static int field_end(H264Context *h, int in_setup){
2575 static void clone_slice(H264Context *dst, H264Context *src)
2635 static int decode_slice_header(H264Context *h, H264Context *h0){
2839 H264Context *c;
2840 c = h->thread_context[i] = av_malloc(sizeof(H264Context));
2842 memset(&c->s + 1, 0, sizeof(H264Context) - sizeof(MpegEncContext));
3339 int ff_h264_get_slice_type(const H264Context *h)
3351 static av_always_inline void fill_filter_caches_inter(H264Context *h, MpegEncContext * const s, int mb_type, int top_xy,
3431 static int fill_filter_caches(H264Context *h, int mb_type){
3558 static void loop_filter(H264Context *h, int start_x, int end_x){
3619 static void predict_field_decoding_flag(H264Context *h){
3633 static void decode_finish_row(H264Context *h){
3665 H264Context *h = *(void**)arg;
3805 static int execute_decode_slices(H264Context *h, int context_count){
3808 H264Context *hx;
3839 static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
3842 H264Context *hx; ///< thread context
4148 H264Context *h = avctx->priv_data;
4223 static inline void fill_mb_avail(H264Context *h){
4311 av_cold void ff_h264_free_context(H264Context *h)
4326 H264Context *h = avctx->priv_data;
4333 // memset(h, 0, sizeof(H264Context));
4359 .priv_data_size = sizeof(H264Context),
4377 .priv_data_size = sizeof(H264Context),