Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_Utils.h119 bool usingRGBAToJpegOverride(int32_t imageFormat, int32_t containerFormat);
121 int32_t applyFormatOverrides(int32_t imageFormat, int32_t containerFormat);
129 status_t getLockedImageInfo(LockedImage* buffer, int idx, int32_t containerFormat,
Dandroid_media_Utils.cpp567 int32_t containerFormat) { in usingRGBAToJpegOverride() argument
568 return containerFormat == HAL_PIXEL_FORMAT_BLOB && imageFormat == HAL_PIXEL_FORMAT_RGBA_8888; in usingRGBAToJpegOverride()
571 int32_t applyFormatOverrides(int32_t imageFormat, int32_t containerFormat) { in applyFormatOverrides() argument
574 if (usingRGBAToJpegOverride(imageFormat, containerFormat)) { in applyFormatOverrides()
577 return containerFormat; in applyFormatOverrides()
647 int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in getLockedImageInfo() argument
667 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, containerFormat); in getLockedImageInfo()
668 fmt = applyFormatOverrides(fmt, containerFormat); in getLockedImageInfo()