Home
last modified time | relevance | path

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

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