Home
last modified time | relevance | path

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

/frameworks/av/media/module/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()
162 char fourcc[15]; in dump() local
163 makeFourCC(handler->mMessages.keyAt(j), fourcc, sizeof(fourcc)); in dump()
165 fourcc, in dump()
/frameworks/native/libs/gui/include/gui/
DDisplayEventReceiver.h51 static inline constexpr uint32_t fourcc(char c1, char c2, char c3, char c4) { in fourcc() function
62 DISPLAY_EVENT_VSYNC = fourcc('v', 's', 'y', 'n'),
63 DISPLAY_EVENT_HOTPLUG = fourcc('p', 'l', 'u', 'g'),
64 DISPLAY_EVENT_MODE_CHANGE = fourcc('m', 'o', 'd', 'e'),
65 DISPLAY_EVENT_NULL = fourcc('n', 'u', 'l', 'l'),
66 DISPLAY_EVENT_FRAME_RATE_OVERRIDE = fourcc('r', 'a', 't', 'e'),
67 DISPLAY_EVENT_FRAME_RATE_OVERRIDE_FLUSH = fourcc('f', 'l', 's', 'h'),
68 DISPLAY_EVENT_HDCP_LEVELS_CHANGE = fourcc('h', 'd', 'c', 'p'),
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp1281 static uint32_t FourCCtoLower(uint32_t fourcc) { in FourCCtoLower() argument
1282 uint8_t ch_1 = tolower((fourcc >> 24) & 0xff); in FourCCtoLower()
1283 uint8_t ch_2 = tolower((fourcc >> 16) & 0xff); in FourCCtoLower()
1284 uint8_t ch_3 = tolower((fourcc >> 8) & 0xff); in FourCCtoLower()
1285 uint8_t ch_4 = tolower((fourcc) & 0xff); in FourCCtoLower()
1291 static const char *MKVFourCC2MIME(uint32_t fourcc) { in MKVFourCC2MIME() argument
1292 ALOGV("MKVFourCC2MIME fourcc 0x%8.8x", fourcc); in MKVFourCC2MIME()
1293 uint32_t lowerFourcc = FourCCtoLower(fourcc); in MKVFourCC2MIME()
1326 MakeFourCCString(fourcc, fourccString); in MKVFourCC2MIME()
2058 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.cpp1846 void MPEG4Writer::beginBox(const char *fourcc) { in beginBox() argument
1847 ALOGV("beginBox:%s", fourcc); in beginBox()
1848 CHECK_EQ(strlen(fourcc), 4u); in beginBox()
1854 writeFourcc(fourcc); in beginBox()
4414 const char *fourcc = getFourCCForMime(mime); in writeMetadataFourCCBox() local
4415 if (fourcc == NULL) { in writeMetadataFourCCBox()
4419 mOwner->beginBox(fourcc); // TextMetaDataSampleEntry in writeMetadataFourCCBox()
4451 const char *fourcc; in writeVideoFourCCBox() local
4453 fourcc = getDoviFourCC(); in writeVideoFourCCBox()
4455 fourcc = getFourCCForMime(mime); in writeVideoFourCCBox()
[all …]
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp339 static const char *FourCC2MIME(uint32_t fourcc) { in FourCC2MIME() argument
340 switch (fourcc) { in FourCC2MIME()
409 (fourcc >> 24) & 0xff, in FourCC2MIME()
410 (fourcc >> 16) & 0xff, in FourCC2MIME()
411 (fourcc >> 8) & 0xff, in FourCC2MIME()
412 fourcc & 0xff in FourCC2MIME()
418 static bool AdjustChannelsAndRate(uint32_t fourcc, uint32_t *channels, uint32_t *rate) { in AdjustChannelsAndRate() argument
419 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_NB, FourCC2MIME(fourcc))) { in AdjustChannelsAndRate()
424 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_WB, FourCC2MIME(fourcc))) { in AdjustChannelsAndRate()
7011 static bool isCompatibleBrand(uint32_t fourcc) { in isCompatibleBrand() argument
[all …]
/frameworks/native/opengl/include/EGL/
Deglext.h1021 …EXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, …
1024 …Y eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, …