/third_party/ffmpeg/libavcodec/ |
H A D | h263enc.h | 81 int cbpc = (-1), cbpy = (-1); in get_p_cbp() local 105 cbpy = i; in get_p_cbp() 108 cbp = cbpc + 4 * cbpy; in get_p_cbp()
|
H A D | ituh263enc.c | 498 int cbpc, cbpy, i, cbp, pred_x, pred_y; in ff_h263_encode_mb() local 522 cbpy = cbp >> 2; in ff_h263_encode_mb() 524 cbpy ^= 0xF; in ff_h263_encode_mb() 531 put_bits(&s->pb, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); in ff_h263_encode_mb() 557 put_bits(&s->pb, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); in ff_h263_encode_mb() 661 cbpy = cbp >> 2; in ff_h263_encode_mb() 662 put_bits(&s->pb, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][ in ff_h263_encode_mb() [all...] |
H A D | ituh263dec.c | 789 int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; in ff_h263_decode_mb() local 826 cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in ff_h263_decode_mb() 828 if (cbpy < 0) { in ff_h263_decode_mb() 829 av_log(s->avctx, AV_LOG_ERROR, "cbpy damaged at %d %d\n", s->mb_x, s->mb_y); in ff_h263_decode_mb() 834 cbpy ^= 0xF; in ff_h263_decode_mb() 836 cbp = (cbpc & 3) | (cbpy << 2); in ff_h263_decode_mb() 925 cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in ff_h263_decode_mb() 927 if (cbpy < 0){ in ff_h263_decode_mb() 928 av_log(s->avctx, AV_LOG_ERROR, "b cbpy damaged at %d %d\n", s->mb_x, s->mb_y); in ff_h263_decode_mb() 933 cbpy in ff_h263_decode_mb() [all...] |
H A D | mpeg4videoenc.c | 486 int cbpc, cbpy, pred_x, pred_y; in ff_mpeg4_encode_mb() local 701 cbpy = cbp >> 2; in ff_mpeg4_encode_mb() 702 cbpy ^= 0xf; in ff_mpeg4_encode_mb() 710 put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); in ff_mpeg4_encode_mb() 737 put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); in ff_mpeg4_encode_mb() 769 put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); in ff_mpeg4_encode_mb() 836 cbpy in ff_mpeg4_encode_mb() [all...] |
H A D | mpeg4videodec.c | 972 int cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in mpeg4_decode_partition_b() local 973 if (cbpy < 0) { in mpeg4_decode_partition_b() 975 "cbpy corrupted at %d %d\n", s->mb_x, s->mb_y); in mpeg4_decode_partition_b() 979 s->cbp_table[xy] |= cbpy << 2; in mpeg4_decode_partition_b() 986 int cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in mpeg4_decode_partition_b() local 988 if (cbpy < 0) { in mpeg4_decode_partition_b() 990 "I cbpy corrupted at %d %d\n", s->mb_x, s->mb_y); in mpeg4_decode_partition_b() 1011 s->cbp_table[xy] |= cbpy << 2; in mpeg4_decode_partition_b() 1018 int cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in mpeg4_decode_partition_b() local 1020 if (cbpy < in mpeg4_decode_partition_b() 1474 int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; mpeg4_decode_mb() local [all...] |
H A D | msmpeg4dec.c | 155 int mx, my, cbpy; in msmpeg4v12_decode_mb() local 157 cbpy= get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1); in msmpeg4v12_decode_mb() 158 if(cbpy<0){ in msmpeg4v12_decode_mb() 159 av_log(s->avctx, AV_LOG_ERROR, "cbpy %d invalid at %d %d\n", cbp, s->mb_x, s->mb_y); in msmpeg4v12_decode_mb() 163 cbp|= cbpy<<2; in msmpeg4v12_decode_mb() 181 av_log(s->avctx, AV_LOG_ERROR, "cbpy vlc invalid\n"); in msmpeg4v12_decode_mb() 189 av_log(s->avctx, AV_LOG_ERROR, "cbpy vlc invalid\n"); in msmpeg4v12_decode_mb()
|