Home
last modified time | relevance | path

Searched refs:linesize (Results 1 - 25 of 715) sorted by relevance

12345678910>>...29

/third_party/ffmpeg/libavfilter/
H A Dvf_fillborders.c86 int linesize = frame->linesize[p]; in smear_borders8() local
89 memset(ptr + y * linesize, in smear_borders8()
90 *(ptr + y * linesize + s->borders[p].left), in smear_borders8()
92 memset(ptr + y * linesize + s->planewidth[p] - s->borders[p].right, in smear_borders8()
93 *(ptr + y * linesize + s->planewidth[p] - s->borders[p].right - 1), in smear_borders8()
98 memcpy(ptr + y * linesize, in smear_borders8()
99 ptr + s->borders[p].top * linesize, s->planewidth[p]); in smear_borders8()
103 memcpy(ptr + y * linesize, in smear_borders8()
104 ptr + (s->planeheight[p] - s->borders[p].bottom - 1) * linesize, in smear_borders8()
116 int linesize = frame->linesize[p] / 2; smear_borders16() local
148 int linesize = frame->linesize[p]; mirror_borders8() local
181 int linesize = frame->linesize[p] / 2; mirror_borders16() local
215 int linesize = frame->linesize[p]; fixed_borders8() local
240 int linesize = frame->linesize[p] / 2; fixed_borders16() local
272 int linesize = frame->linesize[p]; reflect_borders8() local
305 int linesize = frame->linesize[p] / 2; reflect_borders16() local
338 int linesize = frame->linesize[p]; wrap_borders8() local
371 int linesize = frame->linesize[p] / 2; wrap_borders16() local
415 const int linesize = frame->linesize[p]; fade_borders8() local
457 const int linesize = frame->linesize[p] / 2; fade_borders16() local
495 const int linesize = frame->linesize[p]; margins_borders8() local
540 const int linesize = frame->linesize[p] / 2; margins_borders16() local
[all...]
H A Dvf_owdenoise.c49 int linesize; member
110 int linesize, int w) in decompose()
114 double sum_l = src[x * linesize] * coeff[0][0]; in decompose()
115 double sum_h = src[x * linesize] * coeff[1][0]; in decompose()
117 const double s = src[avpriv_mirror(x - i, w - 1) * linesize] in decompose()
118 + src[avpriv_mirror(x + i, w - 1) * linesize]; in decompose()
123 dst_l[x * linesize] = sum_l; in decompose()
124 dst_h[x * linesize] = sum_h; in decompose()
129 int linesize, int w) in compose()
133 double sum_l = src_l[x * linesize] * icoef in compose()
109 decompose(float *dst_l, float *dst_h, const float *src, int linesize, int w) decompose() argument
128 compose(float *dst, const float *src_l, const float *src_h, int linesize, int w) compose() argument
172 decompose2D2(float *dst[4], float *src, float *temp[2], int linesize, int step, int w, int h) decompose2D2() argument
180 compose2D2(float *dst, float *src[4], float *temp[2], int linesize, int step, int w, int h) compose2D2() argument
[all...]
H A Dvf_bitplanenoise.c117 const int linesize = s->planeheight[plane] > 1 ? in->linesize[plane] : 0; in filter_frame() local
118 const int dlinesize = out->linesize[plane]; in filter_frame()
123 CHECK_BIT(0, 1, 1 + linesize, linesize) in filter_frame()
126 CHECK_BIT(x, -1, 1, linesize) in filter_frame()
129 CHECK_BIT(x, -1, -1 + linesize, linesize) in filter_frame()
131 val += linesize; in filter_frame()
136 CHECK_BIT(0, 1, 1 - linesize, in filter_frame()
146 const int linesize = s->planeheight[plane] > 1 ? in->linesize[plane] / 2 : 0; filter_frame() local
[all...]
H A 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[ in vectorscope8()
[all...]
H A 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[ in is_same3()
[all...]
H A Dvf_xfade.c223 const type *xf0 = (const type *)(a->data[p] + slice_start * a->linesize[p]); \
224 const type *xf1 = (const type *)(b->data[p] + slice_start * b->linesize[p]); \
225 type *dst = (type *)(out->data[p] + slice_start * out->linesize[p]); \
238 dst += out->linesize[p] / div; \
239 xf0 += a->linesize[p] / div; \
240 xf1 += b->linesize[p] / div; \
277 const type *xf0 = (const type *)(a->data[p] + slice_start * a->linesize[p]); \
278 const type *xf1 = (const type *)(b->data[p] + slice_start * b->linesize[p]); \
279 type *dst = (type *)(out->data[p] + slice_start * out->linesize[p]); \
286 dst += out->linesize[
1746 int linesize = in->linesize[FFMIN(plane, s->nb_planes - 1)]; getpix() local
[all...]
H A Dvf_spp.c225 static inline void add_block(uint16_t *dst, int linesize, const int16_t block[64]) in add_block() argument
230 dst[0 + y*linesize] += block[0 + y*8]; in add_block()
231 dst[1 + y*linesize] += block[1 + y*8]; in add_block()
232 dst[2 + y*linesize] += block[2 + y*8]; in add_block()
233 dst[3 + y*linesize] += block[3 + y*8]; in add_block()
234 dst[4 + y*linesize] += block[4 + y*8]; in add_block()
235 dst[5 + y*linesize] += block[5 + y*8]; in add_block()
236 dst[6 + y*linesize] += block[6 + y*8]; in add_block()
237 dst[7 + y*linesize] += block[7 + y*8]; in add_block()
247 const int linesize in filter() local
[all...]
H A Dvf_colorbalance.c159 const uint8_t *srcg = in->data[0] + slice_start * in->linesize[0]; in color_balance8_p()
160 const uint8_t *srcb = in->data[1] + slice_start * in->linesize[1]; in color_balance8_p()
161 const uint8_t *srcr = in->data[2] + slice_start * in->linesize[2]; in color_balance8_p()
162 const uint8_t *srca = in->data[3] + slice_start * in->linesize[3]; in color_balance8_p()
163 uint8_t *dstg = out->data[0] + slice_start * out->linesize[0]; in color_balance8_p()
164 uint8_t *dstb = out->data[1] + slice_start * out->linesize[1]; in color_balance8_p()
165 uint8_t *dstr = out->data[2] + slice_start * out->linesize[2]; in color_balance8_p()
166 uint8_t *dsta = out->data[3] + slice_start * out->linesize[3]; in color_balance8_p()
187 if (in != out && out->linesize[3]) in color_balance8_p()
191 srcg += in->linesize[ in color_balance8_p()
[all...]
H A Dvf_w3fdif.c40 int linesize[4]; ///< bytes of pixel data per line for each plane member
104 const int16_t *coef, int linesize) in filter_simple_low()
108 for (i = 0; i < linesize; i++) { in filter_simple_low()
116 const int16_t *coef, int linesize) in filter_complex_low()
120 for (i = 0; i < linesize; i++) { in filter_complex_low()
131 const int16_t *coef, int linesize) in filter_simple_high()
135 for (i = 0; i < linesize; i++) { in filter_simple_high()
148 const int16_t *coef, int linesize) in filter_complex_high()
152 for (i = 0; i < linesize; i++) { in filter_complex_high()
166 static void filter_scale(uint8_t *out_pixel, const int32_t *work_pixel, int linesize, in argument
102 filter_simple_low(int32_t *work_line, uint8_t *in_lines_cur[2], const int16_t *coef, int linesize) filter_simple_low() argument
114 filter_complex_low(int32_t *work_line, uint8_t *in_lines_cur[4], const int16_t *coef, int linesize) filter_complex_low() argument
128 filter_simple_high(int32_t *work_line, uint8_t *in_lines_cur[3], uint8_t *in_lines_adj[3], const int16_t *coef, int linesize) filter_simple_high() argument
145 filter_complex_high(int32_t *work_line, uint8_t *in_lines_cur[5], uint8_t *in_lines_adj[5], const int16_t *coef, int linesize) filter_complex_high() argument
174 filter16_simple_low(int32_t *work_line, uint8_t *in_lines_cur8[2], const int16_t *coef, int linesize) filter16_simple_low() argument
188 filter16_complex_low(int32_t *work_line, uint8_t *in_lines_cur8[4], const int16_t *coef, int linesize) filter16_complex_low() argument
207 filter16_simple_high(int32_t *work_line, uint8_t *in_lines_cur8[3], uint8_t *in_lines_adj8[3], const int16_t *coef, int linesize) filter16_simple_high() argument
231 filter16_complex_high(int32_t *work_line, uint8_t *in_lines_cur8[5], uint8_t *in_lines_adj8[5], const int16_t *coef, int linesize) filter16_complex_high() argument
263 filter16_scale(uint8_t *out_pixel8, const int32_t *work_pixel, int linesize, int max) filter16_scale() argument
374 const int linesize = s->linesize[plane]; deinterlace_plane_slice() local
[all...]
H A Davf_showwaves.c92 void (*draw_sample)(uint8_t *buf, int height, int linesize,
225 static void draw_sample_point_rgba_scale(uint8_t *buf, int height, int linesize, in draw_sample_point_rgba_scale() argument
230 buf[h * linesize + 0] += color[0]; in draw_sample_point_rgba_scale()
231 buf[h * linesize + 1] += color[1]; in draw_sample_point_rgba_scale()
232 buf[h * linesize + 2] += color[2]; in draw_sample_point_rgba_scale()
233 buf[h * linesize + 3] += color[3]; in draw_sample_point_rgba_scale()
237 static void draw_sample_point_rgba_full(uint8_t *buf, int height, int linesize, in draw_sample_point_rgba_full() argument
242 buf[h * linesize + 0] = color[0]; in draw_sample_point_rgba_full()
243 buf[h * linesize + 1] = color[1]; in draw_sample_point_rgba_full()
244 buf[h * linesize in draw_sample_point_rgba_full()
249 draw_sample_line_rgba_scale(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_line_rgba_scale() argument
266 draw_sample_line_rgba_full(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_line_rgba_full() argument
283 draw_sample_p2p_rgba_scale(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_p2p_rgba_scale() argument
309 draw_sample_p2p_rgba_full(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_p2p_rgba_full() argument
335 draw_sample_cline_rgba_scale(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_cline_rgba_scale() argument
349 draw_sample_cline_rgba_full(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_cline_rgba_full() argument
364 draw_sample_point_gray(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_point_gray() argument
372 draw_sample_line_gray(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_line_gray() argument
385 draw_sample_p2p_gray(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_p2p_gray() argument
404 draw_sample_cline_gray(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) draw_sample_cline_gray() argument
582 const int linesize = out->linesize[0]; push_single_pic() local
716 const int linesize = outpicref->linesize[0]; showwaves_filter_frame() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dvp9_mc_template.c59 ref1->data[0], ref1->linesize[0], tref1, in inter_pred()
63 ref1->data[0], ref1->linesize[0], tref1, in inter_pred()
71 ref1->data[1], ref1->linesize[1], in inter_pred()
72 ref1->data[2], ref1->linesize[2], tref1, in inter_pred()
78 ref1->data[1], ref1->linesize[1], in inter_pred()
79 ref1->data[2], ref1->linesize[2], tref1, in inter_pred()
92 ref1->data[1], ref1->linesize[1], in inter_pred()
93 ref1->data[2], ref1->linesize[2], tref1, in inter_pred()
100 ref2->data[0], ref2->linesize[0], tref2, in inter_pred()
104 ref2->data[0], ref2->linesize[ in inter_pred()
[all...]
H A Dimm4.c235 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x, in decode_intra()
236 frame->linesize[0], s->block[0]); in decode_intra()
237 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x + 8, in decode_intra()
238 frame->linesize[0], s->block[1]); in decode_intra()
239 s->idsp.idct_put(frame->data[0] + (y + 8) * frame->linesize[0] + x, in decode_intra()
240 frame->linesize[0], s->block[2]); in decode_intra()
241 s->idsp.idct_put(frame->data[0] + (y + 8) * frame->linesize[0] + x + 8, in decode_intra()
242 frame->linesize[0], s->block[3]); in decode_intra()
243 s->idsp.idct_put(frame->data[1] + (y >> 1) * frame->linesize[1] + (x >> 1), in decode_intra()
244 frame->linesize[ in decode_intra()
[all...]
H A Dsheervideo.c76 dst_y += p->linesize[0] / 2; in decode_ca4i()
77 dst_u += p->linesize[1] / 2; in decode_ca4i()
78 dst_v += p->linesize[2] / 2; in decode_ca4i()
79 dst_a += p->linesize[3] / 2; in decode_ca4i()
119 dst_y += p->linesize[0] / 2; in decode_ca4p()
120 dst_u += p->linesize[1] / 2; in decode_ca4p()
121 dst_v += p->linesize[2] / 2; in decode_ca4p()
122 dst_a += p->linesize[3] / 2; in decode_ca4p()
136 pred_TL[0] = pred_L[0] = dst_y[-p->linesize[0] / 2]; in decode_ca4p()
137 pred_TL[1] = pred_L[1] = dst_u[-p->linesize[ in decode_ca4p()
[all...]
H A Dscpr.h77 int linesize, uint32_t *plx, uint32_t *ply, in decode_run_i()
93 dst[y * linesize + x] = clr; in decode_run_i()
107 dst[y * linesize + x] = dst[ly * linesize + lx]; in decode_run_i()
118 clr = dst[ly * linesize + lx]; in decode_run_i()
125 clr = dst[y * linesize + x + off + 1]; in decode_run_i()
126 dst[y * linesize + x] = clr; in decode_run_i()
144 int off1 = (ly * linesize + lx) * 4; in decode_run_i()
145 int off2 = ((y * linesize + x) + off) * 4; in decode_run_i()
163 dst[y * linesize in decode_run_i()
75 decode_run_i(AVCodecContext *avctx, uint32_t ptype, int run, int *px, int *py, uint32_t clr, uint32_t *dst, int linesize, uint32_t *plx, uint32_t *ply, uint32_t backstep, int off, int *cx, int *cx1) decode_run_i() argument
217 decode_run_p(AVCodecContext *avctx, uint32_t ptype, int run, int x, int y, uint32_t clr, uint32_t *dst, uint32_t *prev, int linesize, int plinesize, uint32_t *bx, uint32_t *by, uint32_t backstep, int sx1, int sx2, int *cx, int *cx1) decode_run_p() argument
[all...]
H A Dh264_loopfilter.c240 unsigned int linesize, in h264_filter_mb_fast_internal()
273 filter_mb_edgev( &img_y[4*0<<pixel_shift], linesize, bS4, qp0, a, b, h, 1); in h264_filter_mb_fast_internal()
275 filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
277 filter_mb_edgeh( &img_y[4*0*linesize], linesize, bSH, qp1, a, b, h, 1); in h264_filter_mb_fast_internal()
279 filter_mb_edgeh( &img_y[4*2*linesize], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
281 filter_mb_edgev( &img_y[4*1<<pixel_shift], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
282 filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0); in h264_filter_mb_fast_internal()
283 filter_mb_edgev( &img_y[4*3<<pixel_shift], linesize, bS in h264_filter_mb_fast_internal()
234 h264_filter_mb_fast_internal(const H264Context *h, H264SliceContext *sl, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize, int pixel_shift) h264_filter_mb_fast_internal() argument
416 ff_h264_filter_mb_fast(const H264Context *h, H264SliceContext *sl, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize) ff_h264_filter_mb_fast() argument
468 filter_mb_dir(const H264Context *h, H264SliceContext *sl, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize, int mb_xy, int mb_type, int mvy_limit, int first_vertical_edge_done, int a, int b, int chroma, int dir) filter_mb_dir() argument
716 ff_h264_filter_mb(const H264Context *h, H264SliceContext *sl, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize) ff_h264_filter_mb() argument
[all...]
H A 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, p in vc1_i_v_loop_filter()
372 int idx, linesize = block_num > 3 ? s->uvlinesize : s->linesize; vc1_p_h_loop_filter() local
425 int idx, linesize = block_num > 3 ? s->uvlinesize : s->linesize; vc1_p_v_loop_filter() local
808 int linesize = block_num > 3 ? s->uvlinesize : s->linesize; vc1_p_h_intfr_loop_filter() local
858 int linesize = block_num > 3 ? s->uvlinesize : s->linesize; vc1_p_v_intfr_loop_filter() local
1120 int idx, linesize = block_num > 3 ? s->uvlinesize : s->linesize; vc1_b_h_intfi_loop_filter() local
1152 int idx, linesize = block_num > 3 ? s->uvlinesize : s->linesize; vc1_b_v_intfi_loop_filter() local
[all...]
H A Dmv30.c299 uint8_t *dst, int linesize) in decode_intra_block()
306 s->bdsp.fill_block_tab[1](dst, 128, linesize, 8); in decode_intra_block()
312 s->bdsp.fill_block_tab[1](dst, block[0], linesize, 8); in decode_intra_block()
322 idct2_put(dst, linesize, block); in decode_intra_block()
330 idct_put(dst, linesize, block); in decode_intra_block()
340 uint8_t *dst, int linesize, in decode_inter_block()
347 copy_block8(dst, src, linesize, in_linesize, 8); in decode_inter_block()
353 update_inter_block(dst, linesize, src, in_linesize, block[0]); in decode_inter_block()
363 idct2_add(dst, linesize, src, in_linesize, block); in decode_inter_block()
371 idct_add(dst, linesize, sr in decode_inter_block()
296 decode_intra_block(AVCodecContext *avctx, int mode, GetByteContext *gbyte, int16_t *qtab, int *block, int *pfill, uint8_t *dst, int linesize) decode_intra_block() argument
337 decode_inter_block(AVCodecContext *avctx, int mode, GetByteContext *gbyte, int16_t *qtab, int *block, int *pfill, uint8_t *dst, int linesize, const uint8_t *src, int in_linesize) decode_inter_block() argument
409 int linesize[6]; decode_intra() local
473 int linesize[6]; decode_inter() local
[all...]
H A Deatgq.c119 ptrdiff_t linesize = frame->linesize[0]; in tgq_idct_put_mb() local
120 uint8_t *dest_y = frame->data[0] + (mb_y * 16 * linesize) + mb_x * 16; in tgq_idct_put_mb()
121 uint8_t *dest_cb = frame->data[1] + (mb_y * 8 * frame->linesize[1]) + mb_x * 8; in tgq_idct_put_mb()
122 uint8_t *dest_cr = frame->data[2] + (mb_y * 8 * frame->linesize[2]) + mb_x * 8; in tgq_idct_put_mb()
124 ff_ea_idct_put_c(dest_y , linesize, block[0]); in tgq_idct_put_mb()
125 ff_ea_idct_put_c(dest_y + 8, linesize, block[1]); in tgq_idct_put_mb()
126 ff_ea_idct_put_c(dest_y + 8 * linesize , linesize, block[2]); in tgq_idct_put_mb()
127 ff_ea_idct_put_c(dest_y + 8 * linesize in tgq_idct_put_mb()
146 ptrdiff_t linesize = frame->linesize[0]; tgq_idct_put_mb_dconly() local
[all...]
H A Dwmv2.c58 ptrdiff_t offset, linesize, uvlinesize; in ff_mspel_motion() local
76 linesize = s->linesize; in ff_mspel_motion()
78 ptr = ref_picture[0] + (src_y * linesize) + src_x; in ff_mspel_motion()
82 s->vdsp.emulated_edge_mc(s->sc.edge_emu_buffer, ptr - 1 - s->linesize, in ff_mspel_motion()
83 s->linesize, s->linesize, 19, 19, in ff_mspel_motion()
86 ptr = s->sc.edge_emu_buffer + 1 + s->linesize; in ff_mspel_motion()
90 w->wdsp.put_mspel_pixels_tab[dxy](dest_y, ptr, linesize); in ff_mspel_motion()
91 w->wdsp.put_mspel_pixels_tab[dxy](dest_y + 8, ptr + 8, linesize); in ff_mspel_motion()
[all...]
H A Dh264_mb_template.c48 int linesize, uvlinesize /*dct_offset*/; in hl_decode_mb() local
56 dest_y = h->cur_pic.f->data[0] + ((mb_x << PIXEL_SHIFT) + mb_y * sl->linesize) * 16; in hl_decode_mb()
60 h->vdsp.prefetch(dest_y + (sl->mb_x & 3) * 4 * sl->linesize + (64 << PIXEL_SHIFT), sl->linesize, 4); in hl_decode_mb()
66 linesize = sl->mb_linesize = sl->linesize * 2; in hl_decode_mb()
70 dest_y -= sl->linesize * 15; in hl_decode_mb()
93 linesize = sl->mb_linesize = sl->linesize; in hl_decode_mb()
95 // dct_offset = s->linesize * 1 in hl_decode_mb()
263 int linesize; hl_decode_mb_444() local
[all...]
H A Djvdec.c66 static inline void decode2x2(GetBitContext *gb, uint8_t *dst, int linesize) in decode2x2() argument
74 memset(dst + j * linesize, v[0], 2); in decode2x2()
81 dst[j * linesize + i] = v[get_bits1(gb)]; in decode2x2()
86 dst[j * linesize + i] = get_bits(gb, 8); in decode2x2()
93 static inline void decode4x4(GetBitContext *gb, uint8_t *dst, int linesize) in decode4x4() argument
101 memset(dst + j * linesize, v[0], 4); in decode4x4()
108 dst[j * linesize + i] = v[get_bits1(gb)]; in decode4x4()
110 dst[(j + 1) * linesize + i] = v[get_bits1(gb)]; in decode4x4()
116 decode2x2(gb, dst + j * linesize + i, linesize); in decode4x4()
123 decode8x8(GetBitContext *gb, uint8_t *dst, int linesize, BlockDSPContext *bdsp) decode8x8() argument
[all...]
H A Dcinepakenc.c222 s->last_frame->linesize[0] = s->w; in cinepak_encode_init()
224 s->best_frame->linesize[0] = s->w; in cinepak_encode_init()
226 s->scratch_frame->linesize[0] = s->w; in cinepak_encode_init()
231 s->last_frame->linesize[1] = in cinepak_encode_init()
232 s->last_frame->linesize[2] = s->w >> 1; in cinepak_encode_init()
236 s->best_frame->linesize[1] = in cinepak_encode_init()
237 s->best_frame->linesize[2] = s->w >> 1; in cinepak_encode_init()
241 s->scratch_frame->linesize[1] = in cinepak_encode_init()
242 s->scratch_frame->linesize[2] = s->w >> 1; in cinepak_encode_init()
245 s->input_frame->linesize[ in cinepak_encode_init()
448 decode_v1_vector(CinepakEncContext *s, uint8_t *data[4], int linesize[4], int v1_vector, strip_info *info) decode_v1_vector() argument
487 decode_v4_vector(CinepakEncContext *s, uint8_t *data[4], int linesize[4], int *v4_vector, strip_info *info) decode_v4_vector() argument
699 quantize(CinepakEncContext *s, int h, uint8_t *data[4], int linesize[4], int v1mode, strip_info *info, mb_encoding encoding) quantize() argument
814 calculate_skip_errors(CinepakEncContext *s, int h, uint8_t *last_data[4], int last_linesize[4], uint8_t *data[4], int linesize[4], strip_info *info) calculate_skip_errors() argument
860 rd_strip(CinepakEncContext *s, int y, int h, int keyframe, uint8_t *last_data[4], int last_linesize[4], uint8_t *data[4], int linesize[4], uint8_t *scratch_data[4], int scratch_linesize[4], unsigned char *buf, int64_t *best_score, int *no_skip) rd_strip() argument
1013 int last_linesize[4], linesize[4], scratch_linesize[4]; rd_frame() local
[all...]
H A Davuidec.c86 y = pic->data[0] + (1 - i) * pic->linesize[0]; in avui_decode_frame()
87 u = pic->data[1] + (1 - i) * pic->linesize[1]; in avui_decode_frame()
88 v = pic->data[2] + (1 - i) * pic->linesize[2]; in avui_decode_frame()
89 a = pic->data[3] + (1 - i) * pic->linesize[3]; in avui_decode_frame()
91 y = pic->data[0] + i * pic->linesize[0]; in avui_decode_frame()
92 u = pic->data[1] + i * pic->linesize[1]; in avui_decode_frame()
93 v = pic->data[2] + i * pic->linesize[2]; in avui_decode_frame()
94 a = pic->data[3] + i * pic->linesize[3]; in avui_decode_frame()
109 y += (interlaced + 1) * pic->linesize[0]; in avui_decode_frame()
110 u += (interlaced + 1) * pic->linesize[ in avui_decode_frame()
[all...]
H A Dphotocd.c101 ptr += picture->linesize[0] << 1; in interp_lowres()
113 ptr += picture->linesize[0] << 1; in interp_lowres()
125 ptr1 += picture->linesize[1] << 1; in interp_lowres()
137 ptr2 += picture->linesize[2] << 1; in interp_lowres()
143 static av_noinline void interp_lines(uint8_t *ptr, int linesize, in interp_lines() argument
152 uint8_t *dst = ptr + linesize; in interp_lines()
153 const uint8_t *src2 = dst + linesize; in interp_lines()
160 ptr += linesize << 1; in interp_lines()
164 dst = ptr + linesize; in interp_lines()
172 static av_noinline void interp_pixels(uint8_t *ptr, int linesize, in interp_pixels() argument
[all...]
H A Dproresdsp.c41 static inline void put_pixel(uint16_t *dst, ptrdiff_t linesize, const int16_t *in, int bits_per_raw_sample) { in put_pixel() argument
44 for (y = 0, dst_offset = 0; y < 8; y++, dst_offset += linesize) { in put_pixel()
57 static void put_pixels_10(uint16_t *dst, ptrdiff_t linesize, const int16_t *in) in put_pixels_10() argument
59 put_pixel(dst, linesize, in, 10); in put_pixels_10()
62 static void put_pixels_12(uint16_t *dst, ptrdiff_t linesize, const int16_t *in) in put_pixels_12() argument
64 put_pixel(dst, linesize, in, 12); in put_pixels_12()
67 static void prores_idct_put_10_c(uint16_t *out, ptrdiff_t linesize, int16_t *block, const int16_t *qmat) in prores_idct_put_10_c() argument
70 put_pixels_10(out, linesize >> 1, block); in prores_idct_put_10_c()
73 static void prores_idct_put_12_c(uint16_t *out, ptrdiff_t linesize, int16_t *block, const int16_t *qmat) in prores_idct_put_12_c() argument
76 put_pixels_12(out, linesize >> in prores_idct_put_12_c()
[all...]

Completed in 19 milliseconds

12345678910>>...29