/third_party/ffmpeg/libavcodec/ |
D | mss4.c | 89 int *prev_dc[3]; member 229 c->dc_cache[j][TOP] = c->prev_dc[0][mb_x * 2 + i]; in mss4_decode_dct_block() 235 c->prev_dc[0][mb_x * 2 + i] = c->dc_cache[j][LEFT]; in mss4_decode_dct_block() 245 c->dc_cache[i + 1][TOP] = c->prev_dc[i][mb_x]; in mss4_decode_dct_block() 251 c->prev_dc[i][mb_x] = c->dc_cache[i + 1][LEFT]; in mss4_decode_dct_block() 431 c->dc_cache[0][TOP] = c->prev_dc[0][mb_x * 2 + 1]; in mss4_update_dc_cache() 437 c->prev_dc[0][mb_x * 2 + i] = 0; in mss4_update_dc_cache() 440 c->dc_cache[i + 1][TOP] = c->prev_dc[i][mb_x]; in mss4_update_dc_cache() 442 c->prev_dc[i][mb_x] = 0; in mss4_update_dc_cache() 576 av_freep(&c->prev_dc[i]); in mss4_decode_end() [all …]
|
D | mss3.c | 93 int *prev_dc; member 516 l = bc->prev_dc[blk_pos - 1]; in decode_dct() 517 tl = bc->prev_dc[blk_pos - 1 - bc->prev_dc_stride]; in decode_dct() 518 t = bc->prev_dc[blk_pos - bc->prev_dc_stride]; in decode_dct() 525 dc += bc->prev_dc[blk_pos - bc->prev_dc_stride]; in decode_dct() 528 dc += bc->prev_dc[bx - 1]; in decode_dct() 530 bc->prev_dc[blk_pos] = dc; in decode_dct() 648 memset(ctx->dct_coder[i].prev_dc, 0, in reset_coders() 649 sizeof(*ctx->dct_coder[i].prev_dc) * in reset_coders() 819 av_freep(&c->dct_coder[i].prev_dc); in mss3_decode_end() [all …]
|
D | tscc2.c | 126 int prev_dc, dc, nc, ac, bpos, val; in tscc2_decode_mb() local 146 prev_dc = 0; in tscc2_decode_mb() 156 dc = (dc + prev_dc) & 0xFF; in tscc2_decode_mb() 157 prev_dc = dc; in tscc2_decode_mb()
|
D | ivi.c | 474 static int ivi_dc_transform(const IVIBandDesc *band, int *prev_dc, int buf_offs, in ivi_dc_transform() argument 477 band->dc_transform(prev_dc, band->buf + buf_offs, in ivi_dc_transform() 487 int *prev_dc, int is_intra, in ivi_decode_coded_blocks() argument 562 *prev_dc += trvec[0]; in ivi_decode_coded_blocks() 563 trvec[0] = *prev_dc; in ivi_decode_coded_blocks() 564 col_flags[0] |= !!*prev_dc; in ivi_decode_coded_blocks() 600 int32_t prev_dc; in ivi_decode_blocks() local 608 prev_dc = 0; in ivi_decode_blocks() 701 &prev_dc, is_intra, in ivi_decode_blocks() 716 ret = ivi_dc_transform(band, &prev_dc, buf_offs, blk_size); in ivi_decode_blocks()
|
D | proresenc_kostya.c | 411 int codebook = 3, code, dc, prev_dc, delta, sign, new_sign; in encode_dcs() local 413 prev_dc = (blocks[0] - 0x4000) / scale; in encode_dcs() 414 encode_vlc_codeword(pb, FIRST_DC_CB, MAKE_CODE(prev_dc)); in encode_dcs() 421 delta = dc - prev_dc; in encode_dcs() 429 prev_dc = dc; in encode_dcs() 667 int codebook = 3, code, dc, prev_dc, delta, sign, new_sign; in estimate_dcs() local 670 prev_dc = (blocks[0] - 0x4000) / scale; in estimate_dcs() 671 bits = estimate_vlc(FIRST_DC_CB, MAKE_CODE(prev_dc)); in estimate_dcs() 680 delta = dc - prev_dc; in estimate_dcs() 688 prev_dc = dc; in estimate_dcs()
|
D | vp56.c | 308 dc = s->prev_dc[ff_vp56_b2p[b]][ref_frame]; in vp56_add_predictors_dc() 313 s->prev_dc[ff_vp56_b2p[b]][ref_frame] = s->block_coeff[b][idx]; in vp56_add_predictors_dc() 687 memset(s->prev_dc, 0, sizeof(s->prev_dc)); in ff_vp56_decode_mbs() 688 s->prev_dc[1][VP56_FRAME_CURRENT] = 128; in ff_vp56_decode_mbs() 689 s->prev_dc[2][VP56_FRAME_CURRENT] = 128; in ff_vp56_decode_mbs()
|
D | proresdec2.c | 446 int16_t prev_dc; in decode_dc_coeffs() local 452 prev_dc = TOSIGNED(code); in decode_dc_coeffs() 453 out[0] = prev_dc; in decode_dc_coeffs() 463 prev_dc += (((code + 1) >> 1) ^ sign) - sign; in decode_dc_coeffs() 464 out[0] = prev_dc; in decode_dc_coeffs()
|
D | proresenc_anatoliy.c | 247 int prev_dc, code; in encode_dc_coeffs() local 251 prev_dc = QSCALE(qmat, 0, in[0] - 16384); in encode_dc_coeffs() 252 code = TO_GOLOMB(prev_dc); in encode_dc_coeffs() 258 delta = new_dc - prev_dc; in encode_dc_coeffs() 266 prev_dc = new_dc; in encode_dc_coeffs()
|
D | error_resilience.c | 103 int prev_dc = data[0 + y * stride]; in filter181() local 107 dc = -prev_dc + in filter181() 111 prev_dc = data[x + y * stride]; in filter181() 118 int prev_dc = data[x]; in filter181() local 123 dc = -prev_dc + in filter181() 127 prev_dc = data[x + y * stride]; in filter181()
|
D | g2meet.c | 127 int prev_dc[3]; member 237 dc = dc * qmat[0] + c->prev_dc[plane]; in jpg_decode_block() 239 c->prev_dc[plane] = dc; in jpg_decode_block() 297 c->prev_dc[i] = 1024; in jpg_decode_data()
|
D | vp56.h | 158 int16_t prev_dc[3][3]; /* [plan][ref_frame] */ member
|