Home
last modified time | relevance | path

Searched refs:linesize (Results 1 – 25 of 693) sorted by relevance

12345678910>>...28

/third_party/ffmpeg/libavcodec/
Dimm4.c234 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x, in decode_intra()
235 frame->linesize[0], s->block[0]); in decode_intra()
236 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x + 8, in decode_intra()
237 frame->linesize[0], s->block[1]); in decode_intra()
238 s->idsp.idct_put(frame->data[0] + (y + 8) * frame->linesize[0] + x, in decode_intra()
239 frame->linesize[0], s->block[2]); in decode_intra()
240 s->idsp.idct_put(frame->data[0] + (y + 8) * frame->linesize[0] + x + 8, in decode_intra()
241 frame->linesize[0], s->block[3]); in decode_intra()
242 s->idsp.idct_put(frame->data[1] + (y >> 1) * frame->linesize[1] + (x >> 1), in decode_intra()
243 frame->linesize[1], s->block[4]); in decode_intra()
[all …]
Dvp9_mc_template.c59 ref1->data[0], ref1->linesize[0], tref1, in FN()
63 ref1->data[0], ref1->linesize[0], tref1, in FN()
71 ref1->data[1], ref1->linesize[1], in FN()
72 ref1->data[2], ref1->linesize[2], tref1, in FN()
78 ref1->data[1], ref1->linesize[1], in FN()
79 ref1->data[2], ref1->linesize[2], tref1, in FN()
92 ref1->data[1], ref1->linesize[1], in FN()
93 ref1->data[2], ref1->linesize[2], tref1, in FN()
100 ref2->data[0], ref2->linesize[0], tref2, in FN()
104 ref2->data[0], ref2->linesize[0], tref2, in FN()
[all …]
Dsheervideo.c80 dst_y += p->linesize[0] / 2; in decode_ca4i()
81 dst_u += p->linesize[1] / 2; in decode_ca4i()
82 dst_v += p->linesize[2] / 2; in decode_ca4i()
83 dst_a += p->linesize[3] / 2; in decode_ca4i()
123 dst_y += p->linesize[0] / 2; in decode_ca4p()
124 dst_u += p->linesize[1] / 2; in decode_ca4p()
125 dst_v += p->linesize[2] / 2; in decode_ca4p()
126 dst_a += p->linesize[3] / 2; in decode_ca4p()
140 pred_TL[0] = pred_L[0] = dst_y[-p->linesize[0] / 2]; in decode_ca4p()
141 pred_TL[1] = pred_L[1] = dst_u[-p->linesize[1] / 2]; in decode_ca4p()
[all …]
Dimgconvert.c125 dst->data[0] = src->data[0] + (top_band * src->linesize[0]) + left_band; in av_picture_crop()
126 … dst->data[1] = src->data[1] + ((top_band >> y_shift) * src->linesize[1]) + (left_band >> x_shift); in av_picture_crop()
127 … dst->data[2] = src->data[2] + ((top_band >> y_shift) * src->linesize[2]) + (left_band >> x_shift); in av_picture_crop()
131 dst->data[0] = src->data[0] + (top_band * src->linesize[0]) + (left_band * max_step[0]); in av_picture_crop()
134 dst->linesize[0] = src->linesize[0]; in av_picture_crop()
135 dst->linesize[1] = src->linesize[1]; in av_picture_crop()
136 dst->linesize[2] = src->linesize[2]; in av_picture_crop()
163 dst->linesize[0] * padtop + (padleft * max_step[0])); in av_picture_pad()
167 optr = dst->data[0] + dst->linesize[0] * padtop + in av_picture_pad()
168 (dst->linesize[0] - (padright * max_step[0])); in av_picture_pad()
[all …]
Dscpr.h82 int linesize, uint32_t *plx, uint32_t *ply, in decode_run_i() argument
98 dst[y * linesize + x] = clr; in decode_run_i()
112 dst[y * linesize + x] = dst[ly * linesize + lx]; in decode_run_i()
123 clr = dst[ly * linesize + lx]; in decode_run_i()
130 clr = dst[y * linesize + x + off + 1]; in decode_run_i()
131 dst[y * linesize + x] = clr; in decode_run_i()
149 int off1 = (ly * linesize + lx) * 4; in decode_run_i()
150 int off2 = ((y * linesize + x) + off) * 4; in decode_run_i()
168 dst[y * linesize + x] = clr; in decode_run_i()
191 clr = dst[y * linesize + x + off - z]; in decode_run_i()
[all …]
Dmv30.c298 uint8_t *dst, int linesize) in decode_intra_block() argument
305 s->bdsp.fill_block_tab[1](dst, 128, linesize, 8); in decode_intra_block()
311 s->bdsp.fill_block_tab[1](dst, block[0], linesize, 8); in decode_intra_block()
321 idct2_put(dst, linesize, block); in decode_intra_block()
329 idct_put(dst, linesize, block); in decode_intra_block()
339 uint8_t *dst, int linesize, in decode_inter_block() argument
346 copy_block8(dst, src, linesize, in_linesize, 8); in decode_inter_block()
352 update_inter_block(dst, linesize, src, in_linesize, block[0]); in decode_inter_block()
362 idct2_add(dst, linesize, src, in_linesize, block); in decode_inter_block()
370 idct_add(dst, linesize, src, in_linesize, block); in decode_inter_block()
[all …]
Dvc1_loopfilter.c220 dst = dest + (block_num & 2) * 4 * s->linesize + (block_num & 1) * 8; in vc1_i_h_loop_filter()
227 v->vc1dsp.vc1_h_loop_filter8(dst, 2 * s->linesize, pq); in vc1_i_h_loop_filter()
228 v->vc1dsp.vc1_h_loop_filter8(dst + s->linesize, 2 * s->linesize, pq); in vc1_i_h_loop_filter()
234 v->vc1dsp.vc1_h_loop_filter16(dst, s->linesize, pq); in vc1_i_h_loop_filter()
253 dst = dest + (block_num & 2) * 4 * s->linesize + (block_num & 1) * 8; in vc1_i_v_loop_filter()
260 v->vc1dsp.vc1_v_loop_filter16(dst, 2 * s->linesize, pq); in vc1_i_v_loop_filter()
261 v->vc1dsp.vc1_v_loop_filter16(dst + s->linesize, 2 * s->linesize, pq); in vc1_i_v_loop_filter()
267 v->vc1dsp.vc1_v_loop_filter16(dst, s->linesize, pq); in vc1_i_v_loop_filter()
289 dest = s->dest[0] - 16 * s->linesize - 16; in ff_vc1_i_loop_filter()
320 dest = s->dest[0] - 32 * s->linesize - 16; in ff_vc1_i_loop_filter()
[all …]
Deatgq.c113 ptrdiff_t linesize = frame->linesize[0]; in tgq_idct_put_mb() local
114 uint8_t *dest_y = frame->data[0] + (mb_y * 16 * linesize) + mb_x * 16; in tgq_idct_put_mb()
115 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in tgq_idct_put_mb()
116 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in tgq_idct_put_mb()
118 ff_ea_idct_put_c(dest_y , linesize, block[0]); in tgq_idct_put_mb()
119 ff_ea_idct_put_c(dest_y + 8, linesize, block[1]); in tgq_idct_put_mb()
120 ff_ea_idct_put_c(dest_y + 8 * linesize , linesize, block[2]); in tgq_idct_put_mb()
121 ff_ea_idct_put_c(dest_y + 8 * linesize + 8, linesize, block[3]); in tgq_idct_put_mb()
123 ff_ea_idct_put_c(dest_cb, frame->linesize[1], block[4]); in tgq_idct_put_mb()
124 ff_ea_idct_put_c(dest_cr, frame->linesize[2], block[5]); in tgq_idct_put_mb()
[all …]
Dh264_loopfilter.c243 unsigned int linesize, in h264_filter_mb_fast_internal() argument
276 filter_mb_edgev( &img_y[4*0<<pixel_shift], linesize, bS4, qp0, a, b, h, 1); in h264_filter_mb_fast_internal()
278 filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
280 filter_mb_edgeh( &img_y[4*0*linesize], linesize, bSH, qp1, a, b, h, 1); in h264_filter_mb_fast_internal()
282 filter_mb_edgeh( &img_y[4*2*linesize], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
284 filter_mb_edgev( &img_y[4*1<<pixel_shift], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
285 filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
286 filter_mb_edgev( &img_y[4*3<<pixel_shift], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
288 filter_mb_edgeh( &img_y[4*0*linesize], linesize, bSH, qp1, a, b, h, 1); in h264_filter_mb_fast_internal()
290 filter_mb_edgeh( &img_y[4*1*linesize], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
[all …]
Dwmv2.c88 wmv2_add_block(w, block1[0], dest_y, s->linesize, 0); in ff_wmv2_add_mb()
89 wmv2_add_block(w, block1[1], dest_y + 8, s->linesize, 1); in ff_wmv2_add_mb()
90 wmv2_add_block(w, block1[2], dest_y + 8 * s->linesize, s->linesize, 2); in ff_wmv2_add_mb()
91 wmv2_add_block(w, block1[3], dest_y + 8 + 8 * s->linesize, s->linesize, 3); in ff_wmv2_add_mb()
108 ptrdiff_t offset, linesize, uvlinesize; in ff_mspel_motion() local
126 linesize = s->linesize; in ff_mspel_motion()
128 ptr = ref_picture[0] + (src_y * linesize) + src_x; in ff_mspel_motion()
132 s->vdsp.emulated_edge_mc(s->sc.edge_emu_buffer, ptr - 1 - s->linesize, in ff_mspel_motion()
133 s->linesize, s->linesize, 19, 19, in ff_mspel_motion()
136 ptr = s->sc.edge_emu_buffer + 1 + s->linesize; in ff_mspel_motion()
[all …]
Dloco.c219 p->linesize[0], buf, buf_size); in decode_frame()
222 p->linesize[1], buf, buf_size); in decode_frame()
225 p->linesize[2], buf, buf_size); in decode_frame()
229 p->linesize[0], buf, buf_size); in decode_frame()
232 p->linesize[2], buf, buf_size); in decode_frame()
235 p->linesize[1], buf, buf_size); in decode_frame()
238 …decoded = loco_decode_plane(l, p->data[1] + p->linesize[1]*(avctx->height-1), avctx->width, avctx-… in decode_frame()
239 -p->linesize[1], buf, buf_size); in decode_frame()
241 …decoded = loco_decode_plane(l, p->data[0] + p->linesize[0]*(avctx->height-1), avctx->width, avctx-… in decode_frame()
242 -p->linesize[0], buf, buf_size); in decode_frame()
[all …]
Djvdec.c65 static inline void decode2x2(GetBitContext *gb, uint8_t *dst, int linesize) in decode2x2() argument
73 memset(dst + j * linesize, v[0], 2); in decode2x2()
80 dst[j * linesize + i] = v[get_bits1(gb)]; in decode2x2()
85 dst[j * linesize + i] = get_bits(gb, 8); in decode2x2()
92 static inline void decode4x4(GetBitContext *gb, uint8_t *dst, int linesize) in decode4x4() argument
100 memset(dst + j * linesize, v[0], 4); in decode4x4()
107 dst[j * linesize + i] = v[get_bits1(gb)]; in decode4x4()
109 dst[(j + 1) * linesize + i] = v[get_bits1(gb)]; in decode4x4()
115 decode2x2(gb, dst + j * linesize + i, linesize); in decode4x4()
122 static inline void decode8x8(GetBitContext *gb, uint8_t *dst, int linesize, in decode8x8() argument
[all …]
Dh264_mb_template.c48 int linesize, uvlinesize /*dct_offset*/; in FUNC() local
56 dest_y = h->cur_pic.f->data[0] + ((mb_x << PIXEL_SHIFT) + mb_y * sl->linesize) * 16; in FUNC()
60 …h->vdsp.prefetch(dest_y + (sl->mb_x & 3) * 4 * sl->linesize + (64 << PIXEL_SHIFT), sl->linesize in FUNC()
66 linesize = sl->mb_linesize = sl->linesize * 2; in FUNC()
70 dest_y -= sl->linesize * 15; in FUNC()
93 linesize = sl->mb_linesize = sl->linesize; in FUNC()
107 uint16_t *tmp_y = (uint16_t *)(dest_y + i * linesize); in FUNC()
135 memcpy(dest_y + i * linesize, sl->intra_pcm_ptr + i * 16, 16); in FUNC()
155 xchg_mb_border(h, sl, dest_y, dest_cb, dest_cr, linesize, in FUNC()
165 block_offset, linesize, dest_y, 0); in FUNC()
[all …]
Ddxtory.c62 pic->data[1] += (avctx->height - 1) * pic->linesize[1]; in do_vflip()
63 pic->linesize[1] = -pic->linesize[1]; in do_vflip()
64 pic->data[2] += (avctx->height - 1) * pic->linesize[2]; in do_vflip()
65 pic->linesize[2] = -pic->linesize[2]; in do_vflip()
70 pic->data[0] += (avctx->height - 1) * pic->linesize[0]; in do_vflip()
71 pic->linesize[0] = -pic->linesize[0]; in do_vflip()
74 pic->data[0] += (avctx->height - 1) * pic->linesize[0]; in do_vflip()
75 pic->linesize[0] = -pic->linesize[0]; in do_vflip()
76 pic->data[1] += (AV_CEIL_RSHIFT(avctx->height, 2) - 1) * pic->linesize[1]; in do_vflip()
77 pic->linesize[1] = -pic->linesize[1]; in do_vflip()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_fillborders.c93 int linesize = frame->linesize[p]; in smear_borders8() local
96 memset(ptr + y * linesize, in smear_borders8()
97 *(ptr + y * linesize + s->borders[p].left), in smear_borders8()
99 memset(ptr + y * linesize + s->planewidth[p] - s->borders[p].right, in smear_borders8()
100 *(ptr + y * linesize + s->planewidth[p] - s->borders[p].right - 1), in smear_borders8()
105 memcpy(ptr + y * linesize, in smear_borders8()
106 ptr + s->borders[p].top * linesize, s->planewidth[p]); in smear_borders8()
110 memcpy(ptr + y * linesize, in smear_borders8()
111 ptr + (s->planeheight[p] - s->borders[p].bottom - 1) * linesize, in smear_borders8()
123 int linesize = frame->linesize[p] / 2; in smear_borders16() local
[all …]
Dvf_owdenoise.c44 int linesize; member
105 int linesize, int w) in decompose() argument
109 double sum_l = src[x * linesize] * coeff[0][0]; in decompose()
110 double sum_h = src[x * linesize] * coeff[1][0]; in decompose()
112 const double s = src[avpriv_mirror(x - i, w - 1) * linesize] in decompose()
113 + src[avpriv_mirror(x + i, w - 1) * linesize]; in decompose()
118 dst_l[x * linesize] = sum_l; in decompose()
119 dst_h[x * linesize] = sum_h; in decompose()
124 int linesize, int w) in compose() argument
128 double sum_l = src_l[x * linesize] * icoeff[0][0]; in compose()
[all …]
Dvf_bitplanenoise.c125 const int linesize = s->planeheight[plane] > 1 ? in->linesize[plane] : 0; in filter_frame() local
126 const int dlinesize = out->linesize[plane]; in filter_frame()
131 CHECK_BIT(0, 1, 1 + linesize, linesize) in filter_frame()
134 CHECK_BIT(x, -1, 1, linesize) in filter_frame()
137 CHECK_BIT(x, -1, -1 + linesize, linesize) in filter_frame()
139 val += linesize; in filter_frame()
144 CHECK_BIT(0, 1, 1 - linesize, -linesize) in filter_frame()
147 CHECK_BIT(x, -1, 1, -linesize) in filter_frame()
150 CHECK_BIT(x, -1, -1 - linesize, -linesize) in filter_frame()
154 const int linesize = s->planeheight[plane] > 1 ? in->linesize[plane] / 2 : 0; in filter_frame() local
[all …]
Dvf_floodfill.c63 unsigned c0 = frame->data[0][y * frame->linesize[0] + x]; in is_same4()
64 unsigned c1 = frame->data[1][y * frame->linesize[1] + x]; in is_same4()
65 unsigned c2 = frame->data[2][y * frame->linesize[2] + x]; in is_same4()
66 unsigned c3 = frame->data[3][y * frame->linesize[3] + x]; in is_same4()
76 unsigned c0 = AV_RN16(frame->data[0] + y * frame->linesize[0] + 2 * x); in is_same4_16()
77 unsigned c1 = AV_RN16(frame->data[1] + y * frame->linesize[1] + 2 * x); in is_same4_16()
78 unsigned c2 = AV_RN16(frame->data[2] + y * frame->linesize[2] + 2 * x); in is_same4_16()
79 unsigned c3 = AV_RN16(frame->data[3] + y * frame->linesize[3] + 2 * x); in is_same4_16()
89 unsigned c0 = frame->data[0][y * frame->linesize[0] + x]; in is_same3()
90 unsigned c1 = frame->data[1][y * frame->linesize[1] + x]; in is_same3()
[all …]
Dvf_vectorscope.c295 const int dlinesize = out->linesize[0] / 2; in envelope_instant16()
316 const int dlinesize = out->linesize[0] / 2; in envelope_peak16()
347 const int dlinesize = out->linesize[0]; in envelope_instant()
367 const int dlinesize = out->linesize[0]; in envelope_peak()
420 const int slinesizex = in->linesize[s->x] / 2; in vectorscope16()
421 const int slinesizey = in->linesize[s->y] / 2; in vectorscope16()
422 const int slinesized = in->linesize[pd] / 2; in vectorscope16()
423 const int dlinesize = out->linesize[0] / 2; in vectorscope16()
448 AV_WN16(out->data[k] + i * out->linesize[k] + j * 2, in vectorscope16()
620 const int slinesizex = in->linesize[s->x]; in vectorscope8()
[all …]
Dvf_xfade.c225 const type *xf0 = (const type *)(a->data[p] + slice_start * a->linesize[p]); \
226 const type *xf1 = (const type *)(b->data[p] + slice_start * b->linesize[p]); \
227 type *dst = (type *)(out->data[p] + slice_start * out->linesize[p]); \
240 dst += out->linesize[p] / div; \
241 xf0 += a->linesize[p] / div; \
242 xf1 += b->linesize[p] / div; \
279 const type *xf0 = (const type *)(a->data[p] + slice_start * a->linesize[p]); \
280 const type *xf1 = (const type *)(b->data[p] + slice_start * b->linesize[p]); \
281 type *dst = (type *)(out->data[p] + slice_start * out->linesize[p]); \
288 dst += out->linesize[p] / div; \
[all …]
Davf_showwaves.c90 void (*draw_sample)(uint8_t *buf, int height, int linesize,
223 static void draw_sample_point_rgba_scale(uint8_t *buf, int height, int linesize, in draw_sample_point_rgba_scale() argument
228 buf[h * linesize + 0] += color[0]; in draw_sample_point_rgba_scale()
229 buf[h * linesize + 1] += color[1]; in draw_sample_point_rgba_scale()
230 buf[h * linesize + 2] += color[2]; in draw_sample_point_rgba_scale()
231 buf[h * linesize + 3] += color[3]; in draw_sample_point_rgba_scale()
235 static void draw_sample_point_rgba_full(uint8_t *buf, int height, int linesize, in draw_sample_point_rgba_full() argument
240 buf[h * linesize + 0] = color[0]; in draw_sample_point_rgba_full()
241 buf[h * linesize + 1] = color[1]; in draw_sample_point_rgba_full()
242 buf[h * linesize + 2] = color[2]; in draw_sample_point_rgba_full()
[all …]
Dvf_colorbalance.c166 const uint8_t *srcg = in->data[0] + slice_start * in->linesize[0]; in color_balance8_p()
167 const uint8_t *srcb = in->data[1] + slice_start * in->linesize[1]; in color_balance8_p()
168 const uint8_t *srcr = in->data[2] + slice_start * in->linesize[2]; in color_balance8_p()
169 const uint8_t *srca = in->data[3] + slice_start * in->linesize[3]; in color_balance8_p()
170 uint8_t *dstg = out->data[0] + slice_start * out->linesize[0]; in color_balance8_p()
171 uint8_t *dstb = out->data[1] + slice_start * out->linesize[1]; in color_balance8_p()
172 uint8_t *dstr = out->data[2] + slice_start * out->linesize[2]; in color_balance8_p()
173 uint8_t *dsta = out->data[3] + slice_start * out->linesize[3]; in color_balance8_p()
194 if (in != out && out->linesize[3]) in color_balance8_p()
198 srcg += in->linesize[0]; in color_balance8_p()
[all …]
Dvf_w3fdif.c40 int linesize[4]; ///< bytes of pixel data per line for each plane member
112 const int16_t *coef, int linesize) in filter_simple_low() argument
116 for (i = 0; i < linesize; i++) { in filter_simple_low()
124 const int16_t *coef, int linesize) in filter_complex_low() argument
128 for (i = 0; i < linesize; i++) { in filter_complex_low()
139 const int16_t *coef, int linesize) in filter_simple_high() argument
143 for (i = 0; i < linesize; i++) { in filter_simple_high()
156 const int16_t *coef, int linesize) in filter_complex_high() argument
160 for (i = 0; i < linesize; i++) { in filter_complex_high()
174 static void filter_scale(uint8_t *out_pixel, const int32_t *work_pixel, int linesize, int max) in filter_scale() argument
[all …]
Dvf_spp.c235 static inline void add_block(uint16_t *dst, int linesize, const int16_t block[64]) in add_block() argument
240 dst[0 + y*linesize] += block[0 + y*8]; in add_block()
241 dst[1 + y*linesize] += block[1 + y*8]; in add_block()
242 dst[2 + y*linesize] += block[2 + y*8]; in add_block()
243 dst[3 + y*linesize] += block[3 + y*8]; in add_block()
244 dst[4 + y*linesize] += block[4 + y*8]; in add_block()
245 dst[5 + y*linesize] += block[5 + y*8]; in add_block()
246 dst[6 + y*linesize] += block[6 + y*8]; in add_block()
247 dst[7 + y*linesize] += block[7 + y*8]; in add_block()
257 const int linesize = is_luma ? p->temp_linesize : FFALIGN(width+16, 16); in filter() local
[all …]
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavutils.c312 picture->linesize[0] = stride; in gst_ffmpeg_avpicture_fill()
313 picture->linesize[1] = stride2; in gst_ffmpeg_avpicture_fill()
314 picture->linesize[2] = stride2; in gst_ffmpeg_avpicture_fill()
315 picture->linesize[3] = 0; in gst_ffmpeg_avpicture_fill()
331 picture->linesize[0] = stride; in gst_ffmpeg_avpicture_fill()
332 picture->linesize[1] = stride2; in gst_ffmpeg_avpicture_fill()
333 picture->linesize[2] = stride2; in gst_ffmpeg_avpicture_fill()
334 picture->linesize[3] = stride; in gst_ffmpeg_avpicture_fill()
346 picture->linesize[0] = stride; in gst_ffmpeg_avpicture_fill()
347 picture->linesize[1] = 0; in gst_ffmpeg_avpicture_fill()
[all …]

12345678910>>...28