Searched refs:bufferFormat (Results 1 – 2 of 2) sorted by relevance
771 static bool usingRGBAToJpegOverride(int32_t bufferFormat, int32_t writerCtxFormat) { in usingRGBAToJpegOverride() argument772 return writerCtxFormat == HAL_PIXEL_FORMAT_BLOB && bufferFormat == HAL_PIXEL_FORMAT_RGBA_8888; in usingRGBAToJpegOverride()775 static int32_t applyFormatOverrides(int32_t bufferFormat, int32_t writerCtxFormat) in applyFormatOverrides() argument779 if (usingRGBAToJpegOverride(bufferFormat, writerCtxFormat)) { in applyFormatOverrides()782 return bufferFormat; in applyFormatOverrides()
369 static bool usingRGBAToJpegOverride(int32_t bufferFormat, int32_t readerCtxFormat) { in usingRGBAToJpegOverride() argument370 return readerCtxFormat == HAL_PIXEL_FORMAT_BLOB && bufferFormat == HAL_PIXEL_FORMAT_RGBA_8888; in usingRGBAToJpegOverride()373 static int32_t applyFormatOverrides(int32_t bufferFormat, int32_t readerCtxFormat) in applyFormatOverrides() argument377 if (usingRGBAToJpegOverride(bufferFormat, readerCtxFormat)) { in applyFormatOverrides()380 return bufferFormat; in applyFormatOverrides()