/external/webrtc/webrtc/test/ |
frame_generator_unittest.cc | 49 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
|
/device/linaro/hikey/gralloc960/ |
mali_gralloc_bufferaccess.cpp | 106 int y_size = y_stride * adjusted_height; local 120 u_offset = y_size; 121 v_offset = y_size + 1; 128 v_offset = y_size; 129 u_offset = y_size + 1; 141 v_offset = y_size; 142 u_offset = y_size + c_size; 288 int y_size = y_stride * adjusted_height; local 305 flex_layout->planes[1].top_left = base + y_size; 334 flex_layout->planes[1].top_left = base + y_size; [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
listdiff_op.cc | 49 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/drm_hwcomposer/ |
platformhisi.cpp | 170 int y_size = adjusted_height * hnd->byte_stride; local 177 bo->offsets[1] = y_size; 181 bo->offsets[2] = y_size + v_size;
|
/external/libaom/libaom/third_party/libyuv/source/ |
convert_to_i420.cc | 72 int y_size = crop_width * abs_crop_height; local 74 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2); 79 u = y + y_size;
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
convert_to_i420.cc | 77 int y_size = crop_width * abs_crop_height; local 79 rotate_buffer = (uint8_t*)malloc(y_size + uv_size * 2); /* NOLINT */ 84 dst_u = dst_y + y_size;
|
/external/libyuv/files/source/ |
convert_to_i420.cc | 77 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;
|
/device/google/cuttlefish_common/guest/hals/gralloc/ |
gralloc.cpp | 85 int y_size, c_size; local 98 y_size = strides.ystride * h; 100 return (y_size + 2 * c_size + kSwiftShaderPadding);
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
cudnn_batchnorm_thunk.cc | 49 int64 y_size = 1; local 58 y_size *= physical_dim_size(physical_dim); 65 .set_height(y_size)
|
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/ |
gralloc_vsoc_priv.h | 307 int y_size, c_size; local 324 y_size = strides.ystride * h; 326 return (y_size + 2 * c_size +
|
/external/libtextclassifier/lang_id/common/ |
embedding-network.cc | 78 const int y_size = y->size(); local 79 SAFTM_CHECK_EQ(weights.cols, y_size); 83 // NOTE: the code below reads x_size * y_size elements from weights; these 108 for (int j = 0; j < y_size; ++j, ++weight_ptr) { 114 // next row (to satisfy Invariant 1). We do this by adding y_size == 116 weight_ptr += y_size; 132 for (int j = 0; j < y_size; ++j, ++weight_ptr) { 136 weight_ptr += y_size;
|
/external/libyuv/files/util/ |
yuvconvert.cc | 227 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;
|
psnr_main.cc | 242 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 = image_width * image_height local [all...] |
/external/tensorflow/tensorflow/cc/framework/ |
gradient_checker.cc | 249 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/ |
buffer_dec.c | 56 const uint64_t y_size = MIN_BUFFER_SIZE(width, height, y_stride); local 60 ok &= (y_size <= buf->y_size); 131 buf->y_size = (size_t)size;
|
/external/webp/src/enc/ |
picture_enc.c | 98 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/ |
videoframe.cc | 86 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/webrtc/webrtc/modules/video_processing/ |
deflickering.cc | 126 const uint32_t y_size = height * width; local 231 for (uint32_t i = 0; i < y_size; i++) {
|
/external/minigbm/cros_gralloc/gralloc0/tests/ |
gralloctest.c | 542 uintptr_t y_size, c_stride, c_size, cr_offset, cb_offset; local 552 * y_size = stride * height. 555 * size = y_size + c_size * 2. 556 * cr_offset = y_size. 557 * cb_offset = y_size + c_size. 564 y_size = info.stride * height; 567 cr_offset = y_size; 568 cb_offset = y_size + c_size;
|
/external/webp/include/webp/ |
decode.h | 197 size_t y_size; // luma plane size member in struct:WebPYUVABuffer
|
/external/webp/src/webp/ |
decode.h | 197 size_t y_size; // luma plane size member in struct:WebPYUVABuffer
|
/external/webrtc/talk/session/media/ |
planarfunctions_unittest.cc | 142 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 = kHeight * kWidth local 636 int y_size = kHeight * kWidth; local [all...] |
/external/ImageMagick/coders/ |
dpx.c | 259 y_size; 907 dpx.orientation.y_size=ReadBlobLong(image); 909 if (dpx.orientation.y_size != ~0U) 910 (void) FormatImageProperty(image,"dpx:orientation.y_size","%u", 911 dpx.orientation.y_size); 256 y_size; member in struct:_DPXOrientationInfo [all...] |
/cts/tests/camera/src/android/hardware/cts/ |
CameraTest.java | 246 int y_size = stride * height; local 249 int size = y_size + c_size * 2; [all...] |