Home
last modified time | relevance | path

Searched refs:uvlinesize (Results 1 – 25 of 34) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dh264_loopfilter.c241 unsigned int uvlinesize, in h264_filter_mb_fast_internal() argument
326 filter_mb_edgecv(&img_cb[2*0<<pixel_shift], uvlinesize, bS4, qpc0, a, b, h, 1); in h264_filter_mb_fast_internal()
327 filter_mb_edgecv(&img_cr[2*0<<pixel_shift], uvlinesize, bS4, qpc0, a, b, h, 1); in h264_filter_mb_fast_internal()
329 filter_mb_edgecv(&img_cb[2*2<<pixel_shift], uvlinesize, bS3, qpc, a, b, h, 0); in h264_filter_mb_fast_internal()
330 filter_mb_edgecv(&img_cr[2*2<<pixel_shift], uvlinesize, bS3, qpc, a, b, h, 0); in h264_filter_mb_fast_internal()
332 filter_mb_edgech(&img_cb[4*0*uvlinesize], uvlinesize, bSH, qpc1, a, b, h, 1); in h264_filter_mb_fast_internal()
333 filter_mb_edgech(&img_cr[4*0*uvlinesize], uvlinesize, bSH, qpc1, a, b, h, 1); in h264_filter_mb_fast_internal()
335 filter_mb_edgech(&img_cb[4*1*uvlinesize], uvlinesize, bS3, qpc, a, b, h, 0); in h264_filter_mb_fast_internal()
336 filter_mb_edgech(&img_cr[4*1*uvlinesize], uvlinesize, bS3, qpc, a, b, h, 0); in h264_filter_mb_fast_internal()
337 filter_mb_edgech(&img_cb[4*2*uvlinesize], uvlinesize, bS3, qpc, a, b, h, 0); in h264_filter_mb_fast_internal()
[all …]
Dvc1_mc.c47 int k, int uvlinesize) in vc1_scale_chroma() argument
55 srcU += uvlinesize; in vc1_scale_chroma()
56 srcV += uvlinesize; in vc1_scale_chroma()
82 int k, int uvlinesize) in vc1_lut_scale_chroma() argument
91 srcU += uvlinesize; in vc1_lut_scale_chroma()
92 srcV += uvlinesize; in vc1_lut_scale_chroma()
101 srcU += uvlinesize; in vc1_lut_scale_chroma()
102 srcV += uvlinesize; in vc1_lut_scale_chroma()
183 int linesize, uvlinesize; in ff_vc1_mc_1mv() local
191 uvlinesize = s->current_picture_ptr->f->linesize[1]; in ff_vc1_mc_1mv()
[all …]
Dmpegvideo_motion.c43 ptrdiff_t offset, linesize, uvlinesize; in gmc1_motion() local
60 uvlinesize = s->uvlinesize; in gmc1_motion()
106 offset = (src_y * uvlinesize) + src_x; in gmc1_motion()
111 uvlinesize, uvlinesize, in gmc1_motion()
118 s->mdsp.gmc1(dest_cb, ptr, uvlinesize, 8, in gmc1_motion()
124 uvlinesize, uvlinesize, in gmc1_motion()
130 s->mdsp.gmc1(dest_cr, ptr, uvlinesize, 8, in gmc1_motion()
139 int linesize, uvlinesize; in gmc_motion() local
144 uvlinesize = s->uvlinesize; in gmc_motion()
176 s->mdsp.gmc(dest_cb, ptr, uvlinesize, 8, in gmc_motion()
[all …]
Dh264_mb_template.c48 int linesize, uvlinesize /*dct_offset*/; 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()
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()
67 uvlinesize = sl->mb_uvlinesize = sl->uvlinesize * 2; in FUNC()
71 dest_cb -= sl->uvlinesize * (block_h - 1); in FUNC()
72 dest_cr -= sl->uvlinesize * (block_h - 1); in FUNC()
94 uvlinesize = sl->mb_uvlinesize = sl->uvlinesize; in FUNC()
114 uint16_t *tmp_cb = (uint16_t *)(dest_cb + i * uvlinesize); in FUNC()
115 uint16_t *tmp_cr = (uint16_t *)(dest_cr + i * uvlinesize); in FUNC()
[all …]
Dwmv2.c58 ptrdiff_t offset, linesize, uvlinesize; in ff_mspel_motion() local
77 uvlinesize = s->uvlinesize; in ff_mspel_motion()
114 offset = (src_y * uvlinesize) + src_x; in ff_mspel_motion()
118 s->uvlinesize, s->uvlinesize, in ff_mspel_motion()
124 pix_op[1][dxy](dest_cb, ptr, uvlinesize, h >> 1); in ff_mspel_motion()
129 s->uvlinesize, s->uvlinesize, in ff_mspel_motion()
135 pix_op[1][dxy](dest_cr, ptr, uvlinesize, h >> 1); in ff_mspel_motion()
Dh263.c108 const int uvlinesize= s->uvlinesize; in ff_h263_loop_filter() local
143 s->h263dsp.h263_v_loop_filter(dest_cb, uvlinesize, chroma_qp); in ff_h263_loop_filter()
144 s->h263dsp.h263_v_loop_filter(dest_cr, 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()
160 s->h263dsp.h263_h_loop_filter(dest_cr - 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()
184 s->h263dsp.h263_h_loop_filter(dest_cr, uvlinesize, chroma_qp); in ff_h263_loop_filter()
Dmpegvideo.c875 s->linesize = s->uvlinesize = 0; in ff_mpv_free_context_frame()
914 s->linesize = s->uvlinesize = 0; in ff_mpv_common_end()
979 ptrdiff_t uvlinesize, linesize; in mpeg_motion_lowres() local
987 uvlinesize = s->current_picture.f->linesize[1] << field_based; in mpeg_motion_lowres()
1044 ptr_cb = ref_picture[1] + uvsrc_y * uvlinesize + uvsrc_x; in mpeg_motion_lowres()
1045 ptr_cr = ref_picture[2] + uvsrc_y * uvlinesize + uvsrc_x; in mpeg_motion_lowres()
1057 uint8_t *vbuf =ubuf + 10 * s->uvlinesize; in mpeg_motion_lowres()
1059 vbuf -= s->uvlinesize; in mpeg_motion_lowres()
1061 uvlinesize >> field_based, uvlinesize >> field_based, in mpeg_motion_lowres()
1066 uvlinesize >> field_based,uvlinesize >> field_based, in mpeg_motion_lowres()
[all …]
Ddnxhdenc.c688 int uvlinesize = ctx->m.uvlinesize; in dnxhd_get_blocks() local
692 ((mb_y << 4) * ctx->m.uvlinesize) + (mb_x << bs + ctx->is_444); in dnxhd_get_blocks()
694 ((mb_y << 4) * ctx->m.uvlinesize) + (mb_x << bs + ctx->is_444); in dnxhd_get_blocks()
705 uvlinesize = 8; in dnxhd_get_blocks()
712 uvlinesize, ctx->m.uvlinesize, in dnxhd_get_blocks()
713 uvlinesize, 16, in dnxhd_get_blocks()
716 uvlinesize, ctx->m.uvlinesize, in dnxhd_get_blocks()
717 uvlinesize, 16, in dnxhd_get_blocks()
721 dct_uv_offset = bw * uvlinesize; in dnxhd_get_blocks()
732 uvlinesize = 16 + 16 * ctx->is_444; in dnxhd_get_blocks()
[all …]
Dvc1_loopfilter.c224 v->vc1dsp.vc1_h_loop_filter4(dst, 2 * s->uvlinesize, pq); in vc1_i_h_loop_filter()
225 v->vc1dsp.vc1_h_loop_filter4(dst + s->uvlinesize, 2 * s->uvlinesize, pq); in vc1_i_h_loop_filter()
232 v->vc1dsp.vc1_h_loop_filter8(dst, s->uvlinesize, pq); in vc1_i_h_loop_filter()
257 v->vc1dsp.vc1_v_loop_filter8(dst, 2 * s->uvlinesize, pq); in vc1_i_v_loop_filter()
258 v->vc1dsp.vc1_v_loop_filter8(dst + s->uvlinesize, 2 * s->uvlinesize, pq); in vc1_i_v_loop_filter()
265 v->vc1dsp.vc1_v_loop_filter8(dst, s->uvlinesize, pq); in vc1_i_v_loop_filter()
294 … vc1_i_v_loop_filter(v, i > 3 ? s->dest[i - 3] - 8 * s->uvlinesize - 8 : dest, flags, fieldtx, i); in ff_vc1_i_loop_filter()
300 … vc1_i_v_loop_filter(v, i > 3 ? s->dest[i - 3] - 8 * s->uvlinesize : dest, flags, fieldtx, i); in ff_vc1_i_loop_filter()
324 … vc1_i_h_loop_filter(v, i > 3 ? s->dest[i - 3] - 16 * s->uvlinesize - 8 : dest, flags, i); in ff_vc1_i_loop_filter()
330 … vc1_i_h_loop_filter(v, i > 3 ? s->dest[i - 3] - 16 * s->uvlinesize : dest, flags, i); in ff_vc1_i_loop_filter()
[all …]
Dh261.c65 const int uvlinesize = s->uvlinesize; in ff_h261_loop_filter() local
77 h261_loop_filter(dest_cb, uvlinesize); in ff_h261_loop_filter()
78 h261_loop_filter(dest_cr, uvlinesize); in ff_h261_loop_filter()
Dmpegpicture.c121 int linesize, int uvlinesize) in alloc_frame_buffer() argument
176 (uvlinesize && uvlinesize != pic->f->linesize[1])) { in alloc_frame_buffer()
180 uvlinesize, pic->f->linesize[1]); in alloc_frame_buffer()
257 ptrdiff_t *linesize, ptrdiff_t *uvlinesize) in ff_alloc_picture() argument
273 *linesize, *uvlinesize) < 0) in ff_alloc_picture()
277 *uvlinesize = pic->f->linesize[1]; in ff_alloc_picture()
Dh264_slice.c548 h->slice_ctx[i].uvlinesize = h->cur_pic_ptr->f->linesize[1]; in h264_frame_start()
593 int linesize, int uvlinesize, in backup_mb_border() argument
603 src_cb -= uvlinesize; in backup_mb_border()
604 src_cr -= uvlinesize; in backup_mb_border()
616 AV_COPY128(top_border + 32, src_cb + 15 * uvlinesize); in backup_mb_border()
617 AV_COPY128(top_border + 48, src_cb + 15 * uvlinesize + 16); in backup_mb_border()
618 AV_COPY128(top_border + 64, src_cr + 15 * uvlinesize); in backup_mb_border()
619 AV_COPY128(top_border + 80, src_cr + 15 * uvlinesize + 16); in backup_mb_border()
621 AV_COPY128(top_border + 16, src_cb + 15 * uvlinesize); in backup_mb_border()
622 AV_COPY128(top_border + 32, src_cr + 15 * uvlinesize); in backup_mb_border()
[all …]
Drv34.c719 srcU += uvsrc_y * s->uvlinesize + uvsrc_x; in rv34_mc()
720 srcV += uvsrc_y * s->uvlinesize + uvsrc_x; in rv34_mc()
735 U = s->dest[1] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
736 V = s->dest[2] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
739 U = r->tmp_b_block_uv[dir*2] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
740 V = r->tmp_b_block_uv[dir*2+1] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
758 s->uvlinesize, s->uvlinesize, in rv34_mc()
763 uvbuf += 9*s->uvlinesize; in rv34_mc()
766 s->uvlinesize, s->uvlinesize, in rv34_mc()
772 chroma_mc[2-width] (U, srcU, s->uvlinesize, height*4, uvmx, uvmy); in rv34_mc()
[all …]
Dvp8.c1551 ptrdiff_t linesize, ptrdiff_t uvlinesize, int simple) in backup_mb_border() argument
1555 AV_COPY64(top_border + 16, src_cb + 7 * uvlinesize); in backup_mb_border()
1556 AV_COPY64(top_border + 24, src_cr + 7 * uvlinesize); in backup_mb_border()
1562 uint8_t *src_cr, ptrdiff_t linesize, ptrdiff_t uvlinesize, int mb_x, in xchg_mb_border() argument
1567 src_cb -= uvlinesize; in xchg_mb_border()
1568 src_cr -= uvlinesize; in xchg_mb_border()
1685 s->linesize, s->uvlinesize, mb_x, mb_y, s->mb_width, in intra_predict()
1780 s->hpc.pred8x8[mode](dst[1], s->uvlinesize); in intra_predict()
1781 s->hpc.pred8x8[mode](dst[2], s->uvlinesize); in intra_predict()
1785 s->linesize, s->uvlinesize, mb_x, mb_y, s->mb_width, in intra_predict()
[all …]
Dsvq3.c436 int uvlinesize = s->cur_pic->f->linesize[1]; in svq3_mc_dir_part() local
476 dest = s->cur_pic->f->data[i] + (x >> 1) + (y >> 1) * uvlinesize; in svq3_mc_dir_part()
477 src = pic->f->data[i] + mx + my * uvlinesize; in svq3_mc_dir_part()
481 uvlinesize, uvlinesize, in svq3_mc_dir_part()
490 uvlinesize, in svq3_mc_dir_part()
495 uvlinesize, in svq3_mc_dir_part()
670 int linesize, uvlinesize; in hl_decode_mb() local
676 uvlinesize = s->cur_pic->f->linesize[1]; in hl_decode_mb()
679 dest_cb = s->cur_pic->f->data[1] + mb_x * 8 + mb_y * uvlinesize * block_h; in hl_decode_mb()
680 dest_cr = s->cur_pic->f->data[2] + mb_x * 8 + mb_y * uvlinesize * block_h; in hl_decode_mb()
[all …]
Drv30.c199 … C = s->current_picture_ptr->f->data[k + 1] + mb_x*8 + (row*8 + j) * s->uvlinesize + 4 * !mb_x; in rv30_loop_filter()
210 rv30_weak_loop_filter(C, 1, s->uvlinesize, loc_lim); in rv30_loop_filter()
241 C = s->current_picture_ptr->f->data[k+1] + mb_x*8 + (row*8 + j) * s->uvlinesize; in rv30_loop_filter()
252 rv30_weak_loop_filter(C, s->uvlinesize, 1, loc_lim); in rv30_loop_filter()
Drv40.c513 C = s->current_picture_ptr->f->data[k + 1] + mb_x*8 + (row*8 + j*4) * s->uvlinesize; in rv40_loop_filter()
519 rv40_adaptive_loop_filter(&r->rdsp, C+4*s->uvlinesize, s->uvlinesize, i*8, in rv40_loop_filter()
529 rv40_adaptive_loop_filter(&r->rdsp, C, s->uvlinesize, j*8, in rv40_loop_filter()
536 rv40_adaptive_loop_filter(&r->rdsp, C, s->uvlinesize, i*8, in rv40_loop_filter()
543 rv40_adaptive_loop_filter(&r->rdsp, C, s->uvlinesize, j*8, in rv40_loop_filter()
Dmpeg_er.c88 s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize + in mpeg_er_decode_mb()
91 s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize + in mpeg_er_decode_mb()
Dvc1_block.c94 … i > 3 ? s->dest[i - 3] - 8 * s->uvlinesize - 8 : dest, in vc1_put_blocks_clamped()
95 i > 3 ? s->uvlinesize : s->linesize); in vc1_put_blocks_clamped()
98 … i > 3 ? s->dest[i - 3] - 8 * s->uvlinesize - 8 : dest, in vc1_put_blocks_clamped()
99 i > 3 ? s->uvlinesize : s->linesize); in vc1_put_blocks_clamped()
110 … i > 3 ? s->dest[i - 3] - 8 * s->uvlinesize : dest, in vc1_put_blocks_clamped()
111 i > 3 ? s->uvlinesize : s->linesize); in vc1_put_blocks_clamped()
114 … i > 3 ? s->dest[i - 3] - 8 * s->uvlinesize : dest, in vc1_put_blocks_clamped()
115 i > 3 ? s->uvlinesize : s->linesize); in vc1_put_blocks_clamped()
134 … i > 3 ? s->uvlinesize : s->linesize << fieldtx); in vc1_put_blocks_clamped()
138 i > 3 ? s->uvlinesize : s->linesize << fieldtx); in vc1_put_blocks_clamped()
[all …]
Dmotion_est.c362 c->uvstride= s->uvlinesize; in ff_init_me()
700 offset= (s->mb_x*8 + (mx>>1)) + (s->mb_y*8 + (my>>1))*s->uvlinesize; in h263_mv4_search()
703 …o_rnd_pixels_tab[1][dxy](c->scratchpad , s->last_picture.f->data[1] + offset, s->uvlinesize, 8); in h263_mv4_search()
704 …o_rnd_pixels_tab[1][dxy](c->scratchpad + 8, s->last_picture.f->data[2] + offset, s->uvlinesize, 8); in h263_mv4_search()
706 …ixels_tab [1][dxy](c->scratchpad , s->last_picture.f->data[1] + offset, s->uvlinesize, 8); in h263_mv4_search()
707 …ixels_tab [1][dxy](c->scratchpad + 8, s->last_picture.f->data[2] + offset, s->uvlinesize, 8); in h263_mv4_search()
710 …new_picture->data[1] + s->mb_x * 8 + s->mb_y * 8 * s->uvlinesize, c->scratchpad, s->uvlinesize in h263_mv4_search()
711 …new_picture->data[2] + s->mb_x * 8 + s->mb_y * 8 * s->uvlinesize, c->scratchpad + 8, s->uvlinesize in h263_mv4_search()
733 c->ref[1+ref_index][1] = c->ref[0+ref_index][1] + s->uvlinesize; in init_interlaced_ref()
734 c->ref[1+ref_index][2] = c->ref[0+ref_index][2] + s->uvlinesize; in init_interlaced_ref()
[all …]
Dmpeg4videodec.h88 uint8_t *dest_cr, int block_size, int uvlinesize,
Dh264dec.h219 ptrdiff_t linesize, uvlinesize; member
606 unsigned int linesize, unsigned int uvlinesize);
609 unsigned int linesize, unsigned int uvlinesize);
Dmpegvideo_enc.c1000 &s->linesize, &s->uvlinesize); in alloc_picture()
1046 pic_arg->linesize[1] != s->uvlinesize || in load_input_picture()
1047 pic_arg->linesize[2] != s->uvlinesize) in load_input_picture()
1057 pic_arg->linesize[1], s->linesize, s->uvlinesize); in load_input_picture()
1087 int dst_stride = i ? s->uvlinesize : s->linesize; in load_input_picture()
2039 int uv_dct_offset = s->uvlinesize * 8; in encode_mb_internal()
2077 wrap_c = s->uvlinesize; in encode_mb_internal()
2573 …nsse[1](s, s->new_picture->data[1] + s->mb_x * chroma_mb_w + s->mb_y * s->uvlinesize * chroma_mb_h, in sse_mb()
2574 s->dest[1], s->uvlinesize, chroma_mb_h) + in sse_mb()
2575 …nsse[1](s, s->new_picture->data[2] + s->mb_x * chroma_mb_w + s->mb_y * s->uvlinesize * chroma_mb_h, in sse_mb()
[all …]
Dmpegpicture.h103 ptrdiff_t *linesize, ptrdiff_t *uvlinesize);
Dintrax8.c682 const ptrdiff_t uvlinesize = frame->linesize[1]; in x8_init_block_index() local
690 w->dest[1] += (w->mb_y & ~1) * uvlinesize << 2; in x8_init_block_index()
691 w->dest[2] += (w->mb_y & ~1) * uvlinesize << 2; in x8_init_block_index()

12