/external/libyuv/files/util/ |
D | psnr_main.cc | 245 const int y_size, in UpdateMetrics() argument 253 const uint8_t* const u_org = ch_org + y_size + uv_offset; in UpdateMetrics() 254 const uint8_t* const u_rec = ch_rec + y_size; in UpdateMetrics() 255 const uint8_t* const v_org = ch_org + y_size + (uv_size - uv_offset); in UpdateMetrics() 256 const uint8_t* const v_rec = ch_rec + y_size + uv_size; in UpdateMetrics() 260 libyuv::ComputeSumSquareError(ch_org, ch_rec, y_size)); in UpdateMetrics() 266 double y_err = ComputeSumSquareError(ch_org, ch_rec, y_size); in UpdateMetrics() 275 distorted_frame->y = ComputePSNR(y_err, static_cast<double>(y_size)); in UpdateMetrics() 289 distorted_frame->y /= y_size; in UpdateMetrics() 361 const int y_size = image_width * image_height; in main() local [all …]
|
D | yuvconvert.cc | 228 const int y_size = Abs(image_width) * Abs(image_height); in main() local 231 org_size = y_size + 2 * uv_size; // YUV original. in main() 235 const int y_size = dst_width * dst_height; in main() local 237 const size_t total_size = y_size + 2 * uv_size; in main()
|
/external/tensorflow/tensorflow/python/ops/ |
D | gradient_checker_v2.py | 154 y_size = _product(y_shape) * y_factor 158 jacobian = np.zeros((y_size, x_size), dtype=x.dtype.real_dtype.as_numpy_dtype) 168 for row in range(y_size): 183 if y_size == 0: # don't use 'not y_size', because y_size may not be an int 195 def _compute_numeric_jacobian(f, y_size, y_dtype, xs, param, argument 225 y_size = y_size * (2 if y_dtype.is_complex else 1) 238 jacobian = np.zeros((y_size, x_size), dtype=x_dtype) 276 y_size = _product(y_shape) 279 jacob_n = _compute_numeric_jacobian(f, y_size, y_dtype, xs,
|
D | gradient_checker.py | 170 y_size = _product(y_shape) * (2 if y.dtype.is_complex else 1) 178 jacobian = np.zeros((x_size, y_size), dtype=x_dtype)
|
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/kernels/ |
D | util.cc | 40 unsigned int y_size = GetOptimalSize(grid_size.y); in GetWorkGroupSizeForGrid() local 41 unsigned int z_size = std::max(1u, 32u / (x_size * y_size)); in GetWorkGroupSizeForGrid() 42 return {x_size, y_size, z_size}; in GetWorkGroupSizeForGrid()
|
/external/webrtc/webrtc/test/ |
D | frame_generator_unittest.cc | 49 rtc::scoped_ptr<uint8_t[]> plane_buffer(new uint8_t[y_size]); in WriteYuvFile() 50 memset(plane_buffer.get(), y, y_size); in WriteYuvFile() 51 fwrite(plane_buffer.get(), 1, y_size, file); in WriteYuvFile() 62 ASSERT_EQ(y_size, frame->allocated_size(PlaneType::kYPlane)); in CheckFrameAndMutate() 64 for (int i = 0; i < y_size; ++i) in CheckFrameAndMutate() 86 const int y_size = kFrameWidth * kFrameHeight; member in webrtc::test::FrameGeneratorTest
|
/external/libtextclassifier/native/lang_id/common/ |
D | embedding-network.cc | 78 const int y_size = y->size(); in SparseReluProductPlusBias() local 79 SAFTM_CHECK_EQ(weights.cols, y_size); in SparseReluProductPlusBias() 108 for (int j = 0; j < y_size; ++j, ++weight_ptr) { in SparseReluProductPlusBias() 116 weight_ptr += y_size; in SparseReluProductPlusBias() 132 for (int j = 0; j < y_size; ++j, ++weight_ptr) { in SparseReluProductPlusBias() 136 weight_ptr += y_size; in SparseReluProductPlusBias()
|
/external/webrtc/talk/session/media/ |
D | planarfunctions_unittest.cc | 142 int y_size = height * width; in CreateFakeYuvTestingImage() local 157 v_size = u_size = y_size; in CreateFakeYuvTestingImage() 165 uint8_t* image_pointer = new uint8_t[y_size + u_size + v_size + kAlignment]; in CreateFakeYuvTestingImage() 167 u_pointer = ALIGNP(&image_pointer[y_size], kAlignment); in CreateFakeYuvTestingImage() 168 v_pointer = ALIGNP(&image_pointer[y_size + u_size], kAlignment); in CreateFakeYuvTestingImage() 504 int y_size = kHeight * kWidth; in TEST_F() local 515 uint8_t* u_output_pointer = y_output_pointer + y_size; in TEST_F() 542 int y_size = kHeight * kWidth; in TEST_F() local 553 uint8_t* u_output_pointer = y_output_pointer + y_size; in TEST_F() 590 int y_size = kHeight * kWidth; in TEST_P() local [all …]
|
/external/OpenCL-CTS/test_conformance/thread_dimensions/ |
D | test_thread_dimensions.cpp | 559 cl_uint x_size, y_size, z_size; in test_thread_dimensions() local 564 y_size = min_y_size; in test_thread_dimensions() 565 while (y_size <= max_y_size) { in test_thread_dimensions() 569 … log_info("Base test size %s:\n", print_dimensions(x_size, y_size, z_size, dimensions)); in test_thread_dimensions() 575 final_y_size = y_size; in test_thread_dimensions() 624 …final_y_size = (int)get_random_float(0, (y_size/size_increase_per_iteration), d)+y_size/size_incre… in test_thread_dimensions() 794 if (y_size == max_y_size) in test_thread_dimensions() 796 y_size *= size_increase_per_iteration; in test_thread_dimensions() 797 if (y_size > max_y_size) in test_thread_dimensions() 798 y_size = max_y_size; in test_thread_dimensions()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | listdiff_op.cc | 49 const size_t y_size = Ty.size(); in Compute() local 55 y_set.reserve(y_size); in Compute() 56 for (size_t i = 0; i < y_size; ++i) { in Compute()
|
/external/drm_hwcomposer/platform/ |
D | platformhisi.cpp | 136 int y_size = adjusted_height * hnd->byte_stride; in ConvertBoInfo() local 143 bo->offsets[1] = y_size; in ConvertBoInfo() 147 bo->offsets[2] = y_size + v_size; in ConvertBoInfo()
|
/external/webp/src/enc/ |
D | picture_enc.c | 98 uint64_t y_size, uv_size, a_size, total_size; in WebPPictureAllocYUVA() local 113 y_size = (uint64_t)y_stride * height; in WebPPictureAllocYUVA() 117 total_size = y_size + a_size + 2 * uv_size; in WebPPictureAllocYUVA() 138 mem += y_size; in WebPPictureAllocYUVA()
|
/external/webrtc/talk/media/base/ |
D | videoframe.cc | 86 const size_t y_size = GetHeight() * GetYPitch(); in CopyToBuffer() local 89 const size_t needed = y_size + u_size + v_size; in CopyToBuffer() 92 CopyToPlanes(buffer, buffer + y_size, buffer + y_size + u_size, in CopyToBuffer()
|
/external/webp/src/dec/ |
D | buffer_dec.c | 56 const uint64_t y_size = MIN_BUFFER_SIZE(width, height, y_stride); in CheckDecBuffer() local 60 ok &= (y_size <= buf->y_size); in CheckDecBuffer() 131 buf->y_size = (size_t)size; in AllocateBuffer()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | listdiff_op_test.py | 71 y_size = np.random.randint(max_size + 1) 72 y = np.random.randint(int_low, int_high, size=y_size)
|
/external/tensorflow/tensorflow/cc/framework/ |
D | gradient_checker.cc | 249 const int64 y_size = y_shapes[y_idx].num_elements(); in ComputeNumericJacobianTranspose() local 252 for (int c = 0; c < y_size; ++c) { in ComputeNumericJacobianTranspose() 314 const int64 y_size = in InitJacobians() local 316 Tensor jacobian_t(jacobian_type, {x_size, y_size}); in InitJacobians()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | listdiff_op_test.py | 92 y_size = np.random.randint(max_size + 1) 93 y = np.random.randint(int_low, int_high, size=y_size)
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_batchnorm_runner.cc | 84 int64 y_size = 1; in MakeBatchNormDescriptors() local 93 y_size *= physical_dim_size(physical_dim); in MakeBatchNormDescriptors() 100 .set_height(y_size) in MakeBatchNormDescriptors()
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_to_i420.cc | 77 int y_size = crop_width * abs_crop_height; in ConvertToI420() local 79 rotate_buffer = (uint8_t*)malloc(y_size + uv_size * 2); /* NOLINT */ in ConvertToI420() 84 dst_u = dst_y + y_size; in ConvertToI420()
|
/external/libyuv/files/source/ |
D | convert_to_i420.cc | 77 int y_size = crop_width * abs_crop_height; in ConvertToI420() local 79 rotate_buffer = (uint8_t*)malloc(y_size + uv_size * 2); /* NOLINT */ in ConvertToI420() 84 dst_u = dst_y + y_size; in ConvertToI420()
|
/external/libaom/libaom/third_party/libyuv/source/ |
D | convert_to_i420.cc | 72 int y_size = crop_width * abs_crop_height; in ConvertToI420() local 74 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2); in ConvertToI420() 79 u = y + y_size; in ConvertToI420()
|
/external/minigbm/cros_gralloc/gralloc0/tests/ |
D | gralloctest.c | 543 uintptr_t y_size, c_stride, c_size, cr_offset, cb_offset; in test_yuv_info() local 565 y_size = info.stride * height; in test_yuv_info() 568 cr_offset = y_size; in test_yuv_info() 569 cb_offset = y_size + c_size; in test_yuv_info()
|
/external/webrtc/webrtc/modules/video_processing/ |
D | deflickering.cc | 126 const uint32_t y_size = height * width; in ProcessFrame() local 231 for (uint32_t i = 0; i < y_size; i++) { in ProcessFrame()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Thumb2/ |
D | 2009-12-01-LoopIVUsers.ll | 6 define void @fred(i32 %three_by_three, i8* %in, double %dt1, i32 %x_size, i32 %y_size, i8* %bp) nou… 45 store i32 %y_size, i32* %y_size_addr
|
/external/llvm/test/CodeGen/Thumb2/ |
D | 2009-12-01-LoopIVUsers.ll | 6 define void @fred(i32 %three_by_three, i8* %in, double %dt1, i32 %x_size, i32 %y_size, i8* %bp) nou… 45 store i32 %y_size, i32* %y_size_addr
|