Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_Utils.h28 bool usingRGBAToJpegOverride(int32_t imageFormat, int32_t containerFormat);
30 int32_t applyFormatOverrides(int32_t imageFormat, int32_t containerFormat);
38 status_t getLockedImageInfo(LockedImage* buffer, int idx, int32_t containerFormat,
Dandroid_media_Utils.cpp38 int32_t containerFormat) { in usingRGBAToJpegOverride() argument
39 return containerFormat == HAL_PIXEL_FORMAT_BLOB && imageFormat == HAL_PIXEL_FORMAT_RGBA_8888; in usingRGBAToJpegOverride()
42 int32_t applyFormatOverrides(int32_t imageFormat, int32_t containerFormat) { in applyFormatOverrides() argument
45 if (usingRGBAToJpegOverride(imageFormat, containerFormat)) { in applyFormatOverrides()
48 return containerFormat; in applyFormatOverrides()
119 int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in getLockedImageInfo() argument
139 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, containerFormat); in getLockedImageInfo()
140 fmt = applyFormatOverrides(fmt, containerFormat); in getLockedImageInfo()