Searched defs:dataSource (Results 1 - 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSource.cpp48 const sp<DataSource>& dataSource, FileType filetype) {
51 return new TimedTextSRTSource(dataSource);
47 CreateTimedTextSource( const sp<DataSource>& dataSource, FileType filetype) argument
H A DTimedTextDriver.cpp209 sp<DataSource> dataSource = local
211 return createOutOfBandTextSource(trackIndex, mimeType, dataSource);
222 sp<DataSource> dataSource = new FileSource(dup(fd), offset, length); local
223 return createOutOfBandTextSource(trackIndex, mimeType, dataSource);
229 const sp<DataSource>& dataSource) {
231 if (dataSource == NULL) {
238 dataSource, TimedTextSource::OUT_OF_BAND_FILE_SRT);
226 createOutOfBandTextSource( size_t trackIndex, const char *mimeType, const sp<DataSource>& dataSource) argument
H A DTimedTextSRTSource.cpp35 TimedTextSRTSource::TimedTextSRTSource(const sp<DataSource>& dataSource) argument
36 : mSource(dataSource),
/frameworks/av/media/libstagefright/
H A DHTTPBase.cpp49 HTTPBase *dataSource = createChromiumHTTPDataSource(flags); local
50 if (dataSource) {
51 return dataSource;
H A DNuMediaExtractor.cpp68 sp<DataSource> dataSource = local
71 if (dataSource == NULL) {
80 bool success = SniffWVM(dataSource, &mimeType, &confidence, &dummy);
88 sp<WVMExtractor> extractor = new WVMExtractor(dataSource);
94 mImpl = MediaExtractor::Create(dataSource);
121 mDataSource = dataSource;
H A DWAVExtractor.cpp57 const sp<DataSource> &dataSource,
318 const sp<DataSource> &dataSource,
323 : mDataSource(dataSource),
317 WAVSource( const sp<DataSource> &dataSource, const sp<MetaData> &meta, uint16_t waveFormat, int32_t bitsPerSample, off64_t offset, size_t size) argument
H A DAVIExtractor.cpp368 AVIExtractor::AVIExtractor(const sp<DataSource> &dataSource) argument
369 : mDataSource(dataSource) {
H A DFLACExtractor.cpp43 const sp<DataSource> &dataSource,
77 const sp<DataSource> &dataSource,
438 const sp<DataSource> &dataSource,
441 : mDataSource(dataSource),
656 const sp<DataSource> &dataSource,
658 : mDataSource(dataSource),
741 const sp<DataSource> &dataSource)
742 : mDataSource(dataSource),
437 FLACParser( const sp<DataSource> &dataSource, const sp<MetaData> &fileMetadata, const sp<MetaData> &trackMetadata) argument
655 FLACSource( const sp<DataSource> &dataSource, const sp<MetaData> &trackMetadata) argument
740 FLACExtractor( const sp<DataSource> &dataSource) argument
H A DAwesomePlayer.cpp305 sp<DataSource> dataSource = new FileSource(fd, offset, length); local
307 status_t err = dataSource->initCheck();
313 mFileSource = dataSource;
321 return setDataSource_l(dataSource);
329 const sp<DataSource> &dataSource) {
330 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource);
337 checkDrmStatus(dataSource);
343 void AwesomePlayer::checkDrmStatus(const sp<DataSource>& dataSource) { argument
344 dataSource->getDrmInfo(mDecryptHandle, &mDrmManagerClient);
1984 sp<DataSource> dataSource; local
328 setDataSource_l( const sp<DataSource> &dataSource) argument
[all...]
H A DMPEG4Extractor.cpp48 // Caller retains ownership of both "dataSource" and "sampleTable".
50 const sp<DataSource> &dataSource,
1902 const sp<DataSource> &dataSource,
1906 mDataSource(dataSource),
1900 MPEG4Source( const sp<MetaData> &format, const sp<DataSource> &dataSource, int32_t timeScale, const sp<SampleTable> &sampleTable) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp43 sp<DataSource> dataSource = local
45 CHECK(dataSource != NULL);
47 initFromDataSource(dataSource);
56 sp<DataSource> dataSource = new FileSource(dup(fd), offset, length); local
58 initFromDataSource(dataSource);
62 const sp<DataSource> &dataSource) {
63 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource);
61 initFromDataSource( const sp<DataSource> &dataSource) argument
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp126 sp<DataSource> dataSource = new StreamSource(stream); local
127 return new JPEGSource(dataSource);
/frameworks/av/cmds/stagefright/
H A Dstream.cpp161 sp<DataSource> dataSource = DataSource::CreateFromURI(filename); local
162 CHECK(dataSource != NULL);
164 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource);
H A Dsf2.cpp77 sp<DataSource> dataSource = local
81 MediaExtractor::Create(dataSource);
H A Dstagefright.cpp962 sp<DataSource> dataSource = DataSource::CreateFromURI(filename); local
966 && dataSource == NULL) {
982 mediaSource = new JPEGSource(dataSource);
1012 dataSource = liveSession->getDataSource();
1016 dataSource, MEDIA_MIMETYPE_CONTAINER_MPEG2TS);
1020 extractor = MediaExtractor::Create(dataSource);
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp182 sp<DataSource> dataSource; local
192 dataSource = DataSource::CreateFromURI(mDataLocator.uriRef);
193 if (dataSource == NULL) {
210 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length);
211 status_t err = dataSource->initCheck();
227 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource);
274 if (dataSource->getSize(&size) == OK
322 mDataSource = dataSource;
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp1160 sp<DataSource> dataSource; local
1163 dataSource = DataSource::CreateFromURI(mUri.string(), NULL);
1165 if (dataSource == NULL) {
1176 extractor = MediaExtractor::Create(dataSource,

Completed in 1046 milliseconds