Lines Matching defs:width
26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) {
28 mWidth = width;
31 size_t numberOfBytes = bufferSize(yuvFormat, width, height);
39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) {
41 mWidth = width;
50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) {
51 int32_t numberOfPixels = width*height;
204 int32_t width = srcRect.width();
236 size_t numberOfYBytesPerRow = (size_t) width;
249 size_t numberOfUBytesPerRow = (size_t) (width >> 1);
264 size_t numberOfVBytesPerRow = (size_t) (width >> 1);
286 int32_t width = srcRect.width();
318 size_t numberOfYBytesPerRow = (size_t) width;
331 // UV are interleaved. So number of UV bytes per row is 2*(width/2).
332 size_t numberOfUVBytesPerRow = (size_t) width;