Home
last modified time | relevance | path

Searched refs:dest_cb (Results 1 – 20 of 20) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_mc_template.c40 uint8_t *dest_y, uint8_t *dest_cb, in mc_part() argument
54 mc_part_weighted(h, sl, n, square, height, delta, dest_y, dest_cb, dest_cr, in mc_part()
59 mc_part_std(h, sl, n, square, height, delta, dest_y, dest_cb, dest_cr, in mc_part()
66 uint8_t *dest_cb, uint8_t *dest_cr, in MCFUNC()
85 mc_part(h, sl, 0, 1, 16, 0, dest_y, dest_cb, dest_cr, 0, 0, in MCFUNC()
90 mc_part(h, sl, 0, 0, 8, 8 << PIXEL_SHIFT, dest_y, dest_cb, dest_cr, 0, 0, in MCFUNC()
94 mc_part(h, sl, 8, 0, 8, 8 << PIXEL_SHIFT, dest_y, dest_cb, dest_cr, 0, 4, in MCFUNC()
99 mc_part(h, sl, 0, 0, 16, 8 * sl->mb_linesize, dest_y, dest_cb, dest_cr, 0, 0, in MCFUNC()
103 mc_part(h, sl, 4, 0, 16, 8 * sl->mb_linesize, dest_y, dest_cb, dest_cr, 4, 0, in MCFUNC()
119 mc_part(h, sl, n, 1, 8, 0, dest_y, dest_cb, dest_cr, in MCFUNC()
[all …]
Dmpegvideo_motion.c36 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, in gmc1_motion() argument
116 s->mdsp.gmc1(dest_cb, ptr, uvlinesize, 8, in gmc1_motion()
133 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, in gmc_motion() argument
174 s->mdsp.gmc(dest_cb, ptr, uvlinesize, 8, in gmc_motion()
228 uint8_t *dest_cb, in mpeg_motion_internal() argument
344 dest_cb += s->uvlinesize; in mpeg_motion_internal()
358 (dest_cb, ptr_cb, uvlinesize, h >> s->chroma_y_shift); in mpeg_motion_internal()
369 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, in mpeg_motion() argument
376 mpeg_motion_internal(s, dest_y, dest_cb, dest_cr, 0, 0, in mpeg_motion()
381 mpeg_motion_internal(s, dest_y, dest_cb, dest_cr, 0, 0, in mpeg_motion()
[all …]
Dh264_mb_template.c47 uint8_t *dest_y, *dest_cb, *dest_cr; in FUNC() local
57 dest_cb = h->cur_pic.f->data[1] + (mb_x << PIXEL_SHIFT) * 8 + mb_y * sl->uvlinesize * block_h; in FUNC()
61 …h->vdsp.prefetch(dest_cb + (sl->mb_x & 7) * sl->uvlinesize + (64 << PIXEL_SHIFT), dest_cr - de… in FUNC()
71 dest_cb -= sl->uvlinesize * (block_h - 1); in FUNC()
114 uint16_t *tmp_cb = (uint16_t *)(dest_cb + i * uvlinesize); in FUNC()
122 uint16_t *tmp_cb = (uint16_t *)(dest_cb + i * uvlinesize); in FUNC()
139 memset(dest_cb + i * uvlinesize, 1 << (bit_depth - 1), 8); in FUNC()
146 memcpy(dest_cb + i * uvlinesize, src_cb + i * 8, 8); in FUNC()
155 xchg_mb_border(h, sl, dest_y, dest_cb, dest_cr, linesize, in FUNC()
159 h->hpc.pred8x8[sl->chroma_pred_mode](dest_cb, uvlinesize); in FUNC()
[all …]
Dspeedhq.c292 uint8_t *dest_y, *dest_cb, *dest_cr, *dest_a; in decode_speedhq_border() local
298 dest_cb = frame->data[1] + frame->linesize[1] * (y/2 + field_number) + x / 2; in decode_speedhq_border()
301 dest_cb = frame->data[1] + frame->linesize[1] * (y + field_number) + x / 2; in decode_speedhq_border()
317 if ((ret = decode_dct_block(s, gb, last_dc, 1, dest_cb, linesize_cb)) < 0) in decode_speedhq_border()
323 … if ((ret = decode_dct_block(s, gb, last_dc, 1, dest_cb + 8 * linesize_cb, linesize_cb)) < 0) in decode_speedhq_border()
390 uint8_t *dest_y, *dest_cb, *dest_cr, *dest_a; in decode_speedhq_field() local
398 dest_cb = frame->data[1] + frame->linesize[1] * (y/2 + field_number); in decode_speedhq_field()
401 dest_cb = frame->data[1] + frame->linesize[1] * (y + field_number); in decode_speedhq_field()
423 if ((ret = decode_dct_block(s, &gb, last_dc, 1, dest_cb, linesize_cb)) < 0) in decode_speedhq_field()
430 … if ((ret = decode_dct_block(s, &gb, last_dc, 1, dest_cb + 8 * linesize_cb, linesize_cb)) < 0) in decode_speedhq_field()
[all …]
Dh264_mb.c209 uint8_t *dest_y, uint8_t *dest_cb, in mc_dir_part() argument
267 qpix_op[luma_xy](dest_cb, src_cb, sl->mb_linesize); // FIXME try variable height perhaps? in mc_dir_part()
269 qpix_op[luma_xy](dest_cb + delta, src_cb + delta, sl->mb_linesize); in mc_dir_part()
306 chroma_op(dest_cb, src_cb, sl->mb_uvlinesize, in mc_dir_part()
324 uint8_t *dest_y, uint8_t *dest_cb, in mc_part_std() argument
339 dest_cb += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std()
342 dest_cb += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_std()
345 dest_cb += (x_offset << pixel_shift) + y_offset * sl->mb_uvlinesize; in mc_part_std()
354 dest_y, dest_cb, dest_cr, x_offset, y_offset, in mc_part_std()
364 dest_y, dest_cb, dest_cr, x_offset, y_offset, in mc_part_std()
[all …]
Dmpegvideo.c1500 uint8_t *dest_cb, in mpeg_motion_lowres() argument
1611 dest_cb += s->uvlinesize; in mpeg_motion_lowres()
1630 pix_op[op_index](dest_cb, ptr_cb, uvlinesize, hc, uvsx, uvsy); in mpeg_motion_lowres()
1638 uint8_t *dest_cb, uint8_t *dest_cr, in chroma_4mv_motion_lowres() argument
1681 pix_op[op_index](dest_cb, ptr, s->uvlinesize, block_s, sx, sy); in chroma_4mv_motion_lowres()
1706 uint8_t *dest_y, uint8_t *dest_cb, in MPV_motion_lowres() argument
1721 mpeg_motion_lowres(s, dest_y, dest_cb, dest_cr, in MPV_motion_lowres()
1746 chroma_4mv_motion_lowres(s, dest_cb, dest_cr, ref_picture, in MPV_motion_lowres()
1752 mpeg_motion_lowres(s, dest_y, dest_cb, dest_cr, in MPV_motion_lowres()
1758 mpeg_motion_lowres(s, dest_y, dest_cb, dest_cr, in MPV_motion_lowres()
[all …]
Dwmv2.h68 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr);
71 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr,
Dwmv2.c84 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr) in ff_wmv2_add_mb() argument
96 wmv2_add_block(w, block1[4], dest_cb, s->uvlinesize, 4); in ff_wmv2_add_mb()
101 uint8_t *dest_cb, uint8_t *dest_cr, in ff_mspel_motion() argument
174 pix_op[1][dxy](dest_cb, ptr, uvlinesize, h >> 1); in ff_mspel_motion()
Dh261.c67 uint8_t *dest_cb = s->dest[1]; in ff_h261_loop_filter() local
77 h261_loop_filter(dest_cb, uvlinesize); in ff_h261_loop_filter()
Deatgq.c115 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in tgq_idct_put_mb() local
123 ff_ea_idct_put_c(dest_cb, frame->linesize[1], block[4]); in tgq_idct_put_mb()
142 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in tgq_idct_put_mb_dconly() local
149 tgq_dconly(s, dest_cb, frame->linesize[1], dc[4]); in tgq_idct_put_mb_dconly()
Dh263.c153 uint8_t *dest_cb= s->dest[1]; in ff_h263_loop_filter() local
185 s->h263dsp.h263_v_loop_filter(dest_cb, uvlinesize, chroma_qp); in ff_h263_loop_filter()
201 s->h263dsp.h263_h_loop_filter(dest_cb - 8 * uvlinesize, uvlinesize, chroma_qp); in ff_h263_loop_filter()
225 s->h263dsp.h263_h_loop_filter(dest_cb, uvlinesize, chroma_qp); in ff_h263_loop_filter()
Deatqi.c101 uint8_t *dest_cb = frame->data[1] + t->mb_y * 8 * frame->linesize[1] + t->mb_x * 8; in tqi_idct_put() local
110 ff_ea_idct_put_c(dest_cb, frame->linesize[1], block[4]); in tqi_idct_put()
Dmdec.c155 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in idct_put() local
164 a->idsp.idct_put(dest_cb, frame->linesize[1], block[4]); in idct_put()
Dcavs.c394 uint8_t *dest_cb, uint8_t *dest_cr, in mc_dir_part() argument
445 chroma_op(dest_cb, src_cb, h->c_stride, chroma_height, mx & 7, my & 7); in mc_dir_part()
460 uint8_t *dest_cb, in mc_part_std() argument
473 dest_cb += x_offset + y_offset * h->c_stride; in mc_part_std()
481 dest_y, dest_cb, dest_cr, x_offset, y_offset, in mc_part_std()
491 dest_y, dest_cb, dest_cr, x_offset, y_offset, in mc_part_std()
Derror_resilience.c59 static void put_dc(ERContext *s, uint8_t *dest_y, uint8_t *dest_cb, in put_dc() argument
91 dest_cb[x + y * linesize[1]] = dcu / 8; in put_dc()
1243 uint8_t *dest_y, *dest_cb, *dest_cr; in ff_er_frame_end() local
1255 dest_cb = s->cur_pic.f->data[1] + mb_x * 8 + mb_y * 8 * linesize[1]; in ff_er_frame_end()
1277 dcu += dest_cb[x + y * linesize[1]]; in ff_er_frame_end()
1299 uint8_t *dest_y, *dest_cb, *dest_cr; in ff_er_frame_end() local
1311 dest_cb = s->cur_pic.f->data[1] + mb_x * 8 + mb_y * 8 * linesize[1]; in ff_er_frame_end()
1314 dest_cb = dest_cr = NULL; in ff_er_frame_end()
1316 put_dc(s, dest_y, dest_cb, dest_cr, mb_x, mb_y); in ff_er_frame_end()
Dasvdec.c200 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in idct_put() local
209 a->idsp.idct_put(dest_cb, frame->linesize[1], block[4]); in idct_put()
Dsvq3.c674 uint8_t *dest_y, *dest_cb, *dest_cr; in hl_decode_mb() local
684 dest_cb = s->cur_pic->f->data[1] + mb_x * 8 + mb_y * uvlinesize * block_h; in hl_decode_mb()
688 s->vdsp.prefetch(dest_cb + (s->mb_x & 7) * uvlinesize + 64, dest_cr - dest_cb, 2); in hl_decode_mb()
691 s->hpc.pred8x8[s->chroma_pred_mode](dest_cb, uvlinesize); in hl_decode_mb()
700 uint8_t *dest[2] = { dest_cb, dest_cr }; in hl_decode_mb()
Dh264_slice.c2462 uint8_t *dest_y, *dest_cb, *dest_cr; in loop_filter() local
2487 dest_cb = h->cur_pic.f->data[1] + in loop_filter()
2500 dest_cb -= sl->uvlinesize * (block_h - 1); in loop_filter()
2507 backup_mb_border(h, sl, dest_y, dest_cb, dest_cr, linesize, in loop_filter()
2515 ff_h264_filter_mb(h, sl, mb_x, mb_y, dest_y, dest_cb, dest_cr, in loop_filter()
2518 ff_h264_filter_mb_fast(h, sl, mb_x, mb_y, dest_y, dest_cb, in loop_filter()
Dmpegvideo_enc.c2370 uint8_t *dest_y, *dest_cb, *dest_cr; in encode_mb_internal() local
2373 dest_cb = s->dest[1]; in encode_mb_internal()
2385 ff_mpv_motion(s, dest_y, dest_cb, dest_cr, 0, in encode_mb_internal()
2392 ff_mpv_motion(s, dest_y, dest_cb, dest_cr, 1, in encode_mb_internal()
2439 s->pdsp.diff_pixels(s->block[4], ptr_cb, dest_cb, wrap_c); in encode_mb_internal()
2443 dest_cb + uv_dct_offset, wrap_c); in encode_mb_internal()
2462 if (s->mecc.sad[1](NULL, ptr_cb, dest_cb, wrap_c, 8) < 20 * s->qscale) in encode_mb_internal()
2468 dest_cb + uv_dct_offset, in encode_mb_internal()
Dmpegvideo.h744 uint8_t *dest_y, uint8_t *dest_cb,