Home
last modified time | relevance | path

Searched refs:containerFormat (Results 1 – 3 of 3) 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);
40 status_t getLockedImageInfo(LockedImage* buffer, int idx, int32_t containerFormat,
Dandroid_media_Utils.cpp41 int32_t containerFormat) { in usingRGBAToJpegOverride() argument
42 return containerFormat == HAL_PIXEL_FORMAT_BLOB && imageFormat == HAL_PIXEL_FORMAT_RGBA_8888; in usingRGBAToJpegOverride()
45 int32_t applyFormatOverrides(int32_t imageFormat, int32_t containerFormat) { in applyFormatOverrides() argument
48 if (usingRGBAToJpegOverride(imageFormat, containerFormat)) { in applyFormatOverrides()
51 return containerFormat; in applyFormatOverrides()
155 int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in getLockedImageInfo() argument
175 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, containerFormat); in getLockedImageInfo()
176 fmt = applyFormatOverrides(fmt, containerFormat); in getLockedImageInfo()
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp1021 string containerFormat = inputFileNames[idx].substr(inputFileNames[idx].find(".") + 1); in TEST_P() local
1022 setupExtractor(containerFormat); in TEST_P()
1024 ALOGV("Unknown extractor %s. Skipping the test", containerFormat.c_str()); in TEST_P()
1028 ALOGV("Validates %s Extractor for %s", containerFormat.c_str(), in TEST_P()
1033 ASSERT_EQ(status, 0) << "SetDataSource failed for" << containerFormat << "extractor"; in TEST_P()
1036 ASSERT_EQ(status, 0) << "Extractor creation failed for " << containerFormat << " extractor"; in TEST_P()