Lines Matching refs:width
103 int AdrenoMemInfo::getStride(int width, int format) in getStride() argument
105 int stride = ALIGN(width, 32); in getStride()
134 stride = ALIGN(width, 32); in getStride()
137 stride = ALIGN(width, 128); in getStride()
145 stride = ALIGN(width, 16); in getStride()
148 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); in getStride()
151 stride = width; in getStride()
253 size_t getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument
258 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions()
279 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getBufferSizeAndDimensions()
290 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { in getBufferSizeAndDimensions()
312 if(width & 1) { in getBufferSizeAndDimensions()
321 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height); in getBufferSizeAndDimensions()
330 alignedw = width; in getBufferSizeAndDimensions()
331 size = width; in getBufferSizeAndDimensions()