/external/libgav1/tests/ |
D | block_utils.cc | 29 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 …]
|
D | block_utils.h | 46 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/ |
D | get_disto.c | 73 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/ |
D | ssim.c | 63 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()
|
D | ssim_sse2.c | 121 src1 += stride1; \ 125 static double SSIMGet_SSE2(const uint8_t* src1, int stride1, in SSIMGet_SSE2() argument
|
D | dsp.h | 169 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/ |
D | jpeg_mem_unittest.cc | 159 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/ |
D | reconinter_sse4.c | 29 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/ |
D | wayland-drm.c | 64 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/ |
D | corner_match_avx2.c | 31 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()
|
D | corner_match_sse4.c | 35 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/ |
D | masked_variance_intrin_ssse3.h | 52 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()
|
D | variance_avx2.c | 280 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/ |
D | tools_common.c | 597 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/ |
D | frame_utils.cc | 25 int stride1, in EqualPlane() argument 32 data1 += stride1; in EqualPlane()
|
D | frame_utils.h | 26 int stride1,
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 1209 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/ |
D | temporal_filter_neon.c | 36 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/ |
D | vp9_mfqe_sse2.asm | 165 ; int stride1, 1 182 mov rcx, arg(1) ; stride1 198 add rax, rcx ; src1 + stride1
|
/external/libvpx/vp8/common/x86/ |
D | mfqe_sse2.asm | 164 ; int stride1, 1 181 mov rcx, arg(1) ; stride1 197 add rax, rcx ; src1 + stride1
|
/external/libaom/aom_dsp/flow_estimation/ |
D | corner_match.c | 51 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/ |
D | picture_psnr_enc.c | 204 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/ |
D | encode_test_driver.cc | 103 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()
|
D | corner_match_test.cc | 30 typedef double (*ComputeCrossCorrFunc)(unsigned char *im1, int stride1, int x1,
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_emit.c | 941 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()
|