/third_party/ffmpeg/libavcodec/ |
H A D | h264_mc_template.c | 40 uint8_t *dest_y, uint8_t *dest_cb, 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_c 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 D | mpegvideo_motion.c | 38 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, in gmc1_motion() 118 s->mdsp.gmc1(dest_cb, ptr, uvlinesize, 8, in gmc1_motion() 135 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, in gmc_motion() 176 s->mdsp.gmc(dest_cb, ptr, uvlinesize, 8, in gmc_motion() 230 uint8_t *dest_cb, in mpeg_motion_internal() 346 dest_cb += s->uvlinesize; in mpeg_motion_internal() 360 (dest_cb, ptr_cb, 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_c 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 D | h264_mb_template.c | 47 uint8_t *dest_y, *dest_cb, *dest_cr; in hl_decode_mb() local 57 dest_cb = h->cur_pic.f->data[1] + (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() 71 dest_cb -= sl->uvlinesize * (block_h - 1); in hl_decode_mb() 114 uint16_t *tmp_cb = (uint16_t *)(dest_cb + i * uvlinesize); in hl_decode_mb() 122 uint16_t *tmp_cb = (uint16_t *)(dest_cb + i * uvlinesize); in hl_decode_mb() 139 memset(dest_cb + i * uvlinesize, 1 << (bit_depth - 1), 8); in hl_decode_mb() 146 memcpy(dest_cb + i * uvlinesize, src_cb + i * 8, 8); in hl_decode_mb() 155 xchg_mb_border(h, sl, dest_y, dest_cb, dest_c in hl_decode_mb() [all...] |
H A D | mpegvideo.c | 967 uint8_t *dest_cb, in mpeg_motion_lowres() 1078 dest_cb += s->uvlinesize; in mpeg_motion_lowres() 1097 pix_op[op_index](dest_cb, ptr_cb, uvlinesize, hc, uvsx, uvsy); in mpeg_motion_lowres() 1105 uint8_t *dest_cb, uint8_t *dest_cr, in chroma_4mv_motion_lowres() 1148 pix_op[op_index](dest_cb, ptr, s->uvlinesize, block_s, sx, sy); in chroma_4mv_motion_lowres() 1165 * @param dest_cb chroma cb/u destination pointer 1173 uint8_t *dest_y, uint8_t *dest_cb, 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_c 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 D | speedhq.c | 294 uint8_t *dest_y, *dest_cb, *dest_cr, *dest_a; in decode_speedhq_border() local 300 dest_cb = frame->data[1] + frame->linesize[1] * (y/2 + field_number) + x / 2; in decode_speedhq_border() 304 dest_cb = frame->data[1] + frame->linesize[1] * (y + field_number) + x / 2; in decode_speedhq_border() 320 if ((ret = decode_dct_block(s, gb, last_dc, 1, dest_cb, linesize_cb)) < 0) in decode_speedhq_border() 326 if ((ret = decode_dct_block(s, gb, last_dc, 1, dest_cb + 8 * linesize_cb, linesize_cb)) < 0) in decode_speedhq_border() 393 uint8_t *dest_y, *dest_cb, *dest_cr, *dest_a; in decode_speedhq_field() local 401 dest_cb = frame->data[1] + frame->linesize[1] * (y/2 + field_number); in decode_speedhq_field() 404 dest_cb = frame->data[1] + frame->linesize[1] * (y + field_number); in decode_speedhq_field() 426 if ((ret = decode_dct_block(s, &gb, last_dc, 1, dest_cb, linesize_cb)) < 0) in decode_speedhq_field() 433 if ((ret = decode_dct_block(s, &gb, last_dc, 1, dest_cb in decode_speedhq_field() [all...] |
H A D | h264_mb.c | 209 uint8_t *dest_y, uint8_t *dest_cb, in mc_dir_part() 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() 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_c 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 D | h261.c | 67 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()
|
H A D | eatgq.c | 121 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in tgq_idct_put_mb() local 129 ff_ea_idct_put_c(dest_cb, frame->linesize[1], block[4]); in tgq_idct_put_mb() 148 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in tgq_idct_put_mb_dconly() local 155 tgq_dconly(s, dest_cb, frame->linesize[1], dc[4]); in tgq_idct_put_mb_dconly()
|
H A D | h263.c | 111 uint8_t *dest_cb= s->dest[1]; in ff_h263_loop_filter() local 143 s->h263dsp.h263_v_loop_filter(dest_cb, uvlinesize, chroma_qp); in ff_h263_loop_filter() 159 s->h263dsp.h263_h_loop_filter(dest_cb - 8 * uvlinesize, uvlinesize, chroma_qp); in ff_h263_loop_filter() 183 s->h263dsp.h263_h_loop_filter(dest_cb, uvlinesize, chroma_qp); in ff_h263_loop_filter()
|
H A D | wmv2.c | 51 uint8_t *dest_cb, uint8_t *dest_cr, in ff_mspel_motion() 124 pix_op[1][dxy](dest_cb, 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 D | wmv2dec.h | 30 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr);
|
H A D | wmv2.h | 41 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr,
|
H A D | eatqi.c | 103 uint8_t *dest_cb = frame->data[1] + t->mb_y * 8 * frame->linesize[1] + t->mb_x * 8; in tqi_idct_put() local 112 ff_ea_idct_put_c(dest_cb, frame->linesize[1], block[4]); in tqi_idct_put()
|
H A D | mpeg4videodec.h | 87 void ff_mpeg4_decode_studio(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb,
|
H A D | mdec.c | 156 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in idct_put() local 165 a->idsp.idct_put(dest_cb, frame->linesize[1], block[4]); in idct_put()
|
H A D | cavs.c | 390 uint8_t *dest_cb, uint8_t *dest_cr, in mc_dir_part() 441 chroma_op(dest_cb, src_cb, h->c_stride, chroma_height, mx & 7, my & 7); in mc_dir_part() 456 uint8_t *dest_cb, in mc_part_std() 469 dest_cb += 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 D | error_resilience.c | 58 static void put_dc(ERContext *s, uint8_t *dest_y, uint8_t *dest_cb, in put_dc() argument 90 dest_cb[x + y * linesize[1]] = dcu / 8; in put_dc() 1233 uint8_t *dest_y, *dest_cb, *dest_cr; in ff_er_frame_end() local 1245 dest_cb = s->cur_pic.f->data[1] + mb_x * 8 + mb_y * 8 * linesize[1]; in ff_er_frame_end() 1267 dcu += dest_cb[x + y * linesize[1]]; in ff_er_frame_end() 1289 uint8_t *dest_y, *dest_cb, *dest_cr; in ff_er_frame_end() local 1301 dest_cb = s->cur_pic.f->data[1] + mb_x * 8 + mb_y * 8 * linesize[1]; 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_x, mb_y); in ff_er_frame_end()
|
H A D | asvdec.c | 202 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in idct_put() local 211 a->idsp.idct_put(dest_cb, frame->linesize[1], block[4]); in idct_put()
|
H A D | svq3.c | 669 uint8_t *dest_y, *dest_cb, *dest_cr; in hl_decode_mb() local 679 dest_cb = s->cur_pic->f->data[1] + 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() 686 s->hpc.pred8x8[s->chroma_pred_mode](dest_cb, uvlinesize); in hl_decode_mb() 695 uint8_t *dest[2] = { dest_cb, dest_cr }; in hl_decode_mb()
|
H A D | wmv2dec.c | 86 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr) in ff_wmv2_add_mb() 98 wmv2_add_block(w, block1[4], dest_cb, s->uvlinesize, 4); 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 D | mpegvideo.h | 587 uint8_t *dest_y, uint8_t *dest_cb,
|
H A D | h264_slice.c | 2558 uint8_t *dest_y, *dest_cb, *dest_cr; in loop_filter() local 2583 dest_cb = h->cur_pic.f->data[1] + in loop_filter() 2596 dest_cb -= 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() 2614 ff_h264_filter_mb_fast(h, sl, mb_x, mb_y, dest_y, dest_cb, in loop_filter()
|
H A D | mpegvideo_enc.c | 2161 uint8_t *dest_y, *dest_cb, *dest_cr; in encode_mb_internal() local 2164 dest_cb = s->dest[1]; 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() 2230 s->pdsp.diff_pixels(s->block[4], ptr_cb, dest_cb, wrap_c); in encode_mb_internal() 2234 dest_cb + uv_dct_offset, wrap_c); in encode_mb_internal() 2253 if (s->mecc.sad[1](NULL, ptr_cb, dest_cb, wrap_c, 8) < 20 * s->qscale) in encode_mb_internal() 2259 dest_cb + uv_dct_offset, in encode_mb_internal()
|
H A D | mpeg4videodec.c | 74 void ff_mpeg4_decode_studio(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, in ff_mpeg4_decode_studio() argument 90 s->idsp.idct_put(dest_cb, dct_linesize, (int16_t*)ctx->block32[4]); in ff_mpeg4_decode_studio() 92 s->idsp.idct_put(dest_cb + dct_offset, dct_linesize, (int16_t*)ctx->block32[6]); in ff_mpeg4_decode_studio() 95 s->idsp.idct_put(dest_cb + act_block_size, dct_linesize, (int16_t*)ctx->block32[8]); in ff_mpeg4_decode_studio() 97 s->idsp.idct_put(dest_cb + act_block_size + dct_offset, dct_linesize, (int16_t*)ctx->block32[10]); 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()
|