Home
last modified time | relevance | path

Searched refs:src_pitch (Results 1 – 25 of 69) sorted by relevance

123

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c39 static void micro_tile_8_x_4_8bit(const void * const src, unsigned src_pitch, in micro_tile_8_x_4_8bit() argument
54 uint8_t *src2 = (uint8_t *)src + src_pitch * row + col; in micro_tile_8_x_4_8bit()
64 src2 += src_pitch; in micro_tile_8_x_4_8bit()
70 static void micro_tile_4_x_4_16bit(const void * const src, unsigned src_pitch, in micro_tile_4_x_4_16bit() argument
85 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_4_x_4_16bit()
95 src2 += src_pitch; in micro_tile_4_x_4_16bit()
101 static void micro_tile_8_x_2_16bit(const void * const src, unsigned src_pitch, in micro_tile_8_x_2_16bit() argument
116 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_8_x_2_16bit()
126 src2 += src_pitch; in micro_tile_8_x_2_16bit()
132 static void micro_tile_4_x_2_32bit(const void * const src, unsigned src_pitch, in micro_tile_4_x_2_32bit() argument
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c39 static void micro_tile_8_x_4_8bit(const void * const src, unsigned src_pitch, in micro_tile_8_x_4_8bit() argument
54 uint8_t *src2 = (uint8_t *)src + src_pitch * row + col; in micro_tile_8_x_4_8bit()
64 src2 += src_pitch; in micro_tile_8_x_4_8bit()
70 static void micro_tile_4_x_4_16bit(const void * const src, unsigned src_pitch, in micro_tile_4_x_4_16bit() argument
85 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_4_x_4_16bit()
95 src2 += src_pitch; in micro_tile_4_x_4_16bit()
101 static void micro_tile_8_x_2_16bit(const void * const src, unsigned src_pitch, in micro_tile_8_x_2_16bit() argument
116 uint16_t *src2 = (uint16_t *)src + src_pitch * row + col; in micro_tile_8_x_2_16bit()
126 src2 += src_pitch; in micro_tile_8_x_2_16bit()
132 static void micro_tile_4_x_2_32bit(const void * const src, unsigned src_pitch, in micro_tile_4_x_2_32bit() argument
[all …]
/external/libaom/libaom/aom_scale/generic/
Dgen_scalers.c63 void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, in aom_vertical_band_5_4_scale_c() argument
68 const unsigned int a = source[0 * src_pitch]; in aom_vertical_band_5_4_scale_c()
69 const unsigned int b = source[1 * src_pitch]; in aom_vertical_band_5_4_scale_c()
70 const unsigned int c = source[2 * src_pitch]; in aom_vertical_band_5_4_scale_c()
71 const unsigned int d = source[3 * src_pitch]; in aom_vertical_band_5_4_scale_c()
72 const unsigned int e = source[4 * src_pitch]; in aom_vertical_band_5_4_scale_c()
127 void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, in aom_vertical_band_5_3_scale_c() argument
132 const unsigned int a = source[0 * src_pitch]; in aom_vertical_band_5_3_scale_c()
133 const unsigned int b = source[1 * src_pitch]; in aom_vertical_band_5_3_scale_c()
134 const unsigned int c = source[2 * src_pitch]; in aom_vertical_band_5_3_scale_c()
[all …]
/external/libvpx/libvpx/vpx_scale/generic/
Dgen_scalers.c65 unsigned int src_pitch, unsigned char *dest, in vp8_vertical_band_5_4_scale_c() argument
74 a = src[0 * src_pitch]; in vp8_vertical_band_5_4_scale_c()
75 b = src[1 * src_pitch]; in vp8_vertical_band_5_4_scale_c()
76 c = src[2 * src_pitch]; in vp8_vertical_band_5_4_scale_c()
77 d = src[3 * src_pitch]; in vp8_vertical_band_5_4_scale_c()
78 e = src[4 * src_pitch]; in vp8_vertical_band_5_4_scale_c()
138 unsigned int src_pitch, unsigned char *dest, in vp8_vertical_band_5_3_scale_c() argument
147 a = src[0 * src_pitch]; in vp8_vertical_band_5_3_scale_c()
148 b = src[1 * src_pitch]; in vp8_vertical_band_5_3_scale_c()
149 c = src[2 * src_pitch]; in vp8_vertical_band_5_3_scale_c()
[all …]
/external/libaom/libaom/aom_dsp/x86/
Dhighbd_convolve_sse2.c19 ptrdiff_t src_pitch, uint16_t *dst_ptr, in aom_highbd_filter_block1d4_v4_sse2() argument
46 src_stride = src_pitch << 1; in aom_highbd_filter_block1d4_v4_sse2()
49 srcReg2 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 2)); in aom_highbd_filter_block1d4_v4_sse2()
50 srcReg3 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 3)); in aom_highbd_filter_block1d4_v4_sse2()
53 srcReg4 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 4)); in aom_highbd_filter_block1d4_v4_sse2()
57 srcReg5 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 5)); in aom_highbd_filter_block1d4_v4_sse2()
60 srcReg6 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 6)); in aom_highbd_filter_block1d4_v4_sse2()
105 ptrdiff_t src_pitch, uint16_t *dst_ptr, in aom_highbd_filter_block1d4_h4_sse2() argument
148 src_ptr += src_pitch; in aom_highbd_filter_block1d4_h4_sse2()
157 ptrdiff_t src_pitch, uint16_t *dst_ptr, in aom_highbd_filter_block1d8_v4_sse2() argument
[all …]
Daom_subpixel_8t_intrin_ssse3.c113 const uint8_t *src_ptr, ptrdiff_t src_pitch, uint8_t *output_ptr, in aom_filter_block1d4_v4_ssse3() argument
136 src_stride = src_pitch << 1; in aom_filter_block1d4_v4_ssse3()
139 srcReg2 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 2)); in aom_filter_block1d4_v4_ssse3()
140 srcReg3 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 3)); in aom_filter_block1d4_v4_ssse3()
143 srcReg4 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 4)); in aom_filter_block1d4_v4_ssse3()
151 srcReg5 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 5)); in aom_filter_block1d4_v4_ssse3()
154 srcReg6 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 6)); in aom_filter_block1d4_v4_ssse3()
319 const uint8_t *src_ptr, ptrdiff_t src_pitch, uint8_t *output_ptr, in aom_filter_block1d8_v4_ssse3() argument
345 src_stride = src_pitch << 1; in aom_filter_block1d8_v4_ssse3()
348 srcReg2 = _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 2)); in aom_filter_block1d8_v4_ssse3()
[all …]
Dhighbd_convolve_avx2.c519 const uint16_t *src_ptr, ptrdiff_t src_pitch, uint16_t *dst_ptr, in aom_highbd_filter_block1d8_h8_avx2() argument
529 pack_8x2_pixels(src_ptr, src_pitch, signal); in aom_highbd_filter_block1d8_h8_avx2()
534 src_ptr += src_pitch << 1; in aom_highbd_filter_block1d8_h8_avx2()
546 const uint16_t *src_ptr, ptrdiff_t src_pitch, uint16_t *dst_ptr, in aom_highbd_filter_block1d16_h8_avx2() argument
561 src_ptr += src_pitch; in aom_highbd_filter_block1d16_h8_avx2()
567 const uint16_t *src_ptr, ptrdiff_t src_pitch, uint16_t *dst_ptr, in aom_highbd_filter_block1d4_h4_avx2() argument
588 _mm_loadu_si128((__m128i *)&src_ptr[i * src_pitch + 2])); in aom_highbd_filter_block1d4_h4_avx2()
590 _mm_loadu_si128((__m128i *)&src_ptr[(i + 1) * src_pitch + 2])); in aom_highbd_filter_block1d4_h4_avx2()
614 _mm_loadu_si128((__m128i *)&src_ptr[i * src_pitch + 2])); in aom_highbd_filter_block1d4_h4_avx2()
616 _mm_loadu_si128((__m128i *)&src_ptr[i * src_pitch + 6])); in aom_highbd_filter_block1d4_h4_avx2()
[all …]
Daom_subpixel_8t_intrin_avx2.c801 const uint8_t *src_ptr, ptrdiff_t src_pitch, uint8_t *output_ptr, in aom_filter_block1d8_v4_avx2() argument
830 src_stride = src_pitch << 1; in aom_filter_block1d8_v4_avx2()
833 srcReg23 = xx_loadu2_epi64(src_ptr + src_pitch * 3, src_ptr + src_pitch * 2); in aom_filter_block1d8_v4_avx2()
835 _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 4))); in aom_filter_block1d8_v4_avx2()
846 _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 5))); in aom_filter_block1d8_v4_avx2()
851 _mm_loadl_epi64((const __m128i *)(src_ptr + src_pitch * 6))); in aom_filter_block1d8_v4_avx2()
887 const uint8_t *src_ptr, ptrdiff_t src_pitch, uint8_t *output_ptr, in aom_filter_block1d8_v8_avx2() argument
921 src_stride = src_pitch << 1; in aom_filter_block1d8_v8_avx2()
925 srcReg32b1 = xx_loadu2_epi64(src_ptr + src_pitch, src_ptr); in aom_filter_block1d8_v8_avx2()
927 xx_loadu2_epi64(src_ptr + src_pitch * 3, src_ptr + src_pitch * 2); in aom_filter_block1d8_v8_avx2()
[all …]
Daom_subpixel_8t_intrin_sse2.c108 void aom_filter_block1d16_v4_sse2(const uint8_t *src_ptr, ptrdiff_t src_pitch, in aom_filter_block1d16_v4_sse2() argument
138 src_stride = src_pitch << 1; in aom_filter_block1d16_v4_sse2()
141 srcReg2 = _mm_loadu_si128((const __m128i *)(src_ptr + src_pitch * 2)); in aom_filter_block1d16_v4_sse2()
142 srcReg3 = _mm_loadu_si128((const __m128i *)(src_ptr + src_pitch * 3)); in aom_filter_block1d16_v4_sse2()
150 srcReg4 = _mm_loadu_si128((const __m128i *)(src_ptr + src_pitch * 4)); in aom_filter_block1d16_v4_sse2()
159 srcReg5 = _mm_loadu_si128((const __m128i *)(src_ptr + src_pitch * 5)); in aom_filter_block1d16_v4_sse2()
164 srcReg6 = _mm_loadu_si128((const __m128i *)(src_ptr + src_pitch * 6)); in aom_filter_block1d16_v4_sse2()
320 void aom_filter_block1d8_v4_sse2(const uint8_t *src_ptr, ptrdiff_t src_pitch, in aom_filter_block1d8_v4_sse2() argument
349 src_stride = src_pitch << 1; in aom_filter_block1d8_v4_sse2()
352 srcReg2 = _mm_loadu_si128((const __m128i *)(src_ptr + src_pitch * 2)); in aom_filter_block1d8_v4_sse2()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tiled_memcpy.c250 int32_t src_pitch, in linear_to_xtiled() argument
260 src += (ptrdiff_t)y0 * src_pitch; in linear_to_xtiled()
279 src += src_pitch; in linear_to_xtiled()
292 int32_t src_pitch, in linear_to_ytiled() argument
322 src += (ptrdiff_t)y0 * src_pitch; in linear_to_ytiled()
341 src += src_pitch; in linear_to_ytiled()
463 int32_t src_pitch, in linear_to_xtiled_faster() argument
470 dst, src, src_pitch, swizzle_bit, memcpy, memcpy); in linear_to_xtiled_faster()
473 dst, src, src_pitch, swizzle_bit, in linear_to_xtiled_faster()
480 dst, src, src_pitch, swizzle_bit, in linear_to_xtiled_faster()
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_convolve_avx2.c340 const uint16_t *src_ptr, ptrdiff_t src_pitch, uint16_t *dst_ptr, in vpx_highbd_filter_block1d8_h8_avx2() argument
350 pack_8x2_pixels(src_ptr, src_pitch, signal); in vpx_highbd_filter_block1d8_h8_avx2()
355 src_ptr += src_pitch << 1; in vpx_highbd_filter_block1d8_h8_avx2()
367 const uint16_t *src_ptr, ptrdiff_t src_pitch, uint16_t *dst_ptr, in vpx_highbd_filter_block1d16_h8_avx2() argument
382 src_ptr += src_pitch; in vpx_highbd_filter_block1d16_h8_avx2()
460 const uint16_t *src_ptr, ptrdiff_t src_pitch, uint16_t *dst_ptr, in vpx_highbd_filter_block1d8_h2_avx2() argument
470 pack_8x2_2t_pixels(src_ptr, src_pitch, signal); in vpx_highbd_filter_block1d8_h2_avx2()
474 src_ptr += src_pitch << 1; in vpx_highbd_filter_block1d8_h2_avx2()
486 const uint16_t *src_ptr, ptrdiff_t src_pitch, uint16_t *dst_ptr, in vpx_highbd_filter_block1d16_h2_avx2() argument
500 src_ptr += src_pitch; in vpx_highbd_filter_block1d16_h2_avx2()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dtransfer.cpp138 const vector_t &src_orig, const vector_t &src_pitch, in validate_copy() argument
142 auto src_offset = dot(src_pitch, src_orig); in validate_copy()
146 src_offset, src_offset + size(src_pitch, region))) in validate_copy()
239 S src_obj, const vector_t &src_orig, const vector_t &src_pitch, in soft_copy_op() argument
246 dot(src_pitch, src_orig), in soft_copy_op()
247 size(src_pitch, region)); in soft_copy_op()
254 static_cast<const char *>(src) + dot(src_pitch, v), in soft_copy_op()
255 src_pitch[0] * region[0]); in soft_copy_op()
434 auto src_pitch = pitch(region, {{ 1 }}); in clEnqueueCopyBuffer() local
438 validate_object(q, src_mem, src_origin, src_pitch, region); in clEnqueueCopyBuffer()
[all …]
/external/libvpx/config/arm-neon/
Dvpx_scale_rtcd.h26 void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
29 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *…
32 void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
35 void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
/external/libvpx/config/x86/
Dvpx_scale_rtcd.h26 void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
29 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *…
32 void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
35 void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
/external/libvpx/config/arm64/
Dvpx_scale_rtcd.h26 void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
29 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *…
32 void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
35 void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
/external/libvpx/config/x86_64/
Dvpx_scale_rtcd.h26 void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
29 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *…
32 void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
35 void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
/external/libvpx/config/generic/
Dvpx_scale_rtcd.h26 void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
29 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *…
32 void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
35 void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *de…
/external/libvpx/libvpx/vpx_dsp/
Ddeblock.c43 unsigned char *dst, int src_pitch, in vpx_post_proc_down_and_across_mb_row_c() argument
61 unsigned char p_above2 = p_src[col - 2 * src_pitch]; in vpx_post_proc_down_and_across_mb_row_c()
62 unsigned char p_above1 = p_src[col - src_pitch]; in vpx_post_proc_down_and_across_mb_row_c()
63 unsigned char p_below1 = p_src[col + src_pitch]; in vpx_post_proc_down_and_across_mb_row_c()
64 unsigned char p_below2 = p_src[col + 2 * src_pitch]; in vpx_post_proc_down_and_across_mb_row_c()
113 src += src_pitch; in vpx_post_proc_down_and_across_mb_row_c()
/external/mesa3d/src/gallium/drivers/i915/
Di915_blit.c91 unsigned short src_pitch, in i915_copy_blit() argument
110 src_buffer, src_pitch, src_offset, src_x, src_y, in i915_copy_blit()
144 assert (dst_pitch > 0 && src_pitch > 0); in i915_copy_blit()
156 OUT_BATCH(((int) src_pitch & 0xffff)); in i915_copy_blit()
/external/libaom/config/x86_64/config/
Daom_scale_rtcd.h35 void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
38 void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int…
41 void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
44 void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
/external/libaom/config/x86/config/
Daom_scale_rtcd.h35 void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
38 void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int…
41 void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
44 void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
/external/libaom/config/arm/config/
Daom_scale_rtcd.h35 void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
38 void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int…
41 void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
44 void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
/external/libaom/config/arm64/config/
Daom_scale_rtcd.h35 void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
38 void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int…
41 void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
44 void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int d…
/external/libaom/libaom/av1/encoder/
Dextend.c19 static void copy_and_extend_plane(const uint8_t *src, int src_pitch, in copy_and_extend_plane() argument
35 src_ptr1 += src_pitch; in copy_and_extend_plane()
36 src_ptr2 += src_pitch; in copy_and_extend_plane()
60 static void highbd_copy_and_extend_plane(const uint8_t *src8, int src_pitch, in highbd_copy_and_extend_plane() argument
78 src_ptr1 += src_pitch; in highbd_copy_and_extend_plane()
79 src_ptr2 += src_pitch; in highbd_copy_and_extend_plane()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_extend.c18 static void copy_and_extend_plane(const uint8_t *src, int src_pitch, in copy_and_extend_plane() argument
34 src_ptr1 += src_pitch; in copy_and_extend_plane()
35 src_ptr2 += src_pitch; in copy_and_extend_plane()
60 static void highbd_copy_and_extend_plane(const uint8_t *src8, int src_pitch, in highbd_copy_and_extend_plane() argument
78 src_ptr1 += src_pitch; in highbd_copy_and_extend_plane()
79 src_ptr2 += src_pitch; in highbd_copy_and_extend_plane()

123