Lines Matching defs:height
26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) {
29 mHeight = height;
31 size_t numberOfBytes = bufferSize(yuvFormat, width, height);
39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) {
42 mHeight = height;
50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) {
51 int32_t numberOfPixels = width*height;
205 int32_t height = srcRect.height();
239 for (int32_t offsetY = 0; offsetY < height; ++offsetY) {
253 // go half the height.
254 for (int32_t offsetY = 0; offsetY < (height >> 1); ++offsetY) {
267 // Every other pixel row has a U/V data row. Hence only go half the height.
268 for (int32_t offsetY = 0; offsetY < (height >> 1); ++offsetY) {
287 int32_t height = srcRect.height();
321 for (int32_t offsetY = 0; offsetY < height; ++offsetY) {
335 // Every other pixel row has a U/V data row. Hence only go half the height.
336 for (int32_t offsetY = 0; offsetY < (height >> 1); ++offsetY) {