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

/external/libyuv/files/util/
H A Dpsnr_main.cc238 const int y_size, const int uv_size, const size_t total_size,
243 const uint8* const u_org = ch_org + y_size + uv_offset;
244 const uint8* const u_rec = ch_rec + y_size;
245 const uint8* const v_org = ch_org + y_size + (uv_size - uv_offset);
246 const uint8* const v_rec = ch_rec + y_size + uv_size;
250 libyuv::ComputeSumSquareError(ch_org, ch_rec, y_size));
256 double y_err = ComputeSumSquareError(ch_org, ch_rec, y_size);
265 distorted_frame->y = ComputePSNR(y_err, static_cast<double>(y_size));
279 distorted_frame->y /= y_size;
348 const int y_size local
237 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 Dconvert.cc224 const int y_size = Abs(image_width) * Abs(image_height); local
227 org_size = y_size + 2 * uv_size; // YUV original.
231 const int y_size = dst_width * dst_height; local
233 const size_t total_size = y_size + 2 * uv_size;
/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/opencv3/3rdparty/libwebp/dec/
H A Dbuffer.c49 const uint64_t y_size = (uint64_t)buf->y_stride * height; local
53 ok &= (y_size <= buf->y_size);
116 buf->y_size = (size_t)size;
H A Didec.c676 idec->output_.u.YUVA.y_size = luma_size;
H A Dwebp.c546 output.u.YUVA.y_size = luma_size;
/external/webp/src/enc/
H A Dpicture.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/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/webp/src/dec/
H A Dbuffer.c56 const uint64_t y_size = MIN_BUFFER_SIZE(width, height, y_stride); local
60 ok &= (y_size <= buf->y_size);
125 buf->y_size = (size_t)size;
H A Didec.c700 idec->output_.u.YUVA.y_size = luma_size;
H A Dwebp.c587 output.u.YUVA.y_size = luma_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/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.cc72 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/libyuv/files/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/opencv3/3rdparty/libwebp/webp/
H A Ddecode.h188 size_t y_size; // luma plane size member in struct:WebPYUVABuffer
/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/opencv3/3rdparty/libwebp/enc/
H A Dpicture.c55 uint64_t y_size, uv_size, uv0_size, a_size, total_size; local
80 y_size = (uint64_t)y_stride * height;
84 total_size = y_size + a_size + 2 * uv_size + 2 * uv0_size;
104 mem += y_size;
/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 633 milliseconds