Searched refs:y_size (Results 1 - 21 of 21) sorted by relevance

/external/libyuv/files/util/
H A Dpsnr_main.cc242 const int y_size,
250 const uint8* const u_org = ch_org + y_size + uv_offset;
251 const uint8* const u_rec = ch_rec + y_size;
252 const uint8* const v_org = ch_org + y_size + (uv_size - uv_offset);
253 const uint8* const v_rec = ch_rec + y_size + uv_size;
257 libyuv::ComputeSumSquareError(ch_org, ch_rec, y_size));
263 double y_err = ComputeSumSquareError(ch_org, ch_rec, y_size);
272 distorted_frame->y = ComputePSNR(y_err, static_cast<double>(y_size));
286 distorted_frame->y /= y_size;
355 const int y_size local
240 UpdateMetrics(uint8* ch_org, uint8* ch_rec, const int y_size, const int uv_size, const size_t total_size, int number_of_frames, metric* cur_distortion_psnr, metric* distorted_frame, bool do_psnr) argument
[all...]
H A Dyuvconvert.cc227 const int y_size = Abs(image_width) * Abs(image_height); local
230 org_size = y_size + 2 * uv_size; // YUV original.
234 const int y_size = dst_width * dst_height; local
236 const size_t total_size = y_size + 2 * uv_size;
/external/tensorflow/tensorflow/core/kernels/
H A Dlistdiff_op.cc49 const size_t y_size = Ty.size(); variable
55 y_set.reserve(y_size);
56 for (size_t i = 0; i < y_size; ++i) {
/external/webrtc/webrtc/test/
H A Dframe_generator_unittest.cc49 rtc::scoped_ptr<uint8_t[]> plane_buffer(new uint8_t[y_size]);
50 memset(plane_buffer.get(), y, y_size);
51 fwrite(plane_buffer.get(), 1, y_size, file);
62 ASSERT_EQ(y_size, frame->allocated_size(PlaneType::kYPlane));
64 for (int i = 0; i < y_size; ++i)
86 const int y_size = kFrameWidth * kFrameHeight; member in class:webrtc::test::FrameGeneratorTest
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
H A Ddevice_assignment.py325 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/webrtc/talk/session/media/
H A Dplanarfunctions_unittest.cc142 int y_size = height * width; local
157 v_size = u_size = y_size;
165 uint8_t* image_pointer = new uint8_t[y_size + u_size + v_size + kAlignment];
167 u_pointer = ALIGNP(&image_pointer[y_size], kAlignment);
168 v_pointer = ALIGNP(&image_pointer[y_size + u_size], kAlignment);
504 int y_size = kHeight * kWidth; local
515 uint8_t* u_output_pointer = y_output_pointer + y_size;
542 int y_size = kHeight * kWidth; local
553 uint8_t* u_output_pointer = y_output_pointer + y_size;
590 int y_size local
636 int y_size = kHeight * kWidth; local
[all...]
/external/tensorflow/tensorflow/python/kernel_tests/
H A Dlistdiff_op_test.py92 y_size = np.random.randint(max_size + 1)
93 y = np.random.randint(int_low, int_high, size=y_size)
/external/webp/src/enc/
H A Dpicture_enc.c98 uint64_t y_size, uv_size, a_size, total_size; local
113 y_size = (uint64_t)y_stride * height;
117 total_size = y_size + a_size + 2 * uv_size;
138 mem += y_size;
/external/webrtc/talk/media/base/
H A Dvideoframe.cc86 const size_t y_size = GetHeight() * GetYPitch(); local
89 const size_t needed = y_size + u_size + v_size;
92 CopyToPlanes(buffer, buffer + y_size, buffer + y_size + u_size,
/external/libyuv/files/source/
H A Dconvert_to_i420.cc77 int y_size = crop_width * abs_crop_height; local
79 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2); /* NOLINT */
84 u = y + y_size;
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dcudnn_batchnorm_thunk.cc50 int64 y_size = 1; local
59 y_size *= physical_dim_size(physical_dim);
66 .set_height(y_size)
/external/tensorflow/tensorflow/cc/framework/
H A Dgradient_checker.cc249 const int64 y_size = y_shapes[y_idx].num_elements(); local
252 for (int c = 0; c < y_size; ++c) {
314 const int64 y_size = local
316 Tensor jacobian_t(jacobian_type, {x_size, y_size});
/external/webp/src/dec/
H A Dbuffer_dec.c56 const uint64_t y_size = MIN_BUFFER_SIZE(width, height, y_stride); local
60 ok &= (y_size <= buf->y_size);
130 buf->y_size = (size_t)size;
H A Didec_dec.c730 idec->output_.u.YUVA.y_size = luma_size;
H A Dwebp_dec.c588 output.u.YUVA.y_size = luma_size;
/external/webrtc/webrtc/modules/video_processing/
H A Ddeflickering.cc126 const uint32_t y_size = height * width; local
231 for (uint32_t i = 0; i < y_size; i++) {
/external/libvpx/libvpx/third_party/libyuv/source/
H A Dconvert_to_i420.cc71 int y_size = crop_width * abs_crop_height; local
73 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2);
78 u = y + y_size;
/external/tensorflow/tensorflow/python/ops/
H A Dgradient_checker.py153 and "y_size" columns where "x_size" is the number of elements in x and
154 "y_size" is the number of elements in y.
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)
309 Jacobian for dy/dx. Each has "x_size" rows and "y_size" columns
310 where "x_size" is the number of elements in x and "y_size" is the
/external/webp/include/webp/
H A Ddecode.h191 size_t y_size; // luma plane size member in struct:WebPYUVABuffer
/external/webp/src/webp/
H A Ddecode.h191 size_t y_size; // luma plane size member in struct:WebPYUVABuffer
/external/ImageMagick/coders/
H A Ddpx.c259 y_size;
896 dpx.orientation.y_size=ReadBlobLong(image);
898 if (dpx.orientation.y_size != ~0U)
899 (void) FormatImageProperty(image,"dpx:orientation.y_size","%u",
900 dpx.orientation.y_size);
1705 (void) DeleteImageProperty(image,"dpx:orientation.y_size");
1732 dpx.orientation.y_size=0U;
1733 value=GetDPXProperty(image,"dpx:orientation.y_size",exception);
1735 dpx.orientation.y_size=(unsigned int) StringToUnsignedLong(value);
1736 offset+=WriteBlobLong(image,dpx.orientation.y_size);
256 y_size; member in struct:_DPXOrientationInfo
[all...]

Completed in 514 milliseconds