Searched defs:fourcc (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
H A DALooperRoster.cpp103 static void makeFourCC(uint32_t fourcc, char *s) { argument
104 s[0] = (fourcc >> 24) & 0xff;
106 s[1] = (fourcc >> 16) & 0xff;
107 s[2] = (fourcc >> 8) & 0xff;
108 s[3] = fourcc & 0xff;
111 sprintf(s, "%u", fourcc);
148 char fourcc[15]; local
149 makeFourCC(handler->mMessages.keyAt(j), fourcc);
151 fourcc,
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp434 uint32_t fourcc = U32_AT(tmp); local
444 if (fourcc == FOURCC('L', 'I', 'S', 'T')
445 || fourcc == FOURCC('R', 'I', 'F', 'F')) {
492 (char)(fourcc >> 24),
493 (char)((fourcc >> 16) & 0xff),
494 (char)((fourcc >> 8) & 0xff),
495 (char)(fourcc & 0xff));
499 switch (fourcc) {
H A DMPEG4Extractor.cpp313 static const char *FourCC2MIME(uint32_t fourcc) { argument
314 switch (fourcc) {
344 static bool AdjustChannelsAndRate(uint32_t fourcc, uint32_t *channels, uint32_t *rate) { argument
345 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_NB, FourCC2MIME(fourcc))) {
350 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_WB, FourCC2MIME(fourcc))) {
4611 static bool isCompatibleBrand(uint32_t fourcc) { argument
4634 if (kCompatibleBrands[i] == fourcc) {
H A DMPEG4Writer.cpp1215 void MPEG4Writer::beginBox(const char *fourcc) { argument
1216 CHECK_EQ(strlen(fourcc), 4);
1222 writeFourcc(fourcc);
2774 const char *fourcc = getFourCCForMime(mime); local
2775 if (fourcc == NULL) {
2780 mOwner->beginBox(fourcc); // video format
2824 const char *fourcc = getFourCCForMime(mime); local
2825 if (fourcc == NULL) {
2830 mOwner->beginBox(fourcc); // audio format

Completed in 2547 milliseconds