/external/libyuv/files/util/ |
D | psnr_main.cc | 242 const int y_size, in UpdateMetrics() argument 250 const uint8* const u_org = ch_org + y_size + uv_offset; in UpdateMetrics() 251 const uint8* const u_rec = ch_rec + y_size; in UpdateMetrics() 252 const uint8* const v_org = ch_org + y_size + (uv_size - uv_offset); in UpdateMetrics() 253 const uint8* const v_rec = ch_rec + y_size + uv_size; in UpdateMetrics() 257 libyuv::ComputeSumSquareError(ch_org, ch_rec, y_size)); in UpdateMetrics() 263 double y_err = ComputeSumSquareError(ch_org, ch_rec, y_size); in UpdateMetrics() 272 distorted_frame->y = ComputePSNR(y_err, static_cast<double>(y_size)); in UpdateMetrics() 286 distorted_frame->y /= y_size; in UpdateMetrics() 355 const int y_size = image_width * image_height; in main() local [all …]
|
D | yuvconvert.cc | 227 const int y_size = Abs(image_width) * Abs(image_height); in main() local 230 org_size = y_size + 2 * uv_size; // YUV original. in main() 234 const int y_size = dst_width * dst_height; in main() local 236 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((x_size, y_size), dtype=x.dtype.real_dtype.as_numpy_dtype) 168 for col 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((x_size, y_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 | 169 y_size = _product(y_shape) * (2 if y.dtype.is_complex else 1) 177 jacobian = np.zeros((x_size, y_size), dtype=x_dtype)
|
/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/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/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/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/drm_hwcomposer/ |
D | platformhisi.cpp | 170 int y_size = adjusted_height * hnd->byte_stride; in ImportBuffer() local 177 bo->offsets[1] = y_size; in ImportBuffer() 181 bo->offsets[2] = y_size + v_size; in ImportBuffer()
|
/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/compiler/xla/service/gpu/ |
D | cudnn_batchnorm_thunk.cc | 49 int64 y_size = 1; in MakeDescriptors() local 58 y_size *= physical_dim_size(physical_dim); in MakeDescriptors() 65 .set_height(y_size) in MakeDescriptors()
|
/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*)malloc(y_size + uv_size * 2); /* NOLINT */ in ConvertToI420() 84 u = y + y_size; in ConvertToI420()
|
/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/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/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 | 542 uintptr_t y_size, c_stride, c_size, cr_offset, cb_offset; in test_yuv_info() local 564 y_size = info.stride * height; in test_yuv_info() 567 cr_offset = y_size; in test_yuv_info() 568 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/test/CodeGen/Thumb2/ |
D | 2009-12-01-LoopIVUsers.ll | 4 define void @fred(i32 %three_by_three, i8* %in, double %dt1, i32 %x_size, i32 %y_size, i8* %bp) nou… 44 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
|
/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/ImageMagick/coders/ |
D | dpx.c | 256 y_size; member 901 dpx.orientation.y_size=ReadBlobLong(image); in ReadDPXImage() 903 if (dpx.orientation.y_size != ~0U) in ReadDPXImage() 905 dpx.orientation.y_size); in ReadDPXImage() 1753 dpx.orientation.y_size=0U; in WriteDPXImage() 1756 dpx.orientation.y_size=(unsigned int) StringToUnsignedLong(value); in WriteDPXImage() 1757 offset+=WriteBlobLong(image,dpx.orientation.y_size); in WriteDPXImage()
|