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.cpp1245 void MPEG4Writer::beginBox(const char *fourcc) { in beginBox() argument
1246 CHECK_EQ(strlen(fourcc), 4); in beginBox()
1252 writeFourcc(fourcc); in beginBox()
2915 const char *fourcc = getFourCCForMime(mime); in writeVideoFourCCBox() local
2916 if (fourcc == NULL) { in writeVideoFourCCBox()
2921 mOwner->beginBox(fourcc); // video format in writeVideoFourCCBox()
2990 const char *fourcc = getFourCCForMime(mime); in writeAudioFourCCBox() local
2991 if (fourcc == NULL) { in writeAudioFourCCBox()
2996 mOwner->beginBox(fourcc); // audio format in writeAudioFourCCBox()
DMPEG4Extractor.cpp319 static const char *FourCC2MIME(uint32_t fourcc) { in FourCC2MIME() argument
320 switch (fourcc) { in FourCC2MIME()
350 static bool AdjustChannelsAndRate(uint32_t fourcc, uint32_t *channels, uint32_t *rate) { in AdjustChannelsAndRate() argument
351 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_NB, FourCC2MIME(fourcc))) { in AdjustChannelsAndRate()
356 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_WB, FourCC2MIME(fourcc))) { in AdjustChannelsAndRate()
4842 static bool isCompatibleBrand(uint32_t fourcc) { in isCompatibleBrand() argument
4865 if (kCompatibleBrands[i] == fourcc) { in isCompatibleBrand()