Searched refs:mediaType (Results 1 - 25 of 85) sorted by relevance

1234

/external/opencore/fileformats/mp4/composer/src/
H A Dmpeg4mediaheaderatom.cpp29 PVA_FF_Mpeg4MediaHeaderAtom::PVA_FF_Mpeg4MediaHeaderAtom(uint32 mediaType) argument
32 _mediaType = mediaType;
H A Dmediainformationatom.cpp37 PVA_FF_MediaInformationAtom::PVA_FF_MediaInformationAtom(uint32 mediaType, argument
48 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_SampleTableAtom, (mediaType,
56 // Create correct PVA_FF_MediaInformationHeaderAtom based on mediaType
57 init(mediaType);
66 uint32 mediaType = (uint32)iMediaType; local
71 if (mediaType == MEDIA_TYPE_AUDIO)
76 else if (mediaType == MEDIA_TYPE_VISUAL)
92 PVA_FF_MediaInformationAtom::init(int32 mediaType) argument
94 iMediaType = mediaType;
95 switch (mediaType)
115 nextSample(int32 mediaType, void *psample, uint32 size, uint32 ts, uint8 flags, uint32 baseOffset, bool oChunkStart) argument
129 nextTextSample(int32 mediaType, void *psample, uint32 size, uint32 ts, uint8 flags, int32 index, uint32 baseOffset, bool oChunkStart) argument
144 nextSample(int32 mediaType, Oscl_Vector <OsclMemoryFragment, OsclMemAllocator>& fragmentList, uint32 size, uint32 ts, uint8 flags, uint32 baseOffset, bool oChunkStart) argument
159 nextTextSample(int32 mediaType, Oscl_Vector <OsclMemoryFragment, OsclMemAllocator>& fragmentList, uint32 size, uint32 ts, uint8 flags, int32 index, uint32 baseOffset, bool oChunkStart) argument
[all...]
H A Dimpeg4file.cpp40 PVA_FF_IMpeg4File::createMP4File(int32 mediaType, argument
48 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_Mpeg4File, (mediaType), mp4);
60 if (!(mp4->init(mediaType,
73 PVA_FF_IMpeg4File::createMP4File(int32 mediaType, argument
78 PVA_FF_Mpeg4File *mp4 = NULL;//OSCL_NEW(PVA_FF_Mpeg4File, (mediaType));
79 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_Mpeg4File, (mediaType), mp4);
88 if (!(mp4->init(mediaType,
H A Dmediaatom.cpp30 PVA_FF_MediaAtom::PVA_FF_MediaAtom(int32 mediaType, argument
42 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_HandlerAtom, (mediaType, (uint8)0, (uint8)0), _phandler);
44 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_MediaInformationAtom, (mediaType,
65 PVA_FF_MediaAtom::nextSample(int32 mediaType, argument
73 _pmediaInformation->nextSample(mediaType, psample, size, ts,
79 PVA_FF_MediaAtom::nextTextSample(int32 mediaType, argument
88 _pmediaInformation->nextTextSample(mediaType, psample, size, ts,
94 PVA_FF_MediaAtom::nextSample(int32 mediaType, argument
102 _pmediaInformation->nextSample(mediaType, fragmentList, size, ts,
109 PVA_FF_MediaAtom::nextTextSample(int32 mediaType, argument
[all...]
H A Dsampletableatom.cpp31 PVA_FF_SampleTableAtom::PVA_FF_SampleTableAtom(uint32 mediaType, argument
46 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_TimeToSampleAtom, (mediaType), _ptimeToSampleAtom);
47 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_SampleDescriptionAtom, (mediaType, codecType, protocol, profile, profileComp, level), _psampleDescriptionAtom);
48 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_SampleSizeAtom, (mediaType), _psampleSizeAtom);
49 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_SampleToChunkAtom, (mediaType, fileAuthoringFlags), _psampleToChunkAtom);
50 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_ChunkOffsetAtom, (mediaType, fileAuthoringFlags), _pchunkOffsetAtom);
52 if (mediaType == MEDIA_TYPE_VISUAL)
90 PVA_FF_SampleTableAtom::nextSample(int32 mediaType, argument
128 OSCL_UNUSED_ARG(mediaType);
133 PVA_FF_SampleTableAtom::nextTextSample(int32 mediaType, argument
179 nextSample(int32 mediaType, Oscl_Vector <OsclMemoryFragment, OsclMemAllocator>& fragmentList, uint32 size, uint32 ts, uint8 flags, uint32 baseOffset, bool oChunkStart) argument
225 nextTextSample(int32 mediaType, Oscl_Vector <OsclMemoryFragment, OsclMemAllocator>& fragmentList, uint32 size, uint32 ts, uint8 flags, int32 index, uint32 baseOffset, bool oChunkStart) argument
[all...]
H A Dmpegsampleentry.cpp31 PVA_FF_MpegSampleEntry::PVA_FF_MpegSampleEntry(int32 mediaType) argument
36 PV_MP4_FF_NEW(fp->auditCB, PVA_FF_ESDAtom, (mediaType, 0), _pes);
H A Dtrackextendsatom.cpp23 PVA_FF_TrackExtendsAtom::PVA_FF_TrackExtendsAtom(uint32 mediaType, argument
28 _mediaType = mediaType;
/external/opencore/fileformats/mp4/parser/src/
H A Dmpeg4mediaheaderatom.cpp35 uint32 mediaType,
42 _mediaType = mediaType;
34 Mpeg4MediaHeaderAtom(MP4_FF_FILE *fp, uint32 mediaType, uint32 size, uint32 type) argument
H A Dmediaatom.cpp50 uint32 mediaType = 0; local
131 //mediaType should be the same as handlerType, if that handlerType do exists
132 mediaType = AtomUtils::getMediaTypeFromHandlerType(handlerType);
141 if ((mediaType == MEDIA_TYPE_AUDIO) ||
142 (mediaType == MEDIA_TYPE_VISUAL) ||
143 (mediaType == MEDIA_TYPE_TEXT))
151 PV_MP4_FF_NEW(fp->auditCB, MediaInformationAtom, (fp, mediaType, filename,
H A Dmediainformationatom.cpp44 uint32 mediaType,
138 (fp, mediaType, atomSize, atomType),
171 (fp, mediaType, filename, atomSize,
43 MediaInformationAtom(MP4_FF_FILE *fp, uint32 mediaType, OSCL_wString& filename, bool oPVContentDownloadable, uint32 parsingMode) argument
/external/webkit/WebCore/css/
H A DMediaQuery.h43 MediaQuery(Restrictor r, const String& mediaType, Vector<MediaQueryExp*>* exprs);
48 String mediaType() const { return m_mediaType; } function in class:WebCore::MediaQuery
H A DMediaQuery.cpp35 MediaQuery::MediaQuery(Restrictor r, const String& mediaType, Vector<MediaQueryExp*>* exprs) argument
37 , m_mediaType(mediaType)
/external/opencore/fileformats/mp4/composer/include/
H A Dmpeg4mediaheaderatom.h32 PVA_FF_Mpeg4MediaHeaderAtom(uint32 mediaType); // Constructor
H A Dmediainformationatom.h41 PVA_FF_MediaInformationAtom(uint32 mediaType,
66 void nextSample(int32 mediaType,
74 void nextTextSample(int32 mediaType,
83 void nextSample(int32 mediaType,
91 void nextTextSample(int32 mediaType,
157 void init(int32 mediaType);
H A Dmpegsampleentry.h34 PVA_FF_MpegSampleEntry(int32 mediaType); // Constructor
35 PVA_FF_MpegSampleEntry(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, int32 mediaType); // Stream-in Constructor
H A Dmediaatom.h40 PVA_FF_MediaAtom(int32 mediaType,
57 void nextSample(int32 mediaType,
65 void nextTextSample(int32 mediaType,
74 void nextSample(int32 mediaType,
82 void nextTextSample(int32 mediaType,
H A Dsampletableatom.h45 PVA_FF_SampleTableAtom(uint32 mediaType,
56 void nextSample(int32 mediaType,
64 void nextTextSample(int32 mediaType,
73 void nextSample(int32 mediaType,
81 void nextTextSample(int32 mediaType,
H A Dchunkoffsetatom.h34 PVA_FF_ChunkOffsetAtom(uint32 mediaType,
H A Dsamplesizeatom.h36 PVA_FF_SampleSizeAtom(uint32 mediaType); // Constructor
H A Dtrackextendsatom.h29 PVA_FF_TrackExtendsAtom(uint32 mediaType, int32 codecType, uint32 trackId);
H A Dtimetosampleatom.h35 PVA_FF_TimeToSampleAtom(uint32 mediaType); // Constructor
H A Dtrackatom.h102 void nextSample(int32 mediaType,
110 void nextTextSample(int32 mediaType,
119 void nextSample(int32 mediaType,
127 void nextTextSample(int32 mediaType,
/external/opencore/fileformats/mp4/parser/include/
H A Dmpeg4mediaheaderatom.h44 uint32 mediaType,
/external/webkit/WebCore/platform/network/
H A DHTTPParsers.cpp150 String extractMIMETypeFromMediaType(const String& mediaType) argument
153 unsigned length = mediaType.length();
156 UChar c = mediaType[i];
181 return mediaType;
185 String extractCharsetFromMediaType(const String& mediaType) argument
188 int length = (int)mediaType.length();
191 pos = mediaType.find("charset", pos, false);
196 if (mediaType[pos-1] > ' ' && mediaType[pos-1] != ';') {
204 while (pos != length && mediaType[po
[all...]
/external/webkit/WebKit/android/benchmark/
H A DIntercept.cpp67 String mediaType = data.substring(0, index); local
70 bool decode = mediaType.endsWith(";base64", false);
72 mediaType = mediaType.left(mediaType.length() - 7); // 7 for base64;
74 if (mediaType.isEmpty())
75 mediaType = "text/plain;charset=US-ASCII";
77 String mimeType = extractMIMETypeFromMediaType(mediaType);
78 String charset = extractCharsetFromMediaType(mediaType);

Completed in 194 milliseconds

1234