Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dh264_mc_template.c41 uint8_t *dest_cr, 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
128 s->mdsp.gmc1(dest_cr, ptr, uvlinesize, 8, in gmc1_motion()
133 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, in gmc_motion() argument
182 s->mdsp.gmc(dest_cr, ptr, uvlinesize, 8, in gmc_motion()
229 uint8_t *dest_cr, in mpeg_motion_internal() argument
345 dest_cr += s->uvlinesize; in mpeg_motion_internal()
360 (dest_cr, ptr_cr, 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
58 dest_cr = h->cur_pic.f->data[2] + (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()
72 dest_cr -= sl->uvlinesize * (block_h - 1); in FUNC()
115 uint16_t *tmp_cr = (uint16_t *)(dest_cr + i * uvlinesize); in FUNC()
127 uint16_t *tmp_cr = (uint16_t *)(dest_cr + i * uvlinesize); in FUNC()
140 memset(dest_cr + i * uvlinesize, 1 << (bit_depth - 1), 8); in FUNC()
147 memcpy(dest_cr + i * uvlinesize, src_cr + i * 8, 8); in FUNC()
155 xchg_mb_border(h, sl, dest_y, dest_cb, dest_cr, linesize, in FUNC()
160 h->hpc.pred8x8[sl->chroma_pred_mode](dest_cr, uvlinesize); in FUNC()
[all …]
Dspeedhq.c292 uint8_t *dest_y, *dest_cb, *dest_cr, *dest_a; in decode_speedhq_border() local
299 dest_cr = frame->data[2] + frame->linesize[2] * (y/2 + field_number) + x / 2; in decode_speedhq_border()
302 dest_cr = frame->data[2] + frame->linesize[2] * (y + field_number) + x / 2; in decode_speedhq_border()
319 if ((ret = decode_dct_block(s, gb, last_dc, 2, dest_cr, linesize_cr)) < 0) in decode_speedhq_border()
325 … if ((ret = decode_dct_block(s, gb, last_dc, 2, dest_cr + 8 * linesize_cr, linesize_cr)) < 0) in decode_speedhq_border()
390 uint8_t *dest_y, *dest_cb, *dest_cr, *dest_a; in decode_speedhq_field() local
399 dest_cr = frame->data[2] + frame->linesize[2] * (y/2 + field_number); in decode_speedhq_field()
402 dest_cr = frame->data[2] + frame->linesize[2] * (y + field_number); in decode_speedhq_field()
425 if ((ret = decode_dct_block(s, &gb, last_dc, 2, dest_cr, linesize_cr)) < 0) in decode_speedhq_field()
432 … if ((ret = decode_dct_block(s, &gb, last_dc, 2, dest_cr + 8 * linesize_cr, linesize_cr)) < 0) in decode_speedhq_field()
[all …]
Dh264_mb.c210 uint8_t *dest_cr, in mc_dir_part() argument
281 qpix_op[luma_xy](dest_cr, src_cr, sl->mb_linesize); // FIXME try variable height perhaps? in mc_dir_part()
283 qpix_op[luma_xy](dest_cr + delta, src_cr + delta, sl->mb_linesize); in mc_dir_part()
317 chroma_op(dest_cr, src_cr, sl->mb_uvlinesize, height >> (chroma_idc == 1 /* yuv420 */), in mc_dir_part()
325 uint8_t *dest_cr, in mc_part_std() argument
340 dest_cr += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std()
343 dest_cr += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_std()
346 dest_cr += (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.c1501 uint8_t *dest_cr, in mpeg_motion_lowres() argument
1612 dest_cr += s->uvlinesize; in mpeg_motion_lowres()
1631 pix_op[op_index](dest_cr, ptr_cr, uvlinesize, hc, uvsx, uvsy); in mpeg_motion_lowres()
1638 uint8_t *dest_cb, uint8_t *dest_cr, in chroma_4mv_motion_lowres() argument
1691 pix_op[op_index](dest_cr, ptr, s->uvlinesize, block_s, sx, sy); in chroma_4mv_motion_lowres()
1707 uint8_t *dest_cr, 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.c84 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr) in ff_wmv2_add_mb() argument
97 wmv2_add_block(w, block1[5], dest_cr, s->uvlinesize, 5); in ff_wmv2_add_mb()
101 uint8_t *dest_cb, uint8_t *dest_cr, in ff_mspel_motion() argument
185 pix_op[1][dxy](dest_cr, ptr, uvlinesize, h >> 1); in ff_mspel_motion()
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,
Dh261.c68 uint8_t *dest_cr = s->dest[2]; in ff_h261_loop_filter() local
78 h261_loop_filter(dest_cr, uvlinesize); in ff_h261_loop_filter()
Deatgq.c116 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in tgq_idct_put_mb() local
124 ff_ea_idct_put_c(dest_cr, frame->linesize[2], block[5]); in tgq_idct_put_mb()
143 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in tgq_idct_put_mb_dconly() local
150 tgq_dconly(s, dest_cr, frame->linesize[2], dc[5]); in tgq_idct_put_mb_dconly()
Dh263.c154 uint8_t *dest_cr= s->dest[2]; in ff_h263_loop_filter() local
186 s->h263dsp.h263_v_loop_filter(dest_cr, uvlinesize, chroma_qp); in ff_h263_loop_filter()
202 s->h263dsp.h263_h_loop_filter(dest_cr - 8 * uvlinesize, uvlinesize, chroma_qp); in ff_h263_loop_filter()
226 s->h263dsp.h263_h_loop_filter(dest_cr, uvlinesize, chroma_qp); in ff_h263_loop_filter()
Deatqi.c102 uint8_t *dest_cr = frame->data[2] + t->mb_y * 8 * frame->linesize[2] + t->mb_x * 8; in tqi_idct_put() local
111 ff_ea_idct_put_c(dest_cr, frame->linesize[2], block[5]); in tqi_idct_put()
Derror_resilience.c60 uint8_t *dest_cr, int mb_x, int mb_y) in put_dc() argument
87 if (dest_cr) in put_dc()
92 dest_cr[x + y * linesize[2]] = dcv / 8; in put_dc()
1243 uint8_t *dest_y, *dest_cb, *dest_cr; in ff_er_frame_end() local
1256 dest_cr = s->cur_pic.f->data[2] + mb_x * 8 + mb_y * 8 * linesize[2]; in ff_er_frame_end()
1278 dcv += dest_cr[x + y * linesize[2]]; in ff_er_frame_end()
1299 uint8_t *dest_y, *dest_cb, *dest_cr; in ff_er_frame_end() local
1312 dest_cr = s->cur_pic.f->data[2] + mb_x * 8 + mb_y * 8 * linesize[2]; 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()
Dmdec.c156 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in idct_put() local
165 a->idsp.idct_put(dest_cr, frame->linesize[2], block[5]); in idct_put()
Dcavs.c394 uint8_t *dest_cb, uint8_t *dest_cr, in mc_dir_part() argument
455 chroma_op(dest_cr, src_cr, h->c_stride, chroma_height, mx & 7, my & 7); in mc_dir_part()
461 uint8_t *dest_cr, in mc_part_std() argument
474 dest_cr += 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()
Dasvdec.c201 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in idct_put() local
210 a->idsp.idct_put(dest_cr, frame->linesize[2], block[5]); in idct_put()
Dsvq3.c674 uint8_t *dest_y, *dest_cb, *dest_cr; in hl_decode_mb() local
685 dest_cr = s->cur_pic->f->data[2] + 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()
692 s->hpc.pred8x8[s->chroma_pred_mode](dest_cr, 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
2490 dest_cr = h->cur_pic.f->data[2] + in loop_filter()
2501 dest_cr -= 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()
2519 dest_cr, linesize, uvlinesize); in loop_filter()
Dmpegvideo_enc.c2370 uint8_t *dest_y, *dest_cb, *dest_cr; in encode_mb_internal() local
2374 dest_cr = s->dest[2]; 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()
2440 s->pdsp.diff_pixels(s->block[5], ptr_cr, dest_cr, wrap_c); in encode_mb_internal()
2445 dest_cr + uv_dct_offset, wrap_c); in encode_mb_internal()
2464 if (s->mecc.sad[1](NULL, ptr_cr, dest_cr, wrap_c, 8) < 20 * s->qscale) in encode_mb_internal()
2472 dest_cr + uv_dct_offset, in encode_mb_internal()
Dmpegvideo.h745 uint8_t *dest_cr, int dir,