Home
last modified time | relevance | path

Searched refs:containerFormat (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_Utils.h118 bool usingRGBAToJpegOverride(int32_t imageFormat, int32_t containerFormat);
120 int32_t applyFormatOverrides(int32_t imageFormat, int32_t containerFormat);
128 status_t getLockedImageInfo(LockedImage* buffer, int idx, int32_t containerFormat,
Dandroid_media_Utils.cpp568 int32_t containerFormat) { in usingRGBAToJpegOverride() argument
569 return containerFormat == HAL_PIXEL_FORMAT_BLOB && imageFormat == HAL_PIXEL_FORMAT_RGBA_8888; in usingRGBAToJpegOverride()
572 int32_t applyFormatOverrides(int32_t imageFormat, int32_t containerFormat) { in applyFormatOverrides() argument
575 if (usingRGBAToJpegOverride(imageFormat, containerFormat)) { in applyFormatOverrides()
578 return containerFormat; in applyFormatOverrides()
648 int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in getLockedImageInfo() argument
668 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, containerFormat); in getLockedImageInfo()
669 fmt = applyFormatOverrides(fmt, containerFormat); in getLockedImageInfo()