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.c259 static const guint16 cbp_table[CBP_LEN][4] = { variable
472 if ((code & cbp_table[i][1]) == cbp_table[i][0]) { in decode_cbp()
473 SKIP_BITS (br, cbp_table[i][2]); in decode_cbp()
474 *cbp = cbp_table[i][3]; in decode_cbp()
/third_party/ffmpeg/libavcodec/
Dh264_mvpred.h592 sl->top_cbp = h->cbp_table[top_xy]; in fill_decode_caches()
597 sl->left_cbp = (h->cbp_table[left_xy[LTOP]] & 0x7F0) | in fill_decode_caches()
598 ((h->cbp_table[left_xy[LTOP]] >> (left_block[0] & (~1))) & 2) | in fill_decode_caches()
599 (((h->cbp_table[left_xy[LBOT]] >> (left_block[2] & (~1))) & 2) << 2); in fill_decode_caches()
Dh264_loopfilter.c515 … bS[0]= 1+((h->cbp_table[mbn_xy] & 0x4000) || sl->non_zero_count_cache[scan8[0]+0]); in filter_mb_dir()
516 … bS[1]= 1+((h->cbp_table[mbn_xy] & 0x4000) || sl->non_zero_count_cache[scan8[0]+1]); in filter_mb_dir()
517 … bS[2]= 1+((h->cbp_table[mbn_xy] & 0x8000) || sl->non_zero_count_cache[scan8[0]+2]); in filter_mb_dir()
518 … bS[3]= 1+((h->cbp_table[mbn_xy] & 0x8000) || sl->non_zero_count_cache[scan8[0]+3]); in filter_mb_dir()
772 … (h->cbp_table[mbn_xy] & (((MB_FIELD(sl) ? (i&2) : (mb_y&1)) ? 8 : 2) << 12)) in ff_h264_filter_mb()
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()
Dmpeg4videodec.c725 s->cbp_table[xy] = cbpc & 3; in mpeg4_decode_partition_a()
798 s->cbp_table[xy] = cbpc & (8 + 3); // 8 is dquant in mpeg4_decode_partition_a()
910 s->cbp_table[xy] |= cbpy << 2; in mpeg4_decode_partition_b()
925 if (s->cbp_table[xy] & 8) in mpeg4_decode_partition_b()
941 s->cbp_table[xy] &= 3; // remove dquant in mpeg4_decode_partition_b()
942 s->cbp_table[xy] |= cbpy << 2; in mpeg4_decode_partition_b()
947 s->cbp_table[xy] = 0; in mpeg4_decode_partition_b()
957 if (s->cbp_table[xy] & 8) in mpeg4_decode_partition_b()
961 s->cbp_table[xy] &= 3; // remove dquant in mpeg4_decode_partition_b()
962 s->cbp_table[xy] |= (cbpy ^ 0xf) << 2; in mpeg4_decode_partition_b()
[all …]
Dh264_cavlc.c1100 h->cbp_table[mb_xy]= cbp; in ff_h264_decode_mb_cavlc()
1139 h->cbp_table[mb_xy] |= ret << 12; in ff_h264_decode_mb_cavlc()
Dh264dec.c144 av_freep(&h->cbp_table); in ff_h264_free_tables()
195 FF_ALLOCZ_OR_GOTO(h->avctx, h->cbp_table, in ff_h264_alloc_tables()
Dh264dec.h419 uint16_t *cbp_table; member
Dvaapi_vc1.c294 .cbp_table = (v->fcm == PROGRESSIVE ? v->cbptab : v->icbptab), in vaapi_vc1_start_frame()
Dh264_slice.c2386 sl->cbp = h->cbp_table[mb_xy]; in fill_filter_caches()
2406 nnz_cache[5 + 8 * 0] = (h->cbp_table[top_xy] & 0x4000) >> 12; in fill_filter_caches()
2408 nnz_cache[7 + 8 * 0] = (h->cbp_table[top_xy] & 0x8000) >> 12; in fill_filter_caches()
2412 … nnz_cache[3 + 8 * 2] = (h->cbp_table[left_xy[LTOP]] & 0x2000) >> 12; // FIXME check MBAFF in fill_filter_caches()
2416 … 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.c780 FF_ALLOCZ_OR_GOTO(s->avctx, s->cbp_table , mb_array_size * sizeof(uint8_t), fail); in init_context_frame()
872 s->cbp_table = NULL; in clear_context()
1036 av_freep(&s->cbp_table); in free_context_frame()