Lines Matching refs:width
103 int AdrenoMemInfo::getStride(int width, int format) in getStride() argument
105 int stride = ALIGN(width, 32); in getStride()
143 stride = ALIGN(width, 32); in getStride()
146 stride = ALIGN(width, 128); in getStride()
153 stride = ALIGN(width, 16); in getStride()
157 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); in getStride()
160 stride = width; in getStride()
163 stride = ALIGN(width, 64); in getStride()
272 size_t getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument
277 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions()
298 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getBufferSizeAndDimensions()
308 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { in getBufferSizeAndDimensions()
324 if(width & 1) { in getBufferSizeAndDimensions()
334 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height); in getBufferSizeAndDimensions()
343 alignedw = width; in getBufferSizeAndDimensions()
344 size = width; in getBufferSizeAndDimensions()