Home
last modified time | relevance | path

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

/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.h345 typedef double (*VP8SSIMGetClippedFunc)(const uint8_t* src1, int stride1,
353 typedef double (*VP8SSIMGetFunc)(const uint8_t* src1, int stride1,
/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()
138 int32_t offset1, int32_t stride1, in drm_create_planar_buffer() argument
158 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_planar_buffer()
167 int32_t offset1, int32_t stride1, in drm_create_prime_buffer() argument
171 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_prime_buffer()
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem_unittest.cc160 const int stride1 = (flags.stride != 0) ? flags.stride : w1 * c; in TestCropAndDecodeJpeg() local
163 const uint8* p1 = &imgdata1[(i + crop_y) * stride1 + crop_x * c]; in TestCropAndDecodeJpeg()
291 const int stride1 = 3 * in_w; in TEST() local
292 const std::unique_ptr<uint8[]> refdata1(new uint8[stride1 * in_h]); in TEST()
295 const int offset = i * stride1 + 3 * j; in TEST()
306 memcpy(&refdata2[i * stride2], &refdata1[i * stride1], 3 * in_w); in TEST()
356 imgdata1.get(), refdata1.get(), in_w, in_h, stride1, stride1); in TEST()
375 imgdata1.get(), imgdata2.get(), in_w, in_h, stride1, flags.stride); in TEST()
396 imgdata1.get(), refdata1.get(), in_w, in_h, stride1, stride1); in TEST()
/external/libaom/libaom/aom_dsp/x86/
Dvariance_avx2.c364 const int stride1 = invert_mask ? ref_stride : width; in aom_comp_mask_pred_avx2() local
366 comp_mask_pred_8_ssse3(comp_pred, height, src0, stride0, src1, stride1, in aom_comp_mask_pred_avx2()
371 const __m256i sA1 = mm256_loadu2(src1 + stride1, src1); in aom_comp_mask_pred_avx2()
374 src1 += (stride1 << 1); in aom_comp_mask_pred_avx2()
377 const __m256i sB1 = mm256_loadu2(src1 + stride1, src1); in aom_comp_mask_pred_avx2()
380 src1 += (stride1 << 1); in aom_comp_mask_pred_avx2()
395 const __m256i sB1 = _mm256_lddqu_si256((const __m256i *)(src1 + stride1)); in aom_comp_mask_pred_avx2()
404 src1 += (stride1 << 1); in aom_comp_mask_pred_avx2()
447 const int stride1 = invert_mask ? ref_stride : width; in aom_highbd_comp_mask_pred_avx2() local
453 const __m256i s1 = mm256_loadu2_16(src1 + stride1, src1); in aom_highbd_comp_mask_pred_avx2()
[all …]
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_sse2.c728 const int stride1 = invert_mask ? ref_stride : width; in aom_highbd_comp_mask_pred_sse2() local
743 src1 += stride1; in aom_highbd_comp_mask_pred_sse2()
766 src1 += stride1; in aom_highbd_comp_mask_pred_sse2()
792 src1 += stride1; in aom_highbd_comp_mask_pred_sse2()
Dmasked_variance_intrin_ssse3.c1036 const int stride1 = invert_mask ? ref_stride : width; in aom_comp_mask_pred_ssse3() local
1040 comp_mask_pred_8_ssse3(comp_pred, height, src0, stride0, src1, stride1, in aom_comp_mask_pred_ssse3()
1045 comp_mask_pred_16_ssse3(src0 + stride0, src1 + stride1, in aom_comp_mask_pred_ssse3()
1049 src1 += (stride1 << 1); in aom_comp_mask_pred_ssse3()
1060 src1 += (stride1); in aom_comp_mask_pred_ssse3()
/external/libaom/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(*(uint32_t *)(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()
Dreconinter_avx2.c32 const uint8_t *src1, int stride1, in av1_build_compound_diffwtd_mask_avx2() argument
49 const __m128i s1B = xx_loadl_32(src1 + stride1); in av1_build_compound_diffwtd_mask_avx2()
50 const __m128i s1C = xx_loadl_32(src1 + stride1 * 2); in av1_build_compound_diffwtd_mask_avx2()
51 const __m128i s1D = xx_loadl_32(src1 + stride1 * 3); in av1_build_compound_diffwtd_mask_avx2()
62 src1 += (stride1 << 2); in av1_build_compound_diffwtd_mask_avx2()
75 const __m128i s1B = xx_loadl_64(src1 + stride1); in av1_build_compound_diffwtd_mask_avx2()
76 const __m128i s1C = xx_loadl_64(src1 + stride1 * 2); in av1_build_compound_diffwtd_mask_avx2()
77 const __m128i s1D = xx_loadl_64(src1 + stride1 * 3); in av1_build_compound_diffwtd_mask_avx2()
85 src1 += stride1 << 2; in av1_build_compound_diffwtd_mask_avx2()
94 const __m128i s1B = xx_load_128(src1 + stride1); in av1_build_compound_diffwtd_mask_avx2()
[all …]
/external/libaom/libaom/av1/encoder/x86/
Dcorner_match_avx2.c31 double compute_cross_correlation_avx2(unsigned char *im1, int stride1, int x1, in compute_cross_correlation_avx2() argument
44 im1 += (y1 - MATCH_SZ_BY2) * stride1 + (x1 - MATCH_SZ_BY2); in compute_cross_correlation_avx2()
58 stride1_i += stride1; in compute_cross_correlation_avx2()
Dcorner_match_sse4.c35 double compute_cross_correlation_sse4_1(unsigned char *im1, int stride1, int x1, in compute_cross_correlation_sse4_1() argument
50 im1 += (y1 - MATCH_SZ_BY2) * stride1 + (x1 - MATCH_SZ_BY2); in compute_cross_correlation_sse4_1()
55 _mm_and_si128(_mm_loadu_si128((__m128i *)&im1[i * stride1]), mask); in compute_cross_correlation_sse4_1()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c1172 LLVMValueRef indexes[2], stride, stride1; in lp_build_get_level_stride_vec() local
1176 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1177 stride1 = LLVMBuildLoad(builder, stride1, ""); in lp_build_get_level_stride_vec()
1178 stride = lp_build_broadcast_scalar(&bld->int_coord_bld, stride1); in lp_build_get_level_stride_vec()
1181 LLVMValueRef stride1; in lp_build_get_level_stride_vec() local
1189 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1190 stride1 = LLVMBuildLoad(builder, stride1, ""); in lp_build_get_level_stride_vec()
1191 stride = LLVMBuildInsertElement(builder, stride, stride1, indexo, ""); in lp_build_get_level_stride_vec()
1196 LLVMValueRef stride1; in lp_build_get_level_stride_vec() local
1205 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
[all …]
/external/libvpx/libvpx/vp8/common/x86/
Dmfqe_sse2.asm164 ; int stride1, 1
181 mov rcx, arg(1) ; stride1
197 add rax, rcx ; src1 + stride1
/external/libvpx/libvpx/vp9/common/x86/
Dvp9_mfqe_sse2.asm165 ; int stride1, 1
182 mov rcx, arg(1) ; stride1
198 add rax, rcx ; src1 + stride1
/external/libaom/libaom/av1/encoder/
Dcorner_match.c47 double compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, in compute_cross_correlation_c() argument
59 v1 = im1[(i + y1 - MATCH_SZ_BY2) * stride1 + (j + x1 - MATCH_SZ_BY2)]; in compute_cross_correlation_c()
Drdopt.c7531 int stride0, const uint8_t *pred1, int stride1) { in estimate_wedge_sign() argument
7574 cpi->fn_ptr[f_index].vf(src, src_stride, pred1, stride1, &esq[1][0]); in estimate_wedge_sign()
7575 cpi->fn_ptr[f_index].vf(src + bw / 2, src_stride, pred1 + bw / 2, stride1, in estimate_wedge_sign()
7578 pred1 + bh / 2 * stride1, stride0, &esq[1][2]); in estimate_wedge_sign()
7580 pred1 + bh / 2 * stride1 + bw / 2, stride0, in estimate_wedge_sign()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c938 unsigned size1, size2, offset1, offset2, stride1, stride2; in r300_emit_vertex_arrays() local
980 stride1 = 0; in r300_emit_vertex_arrays()
984 stride1 = vb1->stride; in r300_emit_vertex_arrays()
996 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(stride1) | in r300_emit_vertex_arrays()
1007 stride1 = 0; in r300_emit_vertex_arrays()
1011 stride1 = vb1->stride; in r300_emit_vertex_arrays()
1015 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(stride1)); in r300_emit_vertex_arrays()
/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/libaom/test/
Dencode_test_driver.cc105 static bool compare_plane(const uint8_t *const buf1, int stride1, in compare_plane() argument
113 const int pix1 = buf1[r * stride1 + c]; in compare_plane()
Dcorner_match_test.cc27 typedef double (*ComputeCrossCorrFunc)(unsigned char *im1, int stride1, int x1,
/external/libvpx/libvpx/
Dvpxenc.c621 uint32_t stride1, stride2; in find_mismatch_high() local
634 stride1 = img1->stride[VPX_PLANE_Y] / 2; in find_mismatch_high()
643 if (*(plane1 + (i + k) * stride1 + j + l) != in find_mismatch_high()
647 yloc[2] = *(plane1 + (i + k) * stride1 + j + l); in find_mismatch_high()
660 stride1 = img1->stride[VPX_PLANE_U] / 2; in find_mismatch_high()
669 if (*(plane1 + (i + k) * stride1 + j + l) != in find_mismatch_high()
673 uloc[2] = *(plane1 + (i + k) * stride1 + j + l); in find_mismatch_high()
686 stride1 = img1->stride[VPX_PLANE_V] / 2; in find_mismatch_high()
695 if (*(plane1 + (i + k) * stride1 + j + l) != in find_mismatch_high()
699 vloc[2] = *(plane1 + (i + k) * stride1 + j + l); in find_mismatch_high()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_vp.c114 uint32_t stride1, stride2; // 04 08 member
327 h->stride1 = h->stride2 = mb(dec->base.width)*16; in nouveau_vp3_fill_picparm_h264_vp()
/external/libaom/libaom/aom_dsp/
Dvariance.c1082 const int stride1 = invert_mask ? ref_stride : width; in aom_comp_mask_pred_c() local
1089 src1 += stride1; in aom_comp_mask_pred_c()