Home
last modified time | relevance | path

Searched refs:stride1 (Results 1 – 25 of 37) sorted by relevance

12

/external/libgav1/tests/
Dblock_utils.cc29 int height, int stride1, int stride2, in PrintBlockDiff() argument
31 const int print_width = print_padding ? std::min(stride1, stride2) : width; in PrintBlockDiff()
54 block1 += stride1; in PrintBlockDiff()
92 int height, int stride1, int stride2, in CompareBlocks() argument
95 const int check_width = check_padding ? std::min(stride1, stride2) : width; in CompareBlocks()
97 const uint64_t row1 = static_cast<uint64_t>(y) * stride1; in CompareBlocks()
105 stride1); in CompareBlocks()
106 PrintBlockDiff(block1, block2, width, height, stride1, stride2, in CompareBlocks()
110 PrintBlockDiff(block2, block1, width, height, stride2, stride1, in CompareBlocks()
117 int width, int height, int stride1, int stride2,
[all …]
Dblock_utils.h46 int height, int stride1, int stride2, bool check_padding,
50 int width, int height, int stride1,
55 int height, int stride1, int stride2,
/external/webp/extras/
Dget_disto.c73 static int DiffScaleChannel(uint8_t* src1, int stride1, in DiffScaleChannel() argument
79 uint8_t* const ptr1 = src1 + y * stride1; in DiffScaleChannel()
88 if (do_scaling) RescalePlane(src1, w, h, x_stride, stride1, max); in DiffScaleChannel()
134 static double SSIMGetClipped(const uint8_t* src1, int stride1, in SSIMGetClipped() argument
143 src1 += ymin * stride1; in SSIMGetClipped()
145 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped()
163 static int SSIMScaleChannel(uint8_t* src1, int stride1, in SSIMScaleChannel() argument
175 plane1[x + y * w] = src1[x * x_stride + y * stride1]; in SSIMScaleChannel()
188 src1[x * x_stride + y * stride1] = (diff > 255) ? 255u : (uint8_t)diff; in SSIMScaleChannel()
193 if (do_scaling) RescalePlane(src1, w, h, x_stride, stride1, max); in SSIMScaleChannel()
/external/webp/src/dsp/
Dssim.c63 static double SSIMGetClipped_C(const uint8_t* src1, int stride1, in SSIMGetClipped_C() argument
74 src1 += ymin * stride1; in SSIMGetClipped_C()
76 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped_C()
93 static double SSIMGet_C(const uint8_t* src1, int stride1, in SSIMGet_C() argument
97 for (y = 0; y <= 2 * VP8_SSIM_KERNEL; ++y, src1 += stride1, src2 += stride2) { in SSIMGet_C()
Dssim_sse2.c121 src1 += stride1; \
125 static double SSIMGet_SSE2(const uint8_t* src1, int stride1, in SSIMGet_SSE2() argument
Ddsp.h169 typedef double (*VP8SSIMGetClippedFunc)(const uint8_t* src1, int stride1,
177 typedef double (*VP8SSIMGetFunc)(const uint8_t* src1, int stride1,
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem_unittest.cc159 const int stride1 = (flags.stride != 0) ? flags.stride : w1 * c; in TestCropAndDecodeJpeg() local
162 const uint8* p1 = &imgdata1[(i + crop_y) * stride1 + crop_x * c]; in TestCropAndDecodeJpeg()
290 const int stride1 = 3 * in_w; in TEST() local
291 const std::unique_ptr<uint8[]> refdata1(new uint8[stride1 * in_h]); in TEST()
294 const int offset = i * stride1 + 3 * j; in TEST()
305 memcpy(&refdata2[i * stride2], &refdata1[i * stride1], 3 * in_w); in TEST()
355 imgdata1.get(), refdata1.get(), in_w, in_h, stride1, stride1); in TEST()
374 imgdata1.get(), imgdata2.get(), in_w, in_h, stride1, flags.stride); in TEST()
395 imgdata1.get(), refdata1.get(), in_w, in_h, stride1, stride1); in TEST()
/external/libaom/av1/common/x86/
Dreconinter_sse4.c29 const uint8_t *src1, int stride1, in av1_build_compound_diffwtd_mask_sse4_1() argument
42 const __m128i s1B = _mm_cvtsi32_si128(*(int *)(src1 + stride1)); in av1_build_compound_diffwtd_mask_sse4_1()
52 src1 += (stride1 << 1); in av1_build_compound_diffwtd_mask_sse4_1()
66 src1 += stride1; in av1_build_compound_diffwtd_mask_sse4_1()
90 src1 += stride1; in av1_build_compound_diffwtd_mask_sse4_1()
/external/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c64 int32_t offset1, int32_t stride1, in create_buffer() argument
83 buffer->stride[1] = stride1; in create_buffer()
140 int32_t offset1, int32_t stride1, in drm_create_planar_buffer() argument
160 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_planar_buffer()
169 int32_t offset1, int32_t stride1, in drm_create_prime_buffer() argument
173 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_prime_buffer()
/external/libaom/aom_dsp/flow_estimation/x86/
Dcorner_match_avx2.c31 double av1_compute_cross_correlation_avx2(unsigned char *im1, int stride1, in av1_compute_cross_correlation_avx2() argument
44 im1 += (y1 - MATCH_SZ_BY2) * stride1 + (x1 - MATCH_SZ_BY2); in av1_compute_cross_correlation_avx2()
58 stride1_i += stride1; in av1_compute_cross_correlation_avx2()
Dcorner_match_sse4.c35 double av1_compute_cross_correlation_sse4_1(unsigned char *im1, int stride1, in av1_compute_cross_correlation_sse4_1() argument
50 im1 += (y1 - MATCH_SZ_BY2) * stride1 + (x1 - MATCH_SZ_BY2); in av1_compute_cross_correlation_sse4_1()
55 _mm_and_si128(_mm_loadu_si128((__m128i *)&im1[i * stride1]), mask); in av1_compute_cross_correlation_sse4_1()
/external/libaom/aom_dsp/x86/
Dmasked_variance_intrin_ssse3.h52 const uint8_t *src1, int stride1, in comp_mask_pred_8_ssse3() argument
66 const __m128i sB1 = _mm_loadl_epi64((const __m128i *)(src1 + stride1)); in comp_mask_pred_8_ssse3()
86 src1 += (stride1 << 1); in comp_mask_pred_8_ssse3()
Dvariance_avx2.c280 const int stride1 = invert_mask ? ref_stride : width; in aom_comp_mask_pred_avx2() local
282 comp_mask_pred_8_ssse3(comp_pred, height, src0, stride0, src1, stride1, in aom_comp_mask_pred_avx2()
287 const __m256i sA1 = mm256_loadu2(src1 + stride1, src1); in aom_comp_mask_pred_avx2()
290 src1 += (stride1 << 1); in aom_comp_mask_pred_avx2()
293 const __m256i sB1 = mm256_loadu2(src1 + stride1, src1); in aom_comp_mask_pred_avx2()
296 src1 += (stride1 << 1); in aom_comp_mask_pred_avx2()
315 src1 += stride1; in aom_comp_mask_pred_avx2()
358 const int stride1 = invert_mask ? ref_stride : width; in aom_highbd_comp_mask_pred_avx2() local
364 const __m256i s1 = mm256_loadu2_16(src1 + stride1, src1); in aom_highbd_comp_mask_pred_avx2()
381 src1 += (stride1 << 1); in aom_highbd_comp_mask_pred_avx2()
[all …]
/external/libvpx/
Dtools_common.c597 uint32_t stride1, stride2; in find_mismatch_high() local
610 stride1 = img1->stride[VPX_PLANE_Y] / 2; in find_mismatch_high()
619 if (*(plane1 + (i + k) * stride1 + j + l) != in find_mismatch_high()
623 yloc[2] = *(plane1 + (i + k) * stride1 + j + l); in find_mismatch_high()
636 stride1 = img1->stride[VPX_PLANE_U] / 2; in find_mismatch_high()
645 if (*(plane1 + (i + k) * stride1 + j + l) != in find_mismatch_high()
649 uloc[2] = *(plane1 + (i + k) * stride1 + j + l); in find_mismatch_high()
662 stride1 = img1->stride[VPX_PLANE_V] / 2; in find_mismatch_high()
671 if (*(plane1 + (i + k) * stride1 + j + l) != in find_mismatch_high()
675 vloc[2] = *(plane1 + (i + k) * stride1 + j + l); in find_mismatch_high()
/external/webrtc/test/
Dframe_utils.cc25 int stride1, in EqualPlane() argument
32 data1 += stride1; in EqualPlane()
Dframe_utils.h26 int stride1,
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c1209 LLVMValueRef indexes[2], stride, stride1; in lp_build_get_level_stride_vec() local
1213 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1214 stride1 = LLVMBuildLoad(builder, stride1, ""); in lp_build_get_level_stride_vec()
1215 stride = lp_build_broadcast_scalar(&bld->int_coord_bld, stride1); in lp_build_get_level_stride_vec()
1218 LLVMValueRef stride1; in lp_build_get_level_stride_vec() local
1226 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1227 stride1 = LLVMBuildLoad(builder, stride1, ""); in lp_build_get_level_stride_vec()
1228 stride = LLVMBuildInsertElement(builder, stride, stride1, indexo, ""); in lp_build_get_level_stride_vec()
1233 LLVMValueRef stride1; in lp_build_get_level_stride_vec() local
1242 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
[all …]
/external/libaom/av1/encoder/arm/neon/
Dtemporal_filter_neon.c36 static INLINE void get_abs_diff(const uint8_t *frame1, const uint32_t stride1, in get_abs_diff() argument
48 uint8x16_t s = vld1q_u8(frame1 + i * stride1 + j); in get_abs_diff()
178 const uint8_t *frame1, const uint32_t stride1, const uint8_t *frame2, in get_squared_error() argument
188 uint8x16_t s = vld1q_u8(frame1 + i * stride1 + j); in get_squared_error()
/external/libvpx/vp9/common/x86/
Dvp9_mfqe_sse2.asm165 ; int stride1, 1
182 mov rcx, arg(1) ; stride1
198 add rax, rcx ; src1 + stride1
/external/libvpx/vp8/common/x86/
Dmfqe_sse2.asm164 ; int stride1, 1
181 mov rcx, arg(1) ; stride1
197 add rax, rcx ; src1 + stride1
/external/libaom/aom_dsp/flow_estimation/
Dcorner_match.c51 double av1_compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, in av1_compute_cross_correlation_c() argument
63 v1 = im1[(i + y1 - MATCH_SZ_BY2) * stride1 + (j + x1 - MATCH_SZ_BY2)]; in av1_compute_cross_correlation_c()
/external/webp/src/enc/
Dpicture_psnr_enc.c204 const size_t stride1 = 4 * (size_t)p1.argb_stride; in WebPPictureDistortion() local
208 (const uint8_t*)p1.argb + offset, stride1, in WebPPictureDistortion()
/external/libaom/test/
Dencode_test_driver.cc103 static bool compare_plane(const uint8_t *const buf1, int stride1, in compare_plane() argument
111 const int pix1 = buf1[r * stride1 + c]; in compare_plane()
Dcorner_match_test.cc30 typedef double (*ComputeCrossCorrFunc)(unsigned char *im1, int stride1, int x1,
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c941 unsigned size1, size2, offset1, offset2, stride1, stride2; in r300_emit_vertex_arrays() local
983 stride1 = 0; in r300_emit_vertex_arrays()
987 stride1 = vb1->stride; in r300_emit_vertex_arrays()
999 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(stride1) | in r300_emit_vertex_arrays()
1010 stride1 = 0; in r300_emit_vertex_arrays()
1014 stride1 = vb1->stride; in r300_emit_vertex_arrays()
1018 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(stride1)); in r300_emit_vertex_arrays()

12