Home
last modified time | relevance | path

Searched refs:srcp (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_mcdeint.c210 uint8_t *srcp = &inpic ->data[i][x + y*srcs]; in filter_frame() local
215 int diff0 = filp[-fils] - srcp[-srcs]; in filter_frame()
216 int diff1 = filp[+fils] - srcp[+srcs]; in filter_frame()
222 FFABS(srcp[-srcs+DELTA(-1+(j))] - srcp[+srcs+DELTA(-1-(j))])+\ in filter_frame()
223 FFABS(srcp[-srcs+DELTA(j) ] - srcp[+srcs+DELTA( -(j))])+\ in filter_frame()
224 FFABS(srcp[-srcs+DELTA(1+(j)) ] - srcp[+srcs+DELTA( 1-(j))]) in filter_frame()
227 FFABS(srcp[-srcs-1+(j)] - srcp[+srcs-1-(j)])+\ in filter_frame()
228 FFABS(srcp[-srcs +(j)] - srcp[+srcs -(j)])+\ in filter_frame()
229 FFABS(srcp[-srcs+1+(j)] - srcp[+srcs+1-(j)]) in filter_frame()
235 diff0 = filp[-fils+DELTA(j)] - srcp[-srcs+DELTA(j)];\ in filter_frame()
[all …]
Dvf_kerndeint.c121 const uint8_t *srcp; ///< Current field's pixel line number n in filter_frame() local
163 srcp = srcp_saved + (1 - order) * src_linesize; in filter_frame()
167 memcpy(dstp, srcp, bwidth); in filter_frame()
168 srcp += 2 * src_linesize; in filter_frame()
188 srcp = srcp_saved + 5 * src_linesize - (1 - order) * src_linesize; in filter_frame()
189 srcpp = srcp - src_linesize; in filter_frame()
190 srcppp = srcp - 2 * src_linesize; in filter_frame()
191 srcp3p = srcp - 3 * src_linesize; in filter_frame()
192 srcp4p = srcp - 4 * src_linesize; in filter_frame()
194 srcpn = srcp + src_linesize; in filter_frame()
[all …]
Daf_adenorm.c76 const void *srcp, int nb_samples) in dc_denorm_fltp() argument
79 const float *src = (const float *)srcp; in dc_denorm_fltp()
89 const void *srcp, int nb_samples) in dc_denorm_dblp() argument
92 const double *src = (const double *)srcp; in dc_denorm_dblp()
102 const void *srcp, int nb_samples) in ac_denorm_fltp() argument
105 const float *src = (const float *)srcp; in ac_denorm_fltp()
116 const void *srcp, int nb_samples) in ac_denorm_dblp() argument
119 const double *src = (const double *)srcp; in ac_denorm_dblp()
130 const void *srcp, int nb_samples) in sq_denorm_fltp() argument
133 const float *src = (const float *)srcp; in sq_denorm_fltp()
[all …]
Dvf_tinterlace.c112 static void lowpass_line_c(uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp, in lowpass_line_c() argument
115 const uint8_t *srcp_above = srcp + mref; in lowpass_line_c()
116 const uint8_t *srcp_below = srcp + pref; in lowpass_line_c()
122 dstp[i] = (1 + srcp[i] + srcp[i] + srcp_above[i] + srcp_below[i]) >> 2; in lowpass_line_c()
130 const uint16_t *srcp = (const uint16_t *)src8; in lowpass_line_c_16() local
131 const uint16_t *srcp_above = srcp + mref / 2; in lowpass_line_c_16()
132 const uint16_t *srcp_below = srcp + pref / 2; in lowpass_line_c_16()
138 src_x = av_le2ne16(srcp[i]) << 1; in lowpass_line_c_16()
144 static void lowpass_line_complex_c(uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp, in lowpass_line_complex_c() argument
147 const uint8_t *srcp_above = srcp + mref; in lowpass_line_complex_c()
[all …]
Dmedian_template.c64 const pixel *srcp; in fn() local
73 srcp = src + FFMAX(0, slice_h_start - radiusV) * src_linesize; in fn()
76 cfine[PICK_FINE_BIN(width, srcp[i], i)] += radiusV + 1; in fn()
77 ccoarse[PICK_COARSE_BIN(i, srcp[i])] += radiusV + 1; in fn()
81 srcp = src + FFMAX(0, slice_h_start - radiusV - (jobnr != 0)) * src_linesize; in fn()
84 cfine[PICK_FINE_BIN(width, srcp[j], j)]++; in fn()
85 ccoarse[PICK_COARSE_BIN(j, srcp[j])]++; in fn()
87 srcp += src_linesize; in fn()
90 srcp = src; in fn()
97 p = srcp + src_linesize * FFMAX(0, i - radiusV - 1); in fn()
[all …]
Dvf_fieldmatch.c203 const uint8_t *srcp = src->data[plane]; in calc_combed_score() local
218 abs( 4 * srcp[x] \ in calc_combed_score()
219 -3 * (srcp[x + (xm1)*src_linesize] + srcp[x + (xp1)*src_linesize]) \ in calc_combed_score()
220 + (srcp[x + (xm2)*src_linesize] + srcp[x + (xp2)*src_linesize])) > cthresh6 in calc_combed_score()
224 const int s1 = abs(srcp[x] - srcp[x + src_linesize]); in calc_combed_score()
228 srcp += src_linesize; in calc_combed_score()
233 const int s1 = abs(srcp[x] - srcp[x - src_linesize]); in calc_combed_score()
234 const int s2 = abs(srcp[x] - srcp[x + src_linesize]); in calc_combed_score()
238 srcp += src_linesize; in calc_combed_score()
244 const int s1 = abs(srcp[x] - srcp[x - src_linesize]); in calc_combed_score()
[all …]
Dvf_vignette.c241 const uint8_t *srcp = src; in filter_frame() local
243 for (x = 0; x < inlink->w; x++, dstp += 3, srcp += 3) { in filter_frame()
246 dstp[0] = av_clip_uint8(srcp[0] * f + get_dither_value(s)); in filter_frame()
247 dstp[1] = av_clip_uint8(srcp[1] * f + get_dither_value(s)); in filter_frame()
248 dstp[2] = av_clip_uint8(srcp[2] * f + get_dither_value(s)); in filter_frame()
272 const uint8_t *srcp = src; in filter_frame() local
276 … if (chroma) *dstp++ = av_clip_uint8(fmap[x << hsub] * (*srcp++ - 127) + 127 + dv); in filter_frame()
277 … else *dstp++ = av_clip_uint8(fmap[x ] * *srcp++ + dv); in filter_frame()
Dvf_dctdnoiz.c420 const uint8_t *srcp = src[0]; in color_decorrelation() local
424 dstp_r[x] = srcp[r] * DCT3X3_0_0 + srcp[g] * DCT3X3_0_1 + srcp[b] * DCT3X3_0_2; in color_decorrelation()
425 dstp_g[x] = srcp[r] * DCT3X3_1_0 + srcp[b] * DCT3X3_1_2; in color_decorrelation()
426 dstp_b[x] = srcp[r] * DCT3X3_2_0 + srcp[g] * DCT3X3_2_1 + srcp[b] * DCT3X3_2_2; in color_decorrelation()
427 srcp += 3; in color_decorrelation()
429 srcp += src_linesize - w * 3; in color_decorrelation()
768 const uint8_t *srcp = src + s->pr_width * 3; in filter_frame() local
771 memcpy(dstp, srcp, hpad); in filter_frame()
773 srcp += src_linesize; in filter_frame()
778 const uint8_t *srcp = src + s->pr_height * src_linesize; in filter_frame() local
[all …]
Dvf_colormatrix.c216 const unsigned char *srcp = src->data[0] + slice_start * src_pitch; in process_slice_uyvy422() local
228 const int u = srcp[x + 0] - 128; in process_slice_uyvy422()
229 const int v = srcp[x + 2] - 128; in process_slice_uyvy422()
232 dstp[x + 1] = CB((65536 * (srcp[x + 1] - 16) + uvval) >> 16); in process_slice_uyvy422()
234 dstp[x + 3] = CB((65536 * (srcp[x + 3] - 16) + uvval) >> 16); in process_slice_uyvy422()
236 srcp += src_pitch; in process_slice_uyvy422()
Dvf_bm3d.c117 void (*get_block_row)(const uint8_t *srcp, int src_linesize,
237 const uint8_t *srcp = src + pos->y * src_stride + pos->x; in do_block_ssd() local
245 double temp = refp[x] - srcp[x]; in do_block_ssd()
249 srcp += src_stride; in do_block_ssd()
258 const uint16_t *srcp = (uint16_t *)src + pos->y * src_stride / 2 + pos->x; in do_block_ssd16() local
266 double temp = refp[x] - srcp[x]; in do_block_ssd16()
270 srcp += src_stride / 2; in do_block_ssd16()
372 static void get_block_row(const uint8_t *srcp, int src_linesize, in get_block_row() argument
375 const uint8_t *src = srcp + y * src_linesize + x; in get_block_row()
383 static void get_block_row16(const uint8_t *srcp, int src_linesize, in get_block_row16() argument
[all …]
Dtinterlace.h78 void (*lowpass_line)(uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp,
Daf_speechnorm.c84 const uint8_t *srcp, int nb_samples);
253 const uint8_t *srcp, int nb_samples) \
256 const ptype *src = (const ptype *)srcp; \
Dvf_curves.c559 const uint16_t *srcp = (const uint16_t *)(in ->data[0] + y * in->linesize[0]); in filter_slice_packed() local
562 dstp[x + r] = curves->graph[R][srcp[x + r]]; in filter_slice_packed()
563 dstp[x + g] = curves->graph[G][srcp[x + g]]; in filter_slice_packed()
564 dstp[x + b] = curves->graph[B][srcp[x + b]]; in filter_slice_packed()
566 dstp[x + a] = srcp[x + a]; in filter_slice_packed()
Dvf_fftdnoiz.c167 static void import_row16(FFTComplex *dst, uint8_t *srcp, int rw) in import_row16() argument
169 uint16_t *src = (uint16_t *)srcp; in import_row16()
251 uint8_t *srcp, int src_linesize, in import_plane() argument
273 uint8_t *src = srcp + src_linesize * y * size + x * size * bpp; in import_plane()
/third_party/ffmpeg/libavfilter/x86/
Dvf_tinterlace_init.c31 const uint8_t *srcp, ptrdiff_t mref,
34 const uint8_t *srcp, ptrdiff_t mref,
37 const uint8_t *srcp, ptrdiff_t mref,
41 const uint8_t *srcp, ptrdiff_t mref,
44 const uint8_t *srcp, ptrdiff_t mref,
47 const uint8_t *srcp, ptrdiff_t mref,
51 const uint8_t *srcp, ptrdiff_t mref,
55 const uint8_t *srcp, ptrdiff_t mref,
/third_party/ffmpeg/libswscale/arm/
Dhscale.S36 mov r0, r3 @ srcp
37 2: add r11, r0, r8 @ srcp + filterPos[0]
38 add r12, r0, r9 @ srcp + filterPos[1]
39 vld1.8 d0, [r11] @ srcp[filterPos[0] + {0..7}]
40 vld1.8 d2, [r12] @ srcp[filterPos[1] + {0..7}]
45 …vmull.s16 q8, d0, d4 @ srcp[filterPos[0] + {0..7}] *…
46 …vmull.s16 q9, d1, d5 @ srcp[filterPos[0] + {0..7}] *…
47 …vmull.s16 q10, d2, d6 @ srcp[filterPos[1] + {0..7}] *…
48 …vmull.s16 q11, d3, d7 @ srcp[filterPos[1] + {0..7}] *…
55 add r0, #8 @ srcp += 8
Doutput.S41 mov r9, r2 @ srcp
/third_party/mesa3d/src/freedreno/ir3/
Dir3_dce.c90 foreach_ssa_srcp_n (srcp, n, use) in remove_unused_by_block()
91 if (*srcp == instr) in remove_unused_by_block()
92 *srcp = NULL; in remove_unused_by_block()
Dir3_nir_analyze_ubo_ranges.c218 handle_partial_const(nir_builder *b, nir_ssa_def **srcp, int *offp) in handle_partial_const() argument
220 if ((*srcp)->parent_instr->type != nir_instr_type_alu) in handle_partial_const()
223 nir_alu_instr *alu = nir_instr_as_alu((*srcp)->parent_instr); in handle_partial_const()
233 *srcp = nir_imul24(b, nir_ssa_for_alu_src(b, alu, 0), in handle_partial_const()
247 *srcp = alu->src[1].src.ssa; in handle_partial_const()
249 *srcp = alu->src[0].src.ssa; in handle_partial_const()
/third_party/gstreamer/gstplugins_bad/gst/smooth/
Dgstsmooth.c135 guchar *srcp = src, *destp = dest; in smooth_filter() local
159 aktval = srcp[fx]; in smooth_filter()
173 src = srcp + stride * y; in smooth_filter()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavcodecmap.c3216 guint8 *srcp = src;
3220 while (srcp < end) {
3221 if (count == 2 && *srcp <= 0x03) {
3226 if (*srcp == 0)
3231 GST_DEBUG ("copy %02x, count %d", *srcp, count);
3232 *dstp++ = *srcp++;
3243 guint8 *srcp = src;
3252 if (*srcp != 1)
3255 cnt = *(srcp + 5) & 0x1f; /* Number of sps */
3259 memcpy (dstp, srcp, 6);
[all …]
/third_party/gstreamer/gstplugins_good/ext/aalib/
Dgstaasink.c310 guchar *srcp = src; in gst_aasink_scale() local
314 srcp++; in gst_aasink_scale()
317 *destp++ = *srcp; in gst_aasink_scale()
Dgstaatv.c158 guchar *srcp = src; in gst_aatv_scale() local
162 srcp++; in gst_aatv_scale()
165 *destp++ = *srcp; in gst_aatv_scale()
/third_party/ffmpeg/libavcodec/
Dh264dec.c824 static int output_frame(H264Context *h, AVFrame *dst, H264Picture *srcp) in output_frame() argument
826 AVFrame *src = srcp->f; in output_frame()
835 if (srcp->sei_recovery_frame_cnt == 0) in output_frame()
839 ret = h264_export_enc_params(dst, srcp); in output_frame()
Drasc.c85 uint8_t *srcp = src->data[0]; in copy_plane() local
89 memcpy(dstp, srcp, s->stride); in copy_plane()
90 srcp += src->linesize[0]; in copy_plane()

12