Home
last modified time | relevance | path

Searched refs:cbp_table (Results 1 – 12 of 12) sorted by relevance

/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph261pay.c262 static const guint16 cbp_table[CBP_LEN][4] = { variable
475 if ((code & cbp_table[i][1]) == cbp_table[i][0]) { in decode_cbp()
476 SKIP_BITS (br, cbp_table[i][2]); in decode_cbp()
477 *cbp = cbp_table[i][3]; in decode_cbp()
/third_party/ffmpeg/libavcodec/
Dh264_loopfilter.c516 … bS[0]= 1+((h->cbp_table[mbn_xy] & 0x4000) || sl->non_zero_count_cache[scan8[0]+0]); in filter_mb_dir()
517 … bS[1]= 1+((h->cbp_table[mbn_xy] & 0x4000) || sl->non_zero_count_cache[scan8[0]+1]); in filter_mb_dir()
518 … bS[2]= 1+((h->cbp_table[mbn_xy] & 0x8000) || sl->non_zero_count_cache[scan8[0]+2]); in filter_mb_dir()
519 … bS[3]= 1+((h->cbp_table[mbn_xy] & 0x8000) || sl->non_zero_count_cache[scan8[0]+3]); in filter_mb_dir()
773 … (h->cbp_table[mbn_xy] & (((MB_FIELD(sl) ? (i&2) : (mb_y&1)) ? 8 : 2) << 12)) in ff_h264_filter_mb()
Dh264_mvpred.h593 sl->top_cbp = h->cbp_table[top_xy]; in fill_decode_caches()
598 sl->left_cbp = (h->cbp_table[left_xy[LTOP]] & 0x7F0) | in fill_decode_caches()
599 ((h->cbp_table[left_xy[LTOP]] >> (left_block[0] & (~1))) & 2) | in fill_decode_caches()
600 (((h->cbp_table[left_xy[LBOT]] >> (left_block[2] & (~1))) & 2) << 2); in fill_decode_caches()
Dmpeg4videodec.c723 s->cbp_table[xy] = cbpc & 3; in mpeg4_decode_partition_a()
796 s->cbp_table[xy] = cbpc & (8 + 3); // 8 is dquant in mpeg4_decode_partition_a()
908 s->cbp_table[xy] |= cbpy << 2; in mpeg4_decode_partition_b()
923 if (s->cbp_table[xy] & 8) in mpeg4_decode_partition_b()
939 s->cbp_table[xy] &= 3; // remove dquant in mpeg4_decode_partition_b()
940 s->cbp_table[xy] |= cbpy << 2; in mpeg4_decode_partition_b()
945 s->cbp_table[xy] = 0; in mpeg4_decode_partition_b()
955 if (s->cbp_table[xy] & 8) in mpeg4_decode_partition_b()
959 s->cbp_table[xy] &= 3; // remove dquant in mpeg4_decode_partition_b()
960 s->cbp_table[xy] |= (cbpy ^ 0xf) << 2; in mpeg4_decode_partition_b()
[all …]
Dh264_cabac.c1700 h->cbp_table[sl->mb_xy] |= 0x40 << (n - CHROMA_DC_BLOCK_INDEX); in decode_cabac_residual_internal()
1702 h->cbp_table[sl->mb_xy] |= 0x100 << (n - LUMA_DC_BLOCK_INDEX); in decode_cabac_residual_internal()
1941 h->cbp_table[mb_xy] = 0; in ff_h264_decode_mb_cabac()
2052 h->cbp_table[mb_xy] = 0xf7ef; in ff_h264_decode_mb_cabac()
2336 h->cbp_table[mb_xy] = sl->cbp = cbp; in ff_h264_decode_mb_cabac()
Dh264dec.c144 av_freep(&h->cbp_table); in ff_h264_free_tables()
191 !FF_ALLOCZ_TYPED_ARRAY(h->cbp_table, big_mb_num) || in ff_h264_alloc_tables()
Dh264_cavlc.c1095 h->cbp_table[mb_xy]= cbp; in ff_h264_decode_mb_cavlc()
1134 h->cbp_table[mb_xy] |= ret << 12; in ff_h264_decode_mb_cavlc()
Dh264dec.h420 uint16_t *cbp_table; member
Dvaapi_vc1.c294 .cbp_table = (v->fcm == PROGRESSIVE ? v->cbptab : v->icbptab), in vaapi_vc1_start_frame()
Dh264_slice.c2401 sl->cbp = h->cbp_table[mb_xy]; in fill_filter_caches()
2421 nnz_cache[5 + 8 * 0] = (h->cbp_table[top_xy] & 0x4000) >> 12; in fill_filter_caches()
2423 nnz_cache[7 + 8 * 0] = (h->cbp_table[top_xy] & 0x8000) >> 12; in fill_filter_caches()
2427 … nnz_cache[3 + 8 * 2] = (h->cbp_table[left_xy[LTOP]] & 0x2000) >> 12; // FIXME check MBAFF in fill_filter_caches()
2431 … nnz_cache[3 + 8 * 4] = (h->cbp_table[left_xy[LBOT]] & 0x8000) >> 12; // FIXME check MBAFF in fill_filter_caches()
Dmpegvideo.h199 uint8_t *cbp_table; ///< used to store cbp, ac_pred for partitioned decoding member
Dmpegvideo.c803 !FF_ALLOCZ_TYPED_ARRAY(s->cbp_table, mb_array_size) || in init_context_frame()
895 s->cbp_table = NULL; in clear_context()
1039 av_freep(&s->cbp_table); in free_context_frame()