Home
last modified time | relevance | path

Searched refs:fourcc (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp105 static void makeFourCC(uint32_t fourcc, char *s, size_t bufsz) { in makeFourCC() argument
106 s[0] = (fourcc >> 24) & 0xff; in makeFourCC()
108 s[1] = (fourcc >> 16) & 0xff; in makeFourCC()
109 s[2] = (fourcc >> 8) & 0xff; in makeFourCC()
110 s[3] = fourcc & 0xff; in makeFourCC()
113 snprintf(s, bufsz, "%u", fourcc); in makeFourCC()
150 char fourcc[15]; in dump() local
151 makeFourCC(handler->mMessages.keyAt(j), fourcc, sizeof(fourcc)); in dump()
153 fourcc, in dump()
/frameworks/native/libs/gui/include/gui/
DDisplayEventReceiver.h45 static inline constexpr uint32_t fourcc(char c1, char c2, char c3, char c4) { in fourcc() function
57 DISPLAY_EVENT_VSYNC = fourcc('v', 's', 'y', 'n'),
58 DISPLAY_EVENT_HOTPLUG = fourcc('p', 'l', 'u', 'g'),
59 DISPLAY_EVENT_MODE_CHANGE = fourcc('m', 'o', 'd', 'e'),
60 DISPLAY_EVENT_NULL = fourcc('n', 'u', 'l', 'l'),
61 DISPLAY_EVENT_FRAME_RATE_OVERRIDE = fourcc('r', 'a', 't', 'e'),
62 DISPLAY_EVENT_FRAME_RATE_OVERRIDE_FLUSH = fourcc('f', 'l', 's', 'h'),
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1275 static uint32_t FourCCtoLower(uint32_t fourcc) { in FourCCtoLower() argument
1276 uint8_t ch_1 = tolower((fourcc >> 24) & 0xff); in FourCCtoLower()
1277 uint8_t ch_2 = tolower((fourcc >> 16) & 0xff); in FourCCtoLower()
1278 uint8_t ch_3 = tolower((fourcc >> 8) & 0xff); in FourCCtoLower()
1279 uint8_t ch_4 = tolower((fourcc) & 0xff); in FourCCtoLower()
1285 static const char *MKVFourCC2MIME(uint32_t fourcc) { in MKVFourCC2MIME() argument
1286 ALOGV("MKVFourCC2MIME fourcc 0x%8.8x", fourcc); in MKVFourCC2MIME()
1287 uint32_t lowerFourcc = FourCCtoLower(fourcc); in MKVFourCC2MIME()
1320 MakeFourCCString(fourcc, fourccString); in MKVFourCC2MIME()
2028 uint32_t fourcc = *(uint32_t *)(codecPrivate + 16); in addTracks() local
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h54 void beginBox(const char *fourcc);
61 void writeFourcc(const char *fourcc);
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1796 void MPEG4Writer::beginBox(const char *fourcc) { in beginBox() argument
1797 ALOGV("beginBox:%s", fourcc); in beginBox()
1798 CHECK_EQ(strlen(fourcc), 4u); in beginBox()
1804 writeFourcc(fourcc); in beginBox()
4353 const char *fourcc = getFourCCForMime(mime); in writeMetadataFourCCBox() local
4354 if (fourcc == NULL) { in writeMetadataFourCCBox()
4358 mOwner->beginBox(fourcc); // TextMetaDataSampleEntry in writeMetadataFourCCBox()
4390 const char *fourcc; in writeVideoFourCCBox() local
4392 fourcc = getDoviFourCC(); in writeVideoFourCCBox()
4394 fourcc = getFourCCForMime(mime); in writeVideoFourCCBox()
[all …]
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp338 static const char *FourCC2MIME(uint32_t fourcc) { in FourCC2MIME() argument
339 switch (fourcc) { in FourCC2MIME()
399 (fourcc >> 24) & 0xff, in FourCC2MIME()
400 (fourcc >> 16) & 0xff, in FourCC2MIME()
401 (fourcc >> 8) & 0xff, in FourCC2MIME()
402 fourcc & 0xff in FourCC2MIME()
408 static bool AdjustChannelsAndRate(uint32_t fourcc, uint32_t *channels, uint32_t *rate) { in AdjustChannelsAndRate() argument
409 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_NB, FourCC2MIME(fourcc))) { in AdjustChannelsAndRate()
414 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_WB, FourCC2MIME(fourcc))) { in AdjustChannelsAndRate()
6970 static bool isCompatibleBrand(uint32_t fourcc) { in isCompatibleBrand() argument
[all …]
/frameworks/native/opengl/include/EGL/
Deglext.h1016 …EXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, …
1019 …Y eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, …