/cts/tests/tests/media/src/android/media/cts/ |
MediaExtractorTest.java | 32 protected MediaExtractor mExtractor; 38 mExtractor = new MediaExtractor(); 44 mExtractor.release(); 54 mExtractor.setDataSource(ds); 60 mExtractor.setDataSource((MediaDataSource)null); 69 mExtractor.release(); 77 mExtractor.setDataSource(dataSource); 88 mExtractor.setDataSource(dataSource); 100 final int trackCount = mExtractor.getTrackCount(); 103 mExtractor.selectTrack(i) [all...] |
DecoderConformanceTest.java | 70 private MediaExtractor mExtractor; 127 mExtractor.release(); 133 mExtractor = null; 139 mExtractor = new MediaExtractor(); 140 mExtractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), 142 mExtractor.selectTrack(0); 143 int trackIndex = mExtractor.getSampleTrackIndex(); 144 MediaFormat format = mExtractor.getTrackFormat(trackIndex); 177 int sampleSize = mExtractor.readSampleData(buffer, 0); 183 mDecoder.queueInputBuffer(inputIndex, 0, sampleSize, mExtractor.getSampleTime(), 0) [all...] |
CodecState.java | 49 private MediaExtractor mExtractor; 67 mExtractor = extractor; 207 int trackIndex = mExtractor.getSampleTrackIndex(); 211 mExtractor.readSampleData(codecData, 0 /* offset */); 213 long sampleTime = mExtractor.getSampleTime(); 215 int sampleFlags = mExtractor.getSampleFlags(); 241 mExtractor.getSampleCryptoInfo(info); 251 mExtractor.advance();
|
MediaSyncTest.java | 596 private MediaExtractor mExtractor = null; 640 mExtractor = MediaUtils.createMediaExtractorForMimeType( 645 mExtractor.getTrackFormat(mExtractor.getSampleTrackIndex()); 677 if (mExtractor != null) { 678 mExtractor.release(); 679 mExtractor = null; 694 if (mExtractor == null) { 700 mExtractor.getTrackFormat(mExtractor.getSampleTrackIndex()) [all...] |
VideoEncoderTest.java | 185 private MediaExtractor mExtractor; 219 mExtractor = new MediaExtractor(); 221 mExtractor.setDataSource(mContext, Uri.parse(path), null); 223 mExtractor.setDataSource(path); 226 for (int i = 0; i < mExtractor.getTrackCount(); i++) { 227 MediaFormat fmt = mExtractor.getTrackFormat(i); 232 mExtractor.selectTrack(i); 310 if (mExtractor != null) { 311 mExtractor.release(); 312 mExtractor = null [all...] |
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/basicmediadecoder/ |
MainActivity.java | 50 private MediaExtractor mExtractor = new MediaExtractor(); 82 mExtractor.release(); 107 mExtractor.setDataSource(this, videoUri, null); 108 int nTracks = mExtractor.getTrackCount(); 113 mExtractor.unselectTrack(i); 124 mCodecWrapper = MediaCodecWrapper.fromVideoFormat(mExtractor.getTrackFormat(i), 127 mExtractor.selectTrack(i); 145 boolean isEos = ((mExtractor.getSampleFlags() & MediaCodec 152 boolean result = mCodecWrapper.writeSample(mExtractor, false, 153 mExtractor.getSampleTime(), mExtractor.getSampleFlags()) [all...] |
/developers/samples/android/media/BasicMediaDecoder/Application/src/main/java/com/example/android/basicmediadecoder/ |
MainActivity.java | 50 private MediaExtractor mExtractor = new MediaExtractor(); 82 mExtractor.release(); 107 mExtractor.setDataSource(this, videoUri, null); 108 int nTracks = mExtractor.getTrackCount(); 113 mExtractor.unselectTrack(i); 124 mCodecWrapper = MediaCodecWrapper.fromVideoFormat(mExtractor.getTrackFormat(i), 127 mExtractor.selectTrack(i); 145 boolean isEos = ((mExtractor.getSampleFlags() & MediaCodec 152 boolean result = mCodecWrapper.writeSample(mExtractor, false, 153 mExtractor.getSampleTime(), mExtractor.getSampleFlags()) [all...] |
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.basicmediadecoder/ |
MainActivity.java | 50 private MediaExtractor mExtractor = new MediaExtractor(); 82 mExtractor.release(); 107 mExtractor.setDataSource(this, videoUri, null); 108 int nTracks = mExtractor.getTrackCount(); 113 mExtractor.unselectTrack(i); 124 mCodecWrapper = MediaCodecWrapper.fromVideoFormat(mExtractor.getTrackFormat(i), 127 mExtractor.selectTrack(i); 145 boolean isEos = ((mExtractor.getSampleFlags() & MediaCodec 152 boolean result = mCodecWrapper.writeSample(mExtractor, false, 153 mExtractor.getSampleTime(), mExtractor.getSampleFlags()) [all...] |
/frameworks/av/media/libstagefright/ |
StagefrightMetadataRetriever.cpp | 84 mExtractor = MediaExtractor::Create(mSource); 86 if (mExtractor == NULL) { 114 mExtractor = MediaExtractor::Create(mSource); 116 if (mExtractor == NULL) { 131 mExtractor = MediaExtractor::Create(mSource); 133 if (mExtractor == NULL) { 446 if (mExtractor.get() == NULL) { 451 sp<MetaData> fileMeta = mExtractor->getMetaData(); 464 size_t n = mExtractor->countTracks(); 467 sp<MetaData> meta = mExtractor->getTrackMetaData(i) [all...] |
AVIExtractor.cpp | 53 sp<AVIExtractor> mExtractor; 91 : mExtractor(extractor), 93 mTrack(mExtractor->mTracks.itemAt(trackIndex)), 149 mExtractor->getSampleIndexAtTime( 176 status_t err = mExtractor->getSampleInfo( 188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size); [all...] |
OggExtractor.cpp | 63 sp<OggExtractor> mExtractor; 228 : mExtractor(extractor), 239 return mExtractor->mImpl->getFormat(); 265 status_t err = mExtractor->mImpl->seekToTime(seekTimeUs); 272 status_t err = mExtractor->mImpl->readNextPacket(&packet); [all...] |
/frameworks/av/media/libstagefright/include/ |
StagefrightMetadataRetriever.h | 49 sp<IMediaExtractor> mExtractor;
|
/frameworks/av/media/libstagefright/matroska/ |
MatroskaExtractor.cpp | 109 MatroskaExtractor *mExtractor; 145 sp<MatroskaExtractor> mExtractor; 165 return mExtractor->mSegment->GetTracks()->GetTrackByNumber(mTrackNum); 180 if (timeNs <= cp->GetTime(mExtractor->mSegment)) { 191 const long long cueTimeNs = midCp->GetTime(mExtractor->mSegment); 204 if (cp->GetTime(mExtractor->mSegment) > timeNs) { 213 : mExtractor(extractor), 217 mBlockIter(mExtractor.get(), 218 mExtractor->mTracks.itemAt(index).mTrackNum, 221 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta [all...] |
MatroskaExtractor.h | 63 const MatroskaExtractor *mExtractor;
|
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 274 mExtractor = new NuMediaExtractor; 276 status_t err = mExtractor->setDataSource( 280 mExtractor.clear(); 291 for (size_t i = 0; i < mExtractor->countTracks(); ++i) { 293 status_t err = mExtractor->getTrackFormat(i, &format); 309 err = mExtractor->selectTrack(i); 410 mExtractor.clear(); 469 status_t err = mExtractor->getSampleTrackIndex(&trackIndex); 488 err = mExtractor->readSampleData(dstBuffer); 492 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK) [all...] |
SimplePlayer.h | 89 sp<NuMediaExtractor> mExtractor;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationHeaderUtil.java | 239 private final DataExtractor mExtractor; 255 mExtractor = extractor; 263 mParentData = mExtractor == null ? null : mExtractor.extractData(mParentRow); 275 Object childData = mExtractor == null ? null : mExtractor.extractData(row);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
PlaybackSession.cpp | 610 if (mExtractor != NULL) { 630 if (mExtractor != NULL) { 753 mExtractor = new NuMediaExtractor; 755 status_t err = mExtractor->setDataSource( 762 size_t n = mExtractor->countTracks(); 767 err = mExtractor->getTrackFormat(i, &format); 787 err = mExtractor->selectTrack(i); 828 status_t err = mExtractor->getSampleTime(&sampleTimeUs); 853 status_t err = mExtractor->readSampleData(accessUnit); 860 CHECK_EQ((status_t)OK, mExtractor->getSampleTime(&timeUs)) [all...] |
PlaybackSession.h | 125 sp<NuMediaExtractor> mExtractor;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
MPEG2TSExtractor.cpp | 58 sp<MPEG2TSExtractor> mExtractor; 72 : mExtractor(extractor), 97 status_t err = mExtractor->seek(seekTimeUs, seekMode); 103 if (mExtractor->feedUntilBufferAvailable(mImpl) != OK) {
|
MPEG2PSExtractor.cpp | 60 MPEG2PSExtractor *mExtractor; 89 sp<MPEG2PSExtractor> mExtractor; 592 : mExtractor(extractor), 673 status_t err = mExtractor->feedMore(); 727 : mExtractor(extractor),
|
/frameworks/base/media/java/android/media/ |
WebVttRenderer.java | [all...] |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-core/1.3.0-beta2/ |
gradle-core-1.3.0-beta2.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-core/1.3.0-beta3/ |
gradle-core-1.3.0-beta3.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-core/1.3.0-beta4/ |
gradle-core-1.3.0-beta4.jar | |