Home
last modified time | relevance | path

Searched refs:srcStride (Results 1 – 25 of 59) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
Drv30dsp.c34 …30_tpel8_h_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, const int C1, c…
49 src += srcStride;\
53 …30_tpel8_v_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, const int C1, c…
59 const int srcA = src[-1*srcStride];\
60 const int src0 = src[0 *srcStride];\
61 const int src1 = src[1 *srcStride];\
62 const int src2 = src[2 *srcStride];\
63 const int src3 = src[3 *srcStride];\
64 const int src4 = src[4 *srcStride];\
65 const int src5 = src[5 *srcStride];\
[all …]
Dh264qpel_template.c29 static inline void FUNC(copy_block2)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride in FUNC()
36 src+=srcStride; in FUNC()
40 static inline void FUNC(copy_block4)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride in FUNC()
47 src+=srcStride; in FUNC()
51 static inline void FUNC(copy_block8)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride in FUNC()
59 src+=srcStride; in FUNC()
63 …line void FUNC(copy_block16)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) in FUNC()
73 src+=srcStride; in FUNC()
78 …NAME ## h264_qpel2_h_lowpass)(uint8_t *p_dst, const uint8_t *p_src, int dstStride, int srcStride){\
85 srcStride >>= sizeof(pixel)-1;\
[all …]
Dcopy_block.h27 …void copy_block2(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride, int h) in copy_block2() argument
33 src += srcStride; in copy_block2()
37 …void copy_block4(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride, int h) in copy_block4() argument
43 src += srcStride; in copy_block4()
47 …void copy_block8(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride, int h) in copy_block8() argument
53 src += srcStride; in copy_block8()
57 …void copy_block9(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride, int h) in copy_block9() argument
64 src += srcStride; in copy_block9()
68 …oid copy_block16(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride, int h) in copy_block16() argument
74 src += srcStride; in copy_block16()
[all …]
Dcavsdsp.c272 … cavs_filt8_h_ ## NAME(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride)\
288 src+=srcStride;\
292 …cavs_filt8_v_ ## NAME(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride)\
299 const int srcB= src[-2*srcStride];\
300 const int srcA= src[-1*srcStride];\
301 const int src0= src[0 *srcStride];\
302 const int src1= src[1 *srcStride];\
303 const int src2= src[2 *srcStride];\
304 const int src3= src[3 *srcStride];\
305 const int src4= src[4 *srcStride];\
[all …]
Dwmv2dsp.c143 int dstStride, int srcStride, int h) in wmv2_mspel8_h_lowpass() argument
158 src += srcStride; in wmv2_mspel8_h_lowpass()
163 int dstStride, int srcStride, int w) in wmv2_mspel8_v_lowpass() argument
169 const int src_1 = src[-srcStride]; in wmv2_mspel8_v_lowpass()
171 const int src1 = src[srcStride]; in wmv2_mspel8_v_lowpass()
172 const int src2 = src[2 * srcStride]; in wmv2_mspel8_v_lowpass()
173 const int src3 = src[3 * srcStride]; in wmv2_mspel8_v_lowpass()
174 const int src4 = src[4 * srcStride]; in wmv2_mspel8_v_lowpass()
175 const int src5 = src[5 * srcStride]; in wmv2_mspel8_v_lowpass()
176 const int src6 = src[6 * srcStride]; in wmv2_mspel8_v_lowpass()
[all …]
Dqpeldsp.c44 int dstStride, int srcStride, \
60 src += srcStride; \
65 int dstStride, int srcStride) \
72 const int src0 = src[0 * srcStride]; \
73 const int src1 = src[1 * srcStride]; \
74 const int src2 = src[2 * srcStride]; \
75 const int src3 = src[3 * srcStride]; \
76 const int src4 = src[4 * srcStride]; \
77 const int src5 = src[5 * srcStride]; \
78 const int src6 = src[6 * srcStride]; \
[all …]
Drv40dsp.c38 …oid OPNAME ## rv40_qpel8_h_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride,\
53 src += srcStride;\
57 …oid OPNAME ## rv40_qpel8_v_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride,\
63 const int srcB = src[-2*srcStride];\
64 const int srcA = src[-1*srcStride];\
65 const int src0 = src[0 *srcStride];\
66 const int src1 = src[1 *srcStride];\
67 const int src2 = src[2 *srcStride];\
68 const int src3 = src[3 *srcStride];\
69 const int src4 = src[4 *srcStride];\
[all …]
/third_party/ffmpeg/libswscale/
Dswscale_unscaled.c126 static void copyPlane(const uint8_t *src, int srcStride, in copyPlane() argument
131 if (dstStride == srcStride && srcStride > 0) { in copyPlane()
137 src += srcStride; in copyPlane()
144 int srcStride[], int srcSliceY, in planarToNv12Wrapper() argument
150 copyPlane(src[0], srcStride[0], srcSliceY, srcSliceH, c->srcW, in planarToNv12Wrapper()
155 srcStride[1], srcStride[2], dstStride[1]); in planarToNv12Wrapper()
158 srcStride[2], srcStride[1], dstStride[1]); in planarToNv12Wrapper()
164 int srcStride[], int srcSliceY, in nv12ToPlanarWrapper() argument
171 copyPlane(src[0], srcStride[0], srcSliceY, srcSliceH, c->srcW, in nv12ToPlanarWrapper()
176 srcStride[1], dstStride[1], dstStride[2]); in nv12ToPlanarWrapper()
[all …]
Dalphablend.c24 int srcStride[], int srcSliceY, int srcSliceH, in ff_sws_alphablendaway() argument
59 ptrdiff_t alpha_step = srcStride[plane_count] >> 1; in ff_sws_alphablendaway()
60 … const uint16_t *s = (const uint16_t *)(src[plane ] + srcStride[plane ] * ysrc); in ff_sws_alphablendaway()
61 …const uint16_t *a = (const uint16_t *)(src[plane_count] + (srcStride[plane_count] * ysrc << y_subs… in ff_sws_alphablendaway()
85 ptrdiff_t alpha_step = srcStride[plane_count]; in ff_sws_alphablendaway()
86 const uint8_t *s = src[plane ] + srcStride[plane] * ysrc; in ff_sws_alphablendaway()
87 … const uint8_t *a = src[plane_count] + (srcStride[plane_count] * ysrc << y_subsample); in ff_sws_alphablendaway()
101 … const uint16_t *s = (const uint16_t *)(src[plane ] + srcStride[plane ] * ysrc); in ff_sws_alphablendaway()
102 … const uint16_t *a = (const uint16_t *)(src[plane_count] + srcStride[plane_count] * ysrc); in ff_sws_alphablendaway()
117 const uint8_t *s = src[plane ] + srcStride[plane] * ysrc; in ff_sws_alphablendaway()
[all …]
Dswscale.c239 int srcStride[], int srcSliceY, in swscale() argument
293 srcStride[1] = in swscale()
294 srcStride[2] = in swscale()
295 srcStride[3] = srcStride[0]; in swscale()
297 srcStride[1] *= 1 << c->vChrDrop; in swscale()
298 srcStride[2] *= 1 << c->vChrDrop; in swscale()
301 src[0], srcStride[0], src[1], srcStride[1], in swscale()
302 src[2], srcStride[2], src[3], srcStride[3], in swscale()
324 || srcStride[0]&15 || srcStride[1]&15 || srcStride[2]&15 || srcStride[3]&15 in swscale()
351 ff_init_slice_from_src(src_slice, (uint8_t**)src, srcStride, c->srcW, in swscale()
[all …]
Drgb2rgb_template.c534 int chromStride, int srcStride) in yuy2toyv12_c() argument
548 src += srcStride; in yuy2toyv12_c()
557 src += srcStride; in yuy2toyv12_c()
562 int srcHeight, int srcStride, int dstStride) in planar2x_c() argument
580 dst[0] = (src[0] * 3 + src[srcStride]) >> 2; in planar2x_c()
581 dst[dstStride] = (src[0] + 3 * src[srcStride]) >> 2; in planar2x_c()
584 dst[2 * x + 1] = (src[x + 0] * 3 + src[x + srcStride + 1]) >> 2; in planar2x_c()
585 dst[2 * x + dstStride + 2] = (src[x + 0] + 3 * src[x + srcStride + 1]) >> 2; in planar2x_c()
586 dst[2 * x + dstStride + 1] = (src[x + 1] + 3 * src[x + srcStride]) >> 2; in planar2x_c()
587 dst[2 * x + 2] = (src[x + 1] * 3 + src[x + srcStride]) >> 2; in planar2x_c()
[all …]
Drgb2rgb.h84 int chromStride, int srcStride, int32_t *rgb2yuv);
107 int lumStride, int chromStride, int srcStride);
132 int lumStride, int chromStride, int srcStride,
135 int srcStride, int dstStride);
142 int width, int height, int srcStride,
159 int lumStride, int chromStride, int srcStride);
162 int lumStride, int chromStride, int srcStride);
165 int lumStride, int chromStride, int srcStride);
168 int lumStride, int chromStride, int srcStride);
/third_party/ffmpeg/libavcodec/x86/
Dcavsdsp.c138 src -= 2*srcStride;\
168 : "S"((x86_reg)srcStride), "r"((x86_reg)dstStride)\
184 : "S"((x86_reg)srcStride), "r"((x86_reg)dstStride)\
189 src += 4-(h+5)*srcStride;\
194 …# cavs_qpel8_h_ ## MMX(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride)\
237 : "d"((x86_reg)srcStride), "S"((x86_reg)dstStride)\
243 …or16_v1_ ## MMX(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride, int h)\
248 …or16_v2_ ## MMX(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride, int h)\
253 …or16_v3_ ## MMX(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride, int h)\
258 … cavs_qpel8_v1_ ## MMX(uint8_t *dst, const uint8_t *src, ptrdiff_t dstStride, ptrdiff_t srcStride)\
[all …]
Dh264_qpel.c54 …E ## _h264_qpel4_h_lowpass_mmxext(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride);\
55 …E ## _h264_qpel8_h_lowpass_mmxext(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride);\
56 …ME ## _h264_qpel8_h_lowpass_ssse3(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride);\
60 …E ## _h264_qpel4_v_lowpass_mmxext(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride);\
61 …l8or16_v_lowpass_op_mmxext(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h);\
62 …4_qpel8or16_v_lowpass_sse2(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h);\
63 …ff_ ## OPNAME ## _h264_qpel4_hv_lowpass_v_mmxext(const uint8_t *src, int16_t *tmp, int srcStride);\
65 … _h264_qpel8or16_hv1_lowpass_op_mmxext(const uint8_t *src, int16_t *tmp, int srcStride, int size);\
66 …## _h264_qpel8or16_hv1_lowpass_op_sse2(const uint8_t *src, int16_t *tmp, int srcStride, int size);\
75 …l8or16_hv1_lowpass_mmxext(int16_t *tmp, const uint8_t *src, int tmpStride, int srcStride, int size) in DEF_QPEL()
[all …]
Dqpeldsp_init.c53 int dstStride, int srcStride, int h);
55 int dstStride, int srcStride, int h);
58 int dstStride, int srcStride,
61 int dstStride, int srcStride, int h);
63 int dstStride, int srcStride, int h);
66 int dstStride, int srcStride,
69 int dstStride, int srcStride);
71 int dstStride, int srcStride);
74 int dstStride, int srcStride);
76 int dstStride, int srcStride);
[all …]
/third_party/ffmpeg/libswscale/arm/
Dswscale_unscaled.c38 int srcStride[], int srcSliceY, int srcSliceH, in rgbx_to_nv12_neon_32_wrapper() argument
41 rgbx_to_nv12_neon_32(src[0] + srcSliceY * srcStride[0], in rgbx_to_nv12_neon_32_wrapper()
45 dstStride[0], dstStride[1], srcStride[0], in rgbx_to_nv12_neon_32_wrapper()
52 int srcStride[], int srcSliceY, int srcSliceH, in rgbx_to_nv12_neon_16_wrapper() argument
55 rgbx_to_nv12_neon_16(src[0] + srcSliceY * srcStride[0], in rgbx_to_nv12_neon_16_wrapper()
59 dstStride[0], dstStride[1], srcStride[0], in rgbx_to_nv12_neon_16_wrapper()
82 int srcStride[], int srcSliceY, int srcSliceH, \
88 src[0], srcStride[0], \
89 src[1], srcStride[1], \
90 src[2], srcStride[2], \
[all …]
/third_party/ffmpeg/libswscale/x86/
Dyuv2rgb_template.c38 const uint8_t *py = src[0] + y * srcStride[0]; \
39 const uint8_t *pu = src[1] + (y >> vshift) * srcStride[1]; \
40 const uint8_t *pv = src[2] + (y >> vshift) * srcStride[2]; \
71 int srcStride[], in RENAME()
91 int srcStride[],
111 int srcStride[],
125 int srcStride[],
139 int srcStride[],
146 const uint8_t *pa = src[3] + y * srcStride[3];
153 int srcStride[],
[all …]
Drgb2rgb_template.c1261 int lumStride, int chromStride, int srcStride) in RENAME()
1319 src += srcStride; in RENAME()
1350 src += srcStride; in RENAME()
1359 …nar2x)(const uint8_t *src, uint8_t *dst, int srcWidth, int srcHeight, int srcStride, int dstStride) in RENAME()
1418 :: "r" (src + mmxSize ), "r" (src + srcStride + mmxSize ), in RENAME()
1426 dst[0] = (src[0] * 3 + src[srcStride]) >> 2; in RENAME()
1427 dst[dstStride] = (src[0] + 3 * src[srcStride]) >> 2; in RENAME()
1431 dst[2*x +1]= (3*src[x+0] + src[x+srcStride+1])>>2; in RENAME()
1432 dst[2*x+dstStride+2]= ( src[x+0] + 3*src[x+srcStride+1])>>2; in RENAME()
1433 dst[2*x+dstStride+1]= ( src[x+1] + 3*src[x+srcStride ])>>2; in RENAME()
[all …]
Dw64xmmtest.c26 const int srcStride[], int srcSliceY, int srcSliceH, in wrap() argument
29 testxmmclobbers(sws_scale, c, srcSlice, srcStride, srcSliceY, in wrap()
/third_party/ffmpeg/libavcodec/mips/
Dh264qpel_mmi.c30 int dstStride, int srcStride, int h) in copy_block4_mmi() argument
48 [srcStride]"r"((mips_reg)srcStride) in copy_block4_mmi()
54 int dstStride, int srcStride, int h) in copy_block8_mmi() argument
72 [srcStride]"r"((mips_reg)srcStride) in copy_block8_mmi()
78 int dstStride, int srcStride, int h) in copy_block16_mmi() argument
102 [srcStride]"r"((mips_reg)srcStride) in copy_block16_mmi()
110 int dstStride, int srcStride) in put_h264_qpel4_h_lowpass_mmi() argument
157 [srcStride]"r"((mips_reg)srcStride), in put_h264_qpel4_h_lowpass_mmi()
165 int dstStride, int srcStride) in put_h264_qpel8_h_lowpass_mmi() argument
227 [srcStride]"r"((mips_reg)srcStride), in put_h264_qpel8_h_lowpass_mmi()
[all …]
/third_party/ffmpeg/libswscale/aarch64/
Dswscale_unscaled.c41 int srcStride[], int srcSliceY, int srcSliceH, \
47 src[0], srcStride[0], \
48 src[1], srcStride[1], \
49 src[2], srcStride[2], \
74 int srcStride[], int srcSliceY, int srcSliceH, \
80 src[0], srcStride[0], src[1], srcStride[1], \
/third_party/skia/src/core/
DSkMatrixPriv.h135 const SkPoint src[], size_t srcStride, int count) { in MapPointsWithStride() argument
136 SkASSERT(srcStride >= sizeof(SkPoint)); in MapPointsWithStride()
138 SkASSERT(0 == srcStride % sizeof(SkScalar)); in MapPointsWithStride()
142 src = (SkPoint*)((intptr_t)src + srcStride); in MapPointsWithStride()
148 const SkPoint3 src[], size_t srcStride, int count);
/third_party/ffmpeg/libswscale/ppc/
Dyuv2yuv_altivec.c35 int srcStride[], int srcSliceY, in yv12toyuy2_unscaled_altivec() argument
47 const int lumStride = srcStride[0]; in yv12toyuy2_unscaled_altivec()
48 const int chromStride = srcStride[1]; in yv12toyuy2_unscaled_altivec()
111 int srcStride[], int srcSliceY, in yv12touyvy_unscaled_altivec() argument
123 const int lumStride = srcStride[0]; in yv12touyvy_unscaled_altivec()
124 const int chromStride = srcStride[1]; in yv12touyvy_unscaled_altivec()
/third_party/ffmpeg/libavcodec/ppc/
Dh264qpel_template.c106 int dstStride, int srcStride) in PREFIX_h264_qpel16_h_lowpass_altivec() argument
187 src += srcStride; in PREFIX_h264_qpel16_h_lowpass_altivec()
197 int dstStride, int srcStride) in PREFIX_h264_qpel16_v_lowpass_altivec() argument
211 const uint8_t *srcbis = src - (srcStride * 2); in PREFIX_h264_qpel16_v_lowpass_altivec()
214 srcbis += srcStride; in PREFIX_h264_qpel16_v_lowpass_altivec()
216 srcbis += srcStride; in PREFIX_h264_qpel16_v_lowpass_altivec()
218 srcbis += srcStride; in PREFIX_h264_qpel16_v_lowpass_altivec()
220 srcbis += srcStride; in PREFIX_h264_qpel16_v_lowpass_altivec()
222 srcbis += srcStride; in PREFIX_h264_qpel16_v_lowpass_altivec()
244 srcbis += srcStride; in PREFIX_h264_qpel16_v_lowpass_altivec()
[all …]
/third_party/ffmpeg/libswscale/tests/
Dswscale.c94 static int srcStride[4]; in doTest() local
111 res = av_image_fill_linesizes(srcStride, srcFormat, srcW); in doTest()
117 srcStride[p] = FFALIGN(srcStride[p], 16); in doTest()
118 if (srcStride[p]) in doTest()
119 src[p] = av_mallocz(srcStride[p] * srcH + 16); in doTest()
120 if (srcStride[p] && !src[p]) { in doTest()
136 (uint8_t * const *) src, srcStride); in doTest()
183 sws_scale(dstContext, (const uint8_t * const*)src, srcStride, 0, srcH, dst, dstStride); in doTest()

123