Home
last modified time | relevance | path

Searched refs:prev_dc (Results 1 - 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dmss4.c91 int *prev_dc[3]; member
231 c->dc_cache[j][TOP] = c->prev_dc[0][mb_x * 2 + i]; in mss4_decode_dct_block()
237 c->prev_dc[0][mb_x * 2 + i] = c->dc_cache[j][LEFT]; in mss4_decode_dct_block()
247 c->dc_cache[i + 1][TOP] = c->prev_dc[i][mb_x]; in mss4_decode_dct_block()
253 c->prev_dc[i][mb_x] = c->dc_cache[i + 1][LEFT]; in mss4_decode_dct_block()
433 c->dc_cache[0][TOP] = c->prev_dc[0][mb_x * 2 + 1]; in mss4_update_dc_cache()
439 c->prev_dc[0][mb_x * 2 + i] = 0; in mss4_update_dc_cache()
442 c->dc_cache[i + 1][TOP] = c->prev_dc[i][mb_x]; in mss4_update_dc_cache()
444 c->prev_dc[i][mb_x] = 0; in mss4_update_dc_cache()
581 av_freep(&c->prev_dc[ in mss4_decode_end()
[all...]
H A Dmss3.c94 int *prev_dc; member
517 l = bc->prev_dc[blk_pos - 1]; in decode_dct()
518 tl = bc->prev_dc[blk_pos - 1 - bc->prev_dc_stride]; in decode_dct()
519 t = bc->prev_dc[blk_pos - bc->prev_dc_stride]; in decode_dct()
526 dc += bc->prev_dc[blk_pos - bc->prev_dc_stride]; in decode_dct()
529 dc += bc->prev_dc[bx - 1]; in decode_dct()
531 bc->prev_dc[blk_pos] = dc; in decode_dct()
649 memset(ctx->dct_coder[i].prev_dc, 0, in reset_coders()
650 sizeof(*ctx->dct_coder[i].prev_dc) * in reset_coders()
820 av_freep(&c->dct_coder[i].prev_dc); in mss3_decode_end()
[all...]
H A Divi.c476 static int ivi_dc_transform(const IVIBandDesc *band, int *prev_dc, int buf_offs, in ivi_dc_transform() argument
479 band->dc_transform(prev_dc, band->buf + buf_offs, in ivi_dc_transform()
489 int *prev_dc, int is_intra, in ivi_decode_coded_blocks()
564 *prev_dc += trvec[0]; in ivi_decode_coded_blocks()
565 trvec[0] = *prev_dc; in ivi_decode_coded_blocks()
566 col_flags[0] |= !!*prev_dc; in ivi_decode_coded_blocks()
602 int32_t prev_dc; in ivi_decode_blocks() local
610 prev_dc = 0; in ivi_decode_blocks()
703 &prev_dc, is_intra, in ivi_decode_blocks()
718 ret = ivi_dc_transform(band, &prev_dc, buf_off in ivi_decode_blocks()
485 ivi_decode_coded_blocks(GetBitContext *gb, const IVIBandDesc *band, ivi_mc_func mc, ivi_mc_avg_func mc_avg, int mv_x, int mv_y, int mv_x2, int mv_y2, int *prev_dc, int is_intra, int mc_type, int mc_type2, uint32_t quant, int offs, AVCodecContext *avctx) ivi_decode_coded_blocks() argument
[all...]
H A Dtscc2.c127 int prev_dc, dc, nc, ac, bpos, val; in tscc2_decode_mb() local
147 prev_dc = 0; in tscc2_decode_mb()
157 dc = (dc + prev_dc) & 0xFF; in tscc2_decode_mb()
158 prev_dc = dc; in tscc2_decode_mb()
H A Dproresdec2.c472 int16_t prev_dc; in decode_dc_coeffs() local
478 prev_dc = TOSIGNED(code); in decode_dc_coeffs()
479 out[0] = prev_dc; in decode_dc_coeffs()
489 prev_dc += (((code + 1) >> 1) ^ sign) - sign; in decode_dc_coeffs()
490 out[0] = prev_dc; in decode_dc_coeffs()
H A Dproresenc_kostya.c412 int codebook = 3, code, dc, prev_dc, delta, sign, new_sign; in encode_dcs() local
414 prev_dc = (blocks[0] - 0x4000) / scale; in encode_dcs()
415 encode_vlc_codeword(pb, FIRST_DC_CB, MAKE_CODE(prev_dc)); in encode_dcs()
422 delta = dc - prev_dc; in encode_dcs()
430 prev_dc = dc; in encode_dcs()
653 int codebook = 3, code, dc, prev_dc, delta, sign, new_sign; in estimate_dcs() local
656 prev_dc = (blocks[0] - 0x4000) / scale; in estimate_dcs()
657 bits = estimate_vlc(FIRST_DC_CB, MAKE_CODE(prev_dc)); in estimate_dcs()
666 delta = dc - prev_dc; in estimate_dcs()
674 prev_dc in estimate_dcs()
[all...]
H A Dvp56.c308 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()
H A Dproresenc_anatoliy.c249 int prev_dc, code; in encode_dc_coeffs() local
253 prev_dc = QSCALE(qmat, 0, in[0] - 16384); in encode_dc_coeffs()
254 code = TO_GOLOMB(prev_dc); in encode_dc_coeffs()
260 delta = new_dc - prev_dc; in encode_dc_coeffs()
268 prev_dc = new_dc; in encode_dc_coeffs()
H A Derror_resilience.c102 int prev_dc = data[0 + y * stride]; in filter181() local
106 dc = -prev_dc + in filter181()
110 prev_dc = data[x + y * stride]; in filter181()
117 int prev_dc = data[x]; in filter181() local
122 dc = -prev_dc + in filter181()
126 prev_dc = data[x + y * stride]; in filter181()
H A Dvp56.h158 int16_t prev_dc[3][3]; /* [plan][ref_frame] */ member
H A Dg2meet.c128 int prev_dc[3]; member
239 dc = dc * qmat[0] + c->prev_dc[plane]; in jpg_decode_block()
241 c->prev_dc[plane] = dc; in jpg_decode_block()
299 c->prev_dc[i] = 1024; in jpg_decode_data()

Completed in 16 milliseconds