• Home
  • Raw
  • Download

Lines Matching refs:format

129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format,  in getAlignedWidthAndHeight()  argument
135 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) { in getAlignedWidthAndHeight()
148 switch(format) in getAlignedWidthAndHeight()
182 switch (format) in getAlignedWidthAndHeight()
246 width, height, format, 0,raster_mode, padding_threshold, in getAlignedWidthAndHeight()
364 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled() argument
373 switch(format) in isMacroTileEnabled()
397 unsigned int getSize(int format, int width, int height, const int alignedw, in getSize() argument
401 switch (format) { in getSize()
428 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { in getSize()
496 ALOGE("unrecognized pixel format: 0x%x", format); in getSize()
502 unsigned int getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument
509 format, in getBufferSizeAndDimensions()
514 size = getSize(format, width, height, alignedw, alignedh); in getBufferSizeAndDimensions()
520 unsigned int getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument
524 int tileEnabled = isMacroTileEnabled(format, usage); in getBufferSizeAndDimensions()
528 format, in getBufferSizeAndDimensions()
533 size = getSize(format, width, height, alignedw, alignedh); in getBufferSizeAndDimensions()
539 void getBufferAttributes(int width, int height, int format, int usage, in getBufferAttributes() argument
542 tileEnabled = isMacroTileEnabled(format, usage); in getBufferAttributes()
546 format, in getBufferAttributes()
550 size = getSize(format, width, height, alignedw, alignedh); in getBufferAttributes()
561 switch (hnd->format) { in getYUVPlaneInfo()
609 hnd->format); in getYUVPlaneInfo()
621 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer() argument
630 data.size = getBufferSizeAndDimensions(w, h, format, usage, alignedw, in alloc_buffer()
644 data.allocType, 0, format, in alloc_buffer()