/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/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/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/tensorflow/tensorflow/contrib/tpu/python/tpu/ |
D | device_assignment.py | 325 y_size = min(replica_counts[1], target_size) 326 if y_size * replica_counts[0] < num_chips: 327 y_size = replica_counts[1] 335 y = t % y_size 336 x = t // y_size
|
/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() 130 buf->y_size = (size_t)size; in AllocateBuffer()
|
D | webp_dec.c | 588 output.u.YUVA.y_size = luma_size; in WebPDecodeYUVInto()
|
D | idec_dec.c | 730 idec->output_.u.YUVA.y_size = luma_size; in WebPINewYUVA()
|
/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/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/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_batchnorm_thunk.cc | 50 int64 y_size = 1; in MakeDescriptors() local 59 y_size *= physical_dim_size(physical_dim); in MakeDescriptors() 66 .set_height(y_size) in MakeDescriptors()
|
/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/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_to_i420.cc | 71 int y_size = crop_width * abs_crop_height; in ConvertToI420() local 73 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2); in ConvertToI420() 78 u = y + y_size; in ConvertToI420()
|
/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/tensorflow/tensorflow/python/ops/ |
D | gradient_checker.py | 168 y_size = _product(y_shape) * (2 if y.dtype.is_complex else 1) 176 jacobian = np.zeros((x_size, y_size), dtype=x_dtype)
|
/external/ImageMagick/coders/ |
D | dpx.c | 256 y_size; member 890 dpx.orientation.y_size=ReadBlobLong(image); in ReadDPXImage() 892 if (dpx.orientation.y_size != ~0U) in ReadDPXImage() 894 dpx.orientation.y_size); in ReadDPXImage() 1723 dpx.orientation.y_size=0U; in WriteDPXImage() 1726 dpx.orientation.y_size=(unsigned int) StringToUnsignedLong(value); in WriteDPXImage() 1727 offset+=WriteBlobLong(image,dpx.orientation.y_size); in WriteDPXImage()
|
/external/webp/src/webp/ |
D | decode.h | 191 size_t y_size; // luma plane size member
|
/external/webp/include/webp/ |
D | decode.h | 191 size_t y_size; // luma plane size member
|