Home
last modified time | relevance | path

Searched refs:dest_cr (Results 1 - 24 of 24) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dh264_mc_template.c41 uint8_t *dest_cr, in mc_part()
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 hl_motion()
85 mc_part(h, sl, 0, 1, 16, 0, dest_y, dest_cb, dest_cr, 0, 0, in hl_motion()
90 mc_part(h, sl, 0, 0, 8, 8 << PIXEL_SHIFT, dest_y, dest_cb, dest_cr, 0, 0, in hl_motion()
94 mc_part(h, sl, 8, 0, 8, 8 << PIXEL_SHIFT, dest_y, dest_cb, dest_cr, 0, 4, in hl_motion()
99 mc_part(h, sl, 0, 0, 16, 8 * sl->mb_linesize, dest_y, dest_cb, dest_cr, 0, 0, in hl_motion()
103 mc_part(h, sl, 4, 0, 16, 8 * sl->mb_linesize, dest_y, dest_cb, dest_cr, 4, 0, in hl_motion()
119 mc_part(h, sl, n, 1, 8, 0, dest_y, dest_cb, dest_cr, in hl_motion()
37 mc_part(const H264Context *h, H264SliceContext *sl, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, const qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, const qpel_mc_func *qpix_avg, h264_chroma_mc_func chroma_avg, const h264_weight_func *weight_op, const h264_biweight_func *weight_avg, int list0, int list1) mc_part() argument
64 hl_motion(const H264Context *h, H264SliceContext *sl, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, const qpel_mc_func(*qpix_put)[16], const h264_chroma_mc_func(*chroma_put), const qpel_mc_func(*qpix_avg)[16], const h264_chroma_mc_func(*chroma_avg), const h264_weight_func *weight_op, const h264_biweight_func *weight_avg) hl_motion() argument
[all...]
H A Dmpegvideo_motion.c38 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, in gmc1_motion()
130 s->mdsp.gmc1(dest_cr, ptr, uvlinesize, 8, in gmc1_motion()
135 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, in gmc_motion()
184 s->mdsp.gmc(dest_cr, ptr, uvlinesize, 8, in gmc_motion()
231 uint8_t *dest_cr, in mpeg_motion_internal()
347 dest_cr += s->uvlinesize; in mpeg_motion_internal()
362 (dest_cr, ptr_cr, uvlinesize, h >> s->chroma_y_shift); in mpeg_motion_internal()
371 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, in mpeg_motion()
378 mpeg_motion_internal(s, dest_y, dest_cb, dest_cr, 0, 0, in mpeg_motion()
383 mpeg_motion_internal(s, dest_y, dest_cb, dest_cr, in mpeg_motion()
37 gmc1_motion(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, uint8_t **ref_picture) gmc1_motion() argument
134 gmc_motion(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, uint8_t **ref_picture) gmc_motion() argument
228 mpeg_motion_internal(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int field_based, int bottom_field, int field_select, uint8_t **ref_picture, op_pixels_func (*pix_op)[4], int motion_x, int motion_y, int h, int is_mpeg12, int is_16x8, int mb_y) mpeg_motion_internal() argument
370 mpeg_motion(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int field_select, uint8_t **ref_picture, op_pixels_func (*pix_op)[4], int motion_x, int motion_y, int h, int is_16x8, int mb_y) mpeg_motion() argument
388 mpeg_motion_field(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int bottom_field, int field_select, uint8_t **ref_picture, op_pixels_func (*pix_op)[4], int motion_x, int motion_y, int h, int mb_y) mpeg_motion_field() argument
487 qpel_motion(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int field_based, int bottom_field, int field_select, uint8_t **ref_picture, op_pixels_func (*pix_op)[4], qpel_mc_func (*qpix_op)[16], int motion_x, int motion_y, int h) qpel_motion() argument
594 chroma_4mv_motion(MpegEncContext *s, uint8_t *dest_cb, uint8_t *dest_cr, uint8_t **ref_picture, op_pixels_func *pix_op, int mx, int my) chroma_4mv_motion() argument
660 apply_obmc(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, uint8_t **ref_picture, op_pixels_func (*pix_op)[4]) apply_obmc() argument
747 apply_8x8(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int dir, uint8_t **ref_picture, qpel_mc_func (*qpix_op)[16], op_pixels_func (*pix_op)[4]) apply_8x8() argument
831 mpv_motion_internal(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int dir, uint8_t **ref_picture, op_pixels_func (*pix_op)[4], qpel_mc_func (*qpix_op)[16], int is_mpeg12) mpv_motion_internal() argument
974 ff_mpv_motion(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int dir, uint8_t **ref_picture, op_pixels_func (*pix_op)[4], qpel_mc_func (*qpix_op)[16]) ff_mpv_motion() argument
[all...]
H A Dh264_mb_template.c47 uint8_t *dest_y, *dest_cb, *dest_cr; in hl_decode_mb() local
58 dest_cr = h->cur_pic.f->data[2] + (mb_x << PIXEL_SHIFT) * 8 + mb_y * sl->uvlinesize * block_h; in hl_decode_mb()
61 h->vdsp.prefetch(dest_cb + (sl->mb_x & 7) * sl->uvlinesize + (64 << PIXEL_SHIFT), dest_cr - dest_cb, 2); in hl_decode_mb()
72 dest_cr -= sl->uvlinesize * (block_h - 1); in hl_decode_mb()
115 uint16_t *tmp_cr = (uint16_t *)(dest_cr + i * uvlinesize); in hl_decode_mb()
127 uint16_t *tmp_cr = (uint16_t *)(dest_cr + i * uvlinesize); in hl_decode_mb()
140 memset(dest_cr + i * uvlinesize, 1 << (bit_depth - 1), 8); in hl_decode_mb()
147 memcpy(dest_cr + i * uvlinesize, src_cr + i * 8, 8); in hl_decode_mb()
155 xchg_mb_border(h, sl, dest_y, dest_cb, dest_cr, linesize, in hl_decode_mb()
160 h->hpc.pred8x8[sl->chroma_pred_mode](dest_cr, uvlinesiz in hl_decode_mb()
[all...]
H A Dmpegvideo.c968 uint8_t *dest_cr, in mpeg_motion_lowres()
1079 dest_cr += s->uvlinesize; in mpeg_motion_lowres()
1098 pix_op[op_index](dest_cr, ptr_cr, uvlinesize, hc, uvsx, uvsy); in mpeg_motion_lowres()
1105 uint8_t *dest_cb, uint8_t *dest_cr, in chroma_4mv_motion_lowres()
1158 pix_op[op_index](dest_cr, ptr, s->uvlinesize, block_s, sx, sy); in chroma_4mv_motion_lowres()
1166 * @param dest_cr chroma cr/v destination pointer
1174 uint8_t *dest_cr, in MPV_motion_lowres()
1188 mpeg_motion_lowres(s, dest_y, dest_cb, dest_cr, in MPV_motion_lowres()
1213 chroma_4mv_motion_lowres(s, dest_cb, dest_cr, ref_picture, in MPV_motion_lowres()
1219 mpeg_motion_lowres(s, dest_y, dest_cb, dest_cr, in MPV_motion_lowres()
965 mpeg_motion_lowres(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int field_based, int bottom_field, int field_select, uint8_t **ref_picture, h264_chroma_mc_func *pix_op, int motion_x, int motion_y, int h, int mb_y) mpeg_motion_lowres() argument
1104 chroma_4mv_motion_lowres(MpegEncContext *s, uint8_t *dest_cb, uint8_t *dest_cr, uint8_t **ref_picture, h264_chroma_mc_func * pix_op, int mx, int my) chroma_4mv_motion_lowres() argument
1172 MPV_motion_lowres(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int dir, uint8_t **ref_picture, h264_chroma_mc_func *pix_op) MPV_motion_lowres() argument
1438 uint8_t *dest_y, *dest_cb, *dest_cr; mpv_reconstruct_mb_internal() local
[all...]
H A Dspeedhq.c294 uint8_t *dest_y, *dest_cb, *dest_cr, *dest_a; in decode_speedhq_border() local
301 dest_cr = frame->data[2] + frame->linesize[2] * (y/2 + field_number) + x / 2; in decode_speedhq_border()
305 dest_cr = frame->data[2] + frame->linesize[2] * (y + field_number) + x / 2; in decode_speedhq_border()
322 if ((ret = decode_dct_block(s, gb, last_dc, 2, dest_cr, linesize_cr)) < 0) in decode_speedhq_border()
328 if ((ret = decode_dct_block(s, gb, last_dc, 2, dest_cr + 8 * linesize_cr, linesize_cr)) < 0) in decode_speedhq_border()
393 uint8_t *dest_y, *dest_cb, *dest_cr, *dest_a; in decode_speedhq_field() local
402 dest_cr = frame->data[2] + frame->linesize[2] * (y/2 + field_number); in decode_speedhq_field()
405 dest_cr = frame->data[2] + frame->linesize[2] * (y + field_number); in decode_speedhq_field()
428 if ((ret = decode_dct_block(s, &gb, last_dc, 2, dest_cr, linesize_cr)) < 0) in decode_speedhq_field()
435 if ((ret = decode_dct_block(s, &gb, last_dc, 2, dest_cr in decode_speedhq_field()
[all...]
H A Dh264_mb.c210 uint8_t *dest_cr, in mc_dir_part()
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()
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_offse in mc_part_std()
205 mc_dir_part(const H264Context *h, H264SliceContext *sl, H264Ref *pic, int n, int square, int height, int delta, int list, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int src_x_offset, int src_y_offset, const qpel_mc_func *qpix_op, h264_chroma_mc_func chroma_op, int pixel_shift, int chroma_idc) mc_dir_part() argument
321 mc_part_std(const H264Context *h, H264SliceContext *sl, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, const qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, const qpel_mc_func *qpix_avg, h264_chroma_mc_func chroma_avg, int list0, int list1, int pixel_shift, int chroma_idc) mc_part_std() argument
369 mc_part_weighted(const H264Context *h, H264SliceContext *sl, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, const qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, h264_weight_func luma_weight_op, h264_weight_func chroma_weight_op, h264_biweight_func luma_weight_avg, h264_biweight_func chroma_weight_avg, int list0, int list1, int pixel_shift, int chroma_idc) mc_part_weighted() argument
[all...]
H A 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()
H A Deatgq.c122 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in tgq_idct_put_mb() local
130 ff_ea_idct_put_c(dest_cr, frame->linesize[2], block[5]); in tgq_idct_put_mb()
149 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in tgq_idct_put_mb_dconly() local
156 tgq_dconly(s, dest_cr, frame->linesize[2], dc[5]); in tgq_idct_put_mb_dconly()
H A Dh263.c112 uint8_t *dest_cr= s->dest[2]; in ff_h263_loop_filter() local
144 s->h263dsp.h263_v_loop_filter(dest_cr, uvlinesize, chroma_qp); in ff_h263_loop_filter()
160 s->h263dsp.h263_h_loop_filter(dest_cr - 8 * uvlinesize, uvlinesize, chroma_qp); in ff_h263_loop_filter()
184 s->h263dsp.h263_h_loop_filter(dest_cr, uvlinesize, chroma_qp); in ff_h263_loop_filter()
H A Dwmv2.c51 uint8_t *dest_cb, uint8_t *dest_cr, in ff_mspel_motion()
135 pix_op[1][dxy](dest_cr, ptr, uvlinesize, h >> 1); in ff_mspel_motion()
50 ff_mspel_motion(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, uint8_t **ref_picture, op_pixels_func (*pix_op)[4], int motion_x, int motion_y, int h) ff_mspel_motion() argument
H A Dwmv2dec.h30 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr);
H A Dwmv2.h41 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr,
H A Deatqi.c104 uint8_t *dest_cr = frame->data[2] + t->mb_y * 8 * frame->linesize[2] + t->mb_x * 8; in tqi_idct_put() local
113 ff_ea_idct_put_c(dest_cr, frame->linesize[2], block[5]); in tqi_idct_put()
H A Dmpeg4videodec.h88 uint8_t *dest_cr, int block_size, int uvlinesize,
H A Derror_resilience.c59 uint8_t *dest_cr, int mb_x, int mb_y) in put_dc()
86 if (dest_cr) in put_dc()
91 dest_cr[x + y * linesize[2]] = dcv / 8; in put_dc()
1233 uint8_t *dest_y, *dest_cb, *dest_cr; in ff_er_frame_end() local
1246 dest_cr = s->cur_pic.f->data[2] + mb_x * 8 + mb_y * 8 * linesize[2]; in ff_er_frame_end()
1268 dcv += dest_cr[x + y * linesize[2]]; in ff_er_frame_end()
1289 uint8_t *dest_y, *dest_cb, *dest_cr; in ff_er_frame_end() local
1302 dest_cr = s->cur_pic.f->data[2] + mb_x * 8 + mb_y * 8 * linesize[2]; in ff_er_frame_end()
1304 dest_cb = dest_cr = NULL; in ff_er_frame_end()
1306 put_dc(s, dest_y, dest_cb, dest_cr, mb_ in ff_er_frame_end()
58 put_dc(ERContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int mb_x, int mb_y) put_dc() argument
[all...]
H A Dmdec.c157 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in idct_put() local
166 a->idsp.idct_put(dest_cr, frame->linesize[2], block[5]); in idct_put()
H A Dcavs.c390 uint8_t *dest_cb, uint8_t *dest_cr, in mc_dir_part()
451 chroma_op(dest_cr, src_cr, h->c_stride, chroma_height, mx & 7, my & 7); in mc_dir_part()
457 uint8_t *dest_cr, in mc_part_std()
470 dest_cr += x_offset + y_offset * h->c_stride; in mc_part_std()
477 dest_y, dest_cb, dest_cr, x_offset, y_offset, in mc_part_std()
487 dest_y, dest_cb, dest_cr, x_offset, y_offset, in mc_part_std()
388 mc_dir_part(AVSContext *h, AVFrame *pic, int chroma_height, int delta, int list, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int src_x_offset, int src_y_offset, qpel_mc_func *qpix_op, h264_chroma_mc_func chroma_op, cavs_vector *mv) mc_dir_part() argument
454 mc_part_std(AVSContext *h, int chroma_height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, qpel_mc_func *qpix_avg, h264_chroma_mc_func chroma_avg, cavs_vector *mv) mc_part_std() argument
H A Dasvdec.c203 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in idct_put() local
212 a->idsp.idct_put(dest_cr, frame->linesize[2], block[5]); in idct_put()
H A Dwmv2dec.c86 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr) in ff_wmv2_add_mb()
99 wmv2_add_block(w, block1[5], dest_cr, s->uvlinesize, 5); in ff_wmv2_add_mb()
85 ff_wmv2_add_mb(MpegEncContext *s, int16_t block1[6][64], uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr) ff_wmv2_add_mb() argument
H A Dsvq3.c669 uint8_t *dest_y, *dest_cb, *dest_cr; in hl_decode_mb() local
680 dest_cr = s->cur_pic->f->data[2] + mb_x * 8 + mb_y * uvlinesize * block_h; in hl_decode_mb()
683 s->vdsp.prefetch(dest_cb + (s->mb_x & 7) * uvlinesize + 64, dest_cr - dest_cb, 2); in hl_decode_mb()
687 s->hpc.pred8x8[s->chroma_pred_mode](dest_cr, uvlinesize); in hl_decode_mb()
695 uint8_t *dest[2] = { dest_cb, dest_cr }; in hl_decode_mb()
H A Dmpegvideo.h588 uint8_t *dest_cr, int dir,
H A Dh264_slice.c2558 uint8_t *dest_y, *dest_cb, *dest_cr; in loop_filter() local
2586 dest_cr = h->cur_pic.f->data[2] + in loop_filter()
2597 dest_cr -= sl->uvlinesize * (block_h - 1); in loop_filter()
2603 backup_mb_border(h, sl, dest_y, dest_cb, dest_cr, linesize, in loop_filter()
2611 ff_h264_filter_mb(h, sl, mb_x, mb_y, dest_y, dest_cb, dest_cr, in loop_filter()
2615 dest_cr, linesize, uvlinesize); in loop_filter()
H A Dmpegvideo_enc.c2161 uint8_t *dest_y, *dest_cb, *dest_cr; in encode_mb_internal() local
2165 dest_cr = s->dest[2]; in encode_mb_internal()
2176 ff_mpv_motion(s, dest_y, dest_cb, dest_cr, 0, in encode_mb_internal()
2183 ff_mpv_motion(s, dest_y, dest_cb, dest_cr, 1, in encode_mb_internal()
2231 s->pdsp.diff_pixels(s->block[5], ptr_cr, dest_cr, wrap_c); in encode_mb_internal()
2236 dest_cr + uv_dct_offset, wrap_c); in encode_mb_internal()
2255 if (s->mecc.sad[1](NULL, ptr_cr, dest_cr, wrap_c, 8) < 20 * s->qscale) in encode_mb_internal()
2263 dest_cr + uv_dct_offset, in encode_mb_internal()
H A Dmpeg4videodec.c75 uint8_t *dest_cr, int block_size, int uvlinesize, in ff_mpeg4_decode_studio()
91 s->idsp.idct_put(dest_cr, dct_linesize, (int16_t*)ctx->block32[5]); in ff_mpeg4_decode_studio()
93 s->idsp.idct_put(dest_cr + dct_offset, dct_linesize, (int16_t*)ctx->block32[7]); in ff_mpeg4_decode_studio()
96 s->idsp.idct_put(dest_cr + act_block_size, dct_linesize, (int16_t*)ctx->block32[9]); in ff_mpeg4_decode_studio()
98 s->idsp.idct_put(dest_cr + act_block_size + dct_offset, dct_linesize, (int16_t*)ctx->block32[11]); in ff_mpeg4_decode_studio()
101 uint16_t *dest_pcm[3] = {(uint16_t*)dest_y, (uint16_t*)dest_cb, (uint16_t*)dest_cr}; in ff_mpeg4_decode_studio()
117 uint16_t *dest_pcm[3] = {(uint16_t*)dest_y, (uint16_t*)dest_cb, (uint16_t*)dest_cr}; in ff_mpeg4_decode_studio()
74 ff_mpeg4_decode_studio(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int block_size, int uvlinesize, int dct_linesize, int dct_offset) ff_mpeg4_decode_studio() argument

Completed in 32 milliseconds