Lines Matching refs:height

129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format,
133 aligned_h = height;
137 aligned_h = ALIGN(height, 32);
161 // the function below computes aligned width and aligned height
165 height, bpp, tile_enabled,
203 aligned_h = VENUS_Y_SCANLINES(COLOR_FMT_NV12, height);
209 aligned_h = ALIGN(height, 64);
246 width, height, format, 0,raster_mode, padding_threshold,
397 unsigned int getSize(int format, int width, int height, const int alignedw,
418 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096);
425 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192);
428 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) {
452 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height);
455 if(height != 1) {
457 must have height==1 ", __FUNCTION__);
502 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
508 height,
514 size = getSize(format, width, height, alignedw, alignedh);
520 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
527 height,
533 size = getSize(format, width, height, alignedw, alignedh);
539 void getBufferAttributes(int width, int height, int format, int usage,
545 height,
550 size = getSize(format, width, height, alignedw, alignedh);
559 // Get the chroma offsets from the handle width/height. We take advantage
569 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height);
570 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1);
583 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height);
584 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1);
595 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height);
596 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height +
597 cstride * hnd->height/2);
618 // Allocate buffer from width, height and format into a