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);
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()
120 int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in getLockedImageInfo() argument
140 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, containerFormat); in getLockedImageInfo()
141 fmt = applyFormatOverrides(fmt, containerFormat); in getLockedImageInfo()
/frameworks/av/media/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()