HomeSort by relevance Sort by last modified time
    Searched refs:extractor (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
IntegerResourceLoaderTest.java 18 ResourceExtractor extractor = new ResourceExtractor(); local
19 extractor.addLocalRClass( R.class );
20 extractor.addSystemRClass( android.R.class );
22 resourceLoader = new IntegerResourceLoader( extractor );
DrawableResourceLoaderTest.java 33 ResourceExtractor extractor = new ResourceExtractor(); local
34 extractor.addLocalRClass(R.class);
35 extractor.addSystemRClass(android.R.class);
37 resourceLoader = new DrawableResourceLoader(extractor, resourceFile("res"));
  /frameworks/base/media/jni/
android_media_MediaExtractor.cpp 300 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) {
304 if (extractor != NULL) {
305 extractor->incStrong(thiz);
310 env->SetIntField(thiz, gFields.context, (int)extractor.get());
325 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
327 if (extractor == NULL) {
332 return extractor->countTracks();
337 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
339 if (extractor == NULL) {
345 status_t err = extractor->getTrackFormat(index, &format)
357 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
377 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
394 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
411 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
429 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
450 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
472 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
494 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
516 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
538 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
658 sp<JMediaExtractor> extractor = new JMediaExtractor(env, thiz); local
665 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
706 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
734 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
760 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
778 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local
    [all...]
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
WebAudioMediaCodecBridge.java 43 MediaExtractor extractor = new MediaExtractor();
48 extractor.setDataSource(encodedFD.getFileDescriptor(), 0, dataSize);
55 if (extractor.getTrackCount() <= 0) {
60 MediaFormat format = extractor.getTrackFormat(0);
82 Log.d(LOG_TAG, "Initial: Tracks: " + extractor.getTrackCount() +
102 extractor.selectTrack(0);
116 int sampleSize = extractor.readSampleData(dstBuf, 0);
123 presentationTimeMicroSec = extractor.getSampleTime();
133 extractor.advance();
  /cts/tests/tests/media/src/android/media/cts/
DecoderTest.java 176 MediaExtractor extractor; local
181 extractor = new MediaExtractor();
182 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
186 assertEquals("wrong number of tracks", 1, extractor.getTrackCount());
187 MediaFormat format = extractor.getTrackFormat(0);
207 extractor.selectTrack(0);
224 extractor.readSampleData(dstBuf, 0 /* offset */);
233 presentationTimeUs = extractor.getSampleTime();
244 extractor.advance();
270 extractor.seekTo(0, MediaExtractor.SEEK_TO_NEXT_SYNC)
524 MediaExtractor extractor; local
722 MediaExtractor extractor; local
1004 MediaExtractor extractor; local
    [all...]
MediaMuxerTest.java 165 MediaExtractor extractor = new MediaExtractor(); local
166 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(),
169 int trackCount = extractor.getTrackCount();
179 extractor.selectTrack(i);
180 MediaFormat format = extractor.getTrackFormat(i);
219 bufferInfo.size = extractor.readSampleData(dstBuf, offset);
228 bufferInfo.presentationTimeUs = extractor.getSampleTime();
229 bufferInfo.flags = extractor.getSampleFlags();
230 int trackIndex = extractor.getSampleTrackIndex();
234 extractor.advance()
    [all...]
ExtractDecodeEditEncodeMuxTest.java 307 // Create a MediaCodec for the decoder, based on the extractor's format.
329 // Create a MediaCodec for the decoder, based on the extractor's format.
347 if (VERBOSE) Log.d(TAG, "releasing extractor, decoder, encoder, and muxer");
455 * Creates an extractor that reads its frames from {@link #mSourceResId}.
458 MediaExtractor extractor; local
460 extractor = new MediaExtractor();
461 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(),
463 return extractor;
535 private int getAndSelectVideoTrackIndex(MediaExtractor extractor) {
536 for (int index = 0; index < extractor.getTrackCount(); ++index)
    [all...]
  /frameworks/av/cmds/stagefright/
muxer.cpp 60 sp<NuMediaExtractor> extractor = new NuMediaExtractor; local
61 if (extractor->setDataSource(path) != OK) {
62 fprintf(stderr, "unable to instantiate extractor. %s\n", path);
76 size_t trackCount = extractor->countTracks();
77 // Map the extractor's track index to the muxer's track index.
91 status_t err = extractor->getTrackFormat(i, &format);
93 ALOGV("extractor getTrackFormat: %s", format->debugString().c_str());
130 err = extractor->selectTrack(i);
149 status_t err = extractor->getSampleTrackIndex(&trackIndex);
155 err = extractor->readSampleData(newBuffer)
    [all...]
codec.cpp 77 sp<NuMediaExtractor> extractor = new NuMediaExtractor; local
78 if (extractor->setDataSource(path) != OK) {
79 fprintf(stderr, "unable to instantiate extractor.\n");
87 for (size_t i = 0; i < extractor->countTracks(); ++i) {
89 status_t err = extractor->getTrackFormat(i, &format);
108 err = extractor->selectTrack(i);
157 status_t err = extractor->getSampleTrackIndex(&trackIndex);
173 err = extractor->readSampleData(buffer);
177 err = extractor->getSampleTime(&timeUs);
191 extractor->advance()
    [all...]
record.cpp 120 sp<MediaExtractor> extractor =
122 if (extractor == NULL) {
126 size_t num_tracks = extractor->countTracks();
130 meta = extractor->getTrackMetaData(i);
142 source = extractor->getTrack(i);
stream.cpp 165 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource); local
166 CHECK(extractor != NULL);
171 for (size_t i = 0; i < extractor->countTracks(); ++i) {
172 const sp<MetaData> &meta = extractor->getTrackMetaData(i);
181 CHECK_EQ(mWriter->addSource(extractor->getTrack(i)), (status_t)OK);
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
htmlutil.py 111 extractor = ScriptExtractor()
121 extractor.feed(contents)
122 extractor.close()
123 return extractor.GetScriptLines()
  /external/chromium_org/third_party/closure_linter/closure_linter/common/
htmlutil.py 111 extractor = ScriptExtractor()
121 extractor.feed(contents)
122 extractor.close()
123 return extractor.GetScriptLines()
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
VideoUtils.java 131 MediaExtractor extractor = new MediaExtractor(); local
132 extractor.setDataSource(srcPath);
134 int trackCount = extractor.getTrackCount();
146 MediaFormat format = extractor.getTrackFormat(i);
158 extractor.selectTrack(i);
172 // Set up the orientation and starting time for extractor.
185 extractor.seekTo(startMs * 1000, MediaExtractor.SEEK_TO_CLOSEST_SYNC);
199 bufferInfo.size = extractor.readSampleData(dstBuf, offset);
205 bufferInfo.presentationTimeUs = extractor.getSampleTime();
210 bufferInfo.flags = extractor.getSampleFlags()
    [all...]
  /frameworks/av/media/libmediaplayerservice/nuplayer/
GenericSource.cpp 67 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource); local
69 CHECK(extractor != NULL);
71 for (size_t i = 0; i < extractor->countTracks(); ++i) {
72 sp<MetaData> meta = extractor->getTrackMetaData(i);
81 mAudioTrack.mSource = track = extractor->getTrack(i);
91 mVideoTrack.mSource = track = extractor->getTrack(i);
  /frameworks/wilhelm/src/android/
AacBqToPcmCbRenderer.cpp 146 sp<MediaExtractor> extractor = new AacAdtsExtractor(mBqSource); local
151 sp<MediaSource> source = extractor->getTrack(kTrackToDecode);
153 SL_LOGE("AacBqToPcmCbRenderer::onPrepare: error getting source from extractor");
157 sp<MetaData> meta = extractor->getTrackMetaData(kTrackToDecode);
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/
concatenate_css_files.py 87 extractor = OrderedCSSFilesExtractor(order_html.read())
92 for input_file_name in extractor.ordered_css_files:
concatenate_js_files.py 87 extractor = OrderedJSFilesExtractor(order_html.read())
92 for input_file_name in extractor.ordered_js_files:
  /external/oprofile/libabi/
opimport.cpp 49 struct extractor { struct
58 extractor(abi const & a, unsigned char const * src, size_t len) function in struct:extractor
75 void extractor::extract(T & targ, void const * src_,
114 extractor ext(abi, src, len);
  /developers/build/prebuilts/gradle/BasicMediaDecoder/BasicMediaDecoderSample/src/main/java/com/example/android/common/media/
MediaCodecWrapper.java 231 * @param extractor Instance of {@link android.media.MediaExtractor} wrapping the media.
241 public boolean writeSample(final MediaExtractor extractor,
252 // reads the sample from the file using extractor into the buffer
253 int size = extractor.readSampleData(buffer, 0);
263 extractor.getSampleCryptoInfo(cryptoInfo);
  /developers/build/prebuilts/gradle/BasicRenderScript/BasicRenderScriptSample/src/main/java/com/example/android/common/media/
MediaCodecWrapper.java 231 * @param extractor Instance of {@link android.media.MediaExtractor} wrapping the media.
241 public boolean writeSample(final MediaExtractor extractor,
252 // reads the sample from the file using extractor into the buffer
253 int size = extractor.readSampleData(buffer, 0);
263 extractor.getSampleCryptoInfo(cryptoInfo);
  /developers/build/prebuilts/gradle/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/common/media/
MediaCodecWrapper.java 231 * @param extractor Instance of {@link android.media.MediaExtractor} wrapping the media.
241 public boolean writeSample(final MediaExtractor extractor,
252 // reads the sample from the file using extractor into the buffer
253 int size = extractor.readSampleData(buffer, 0);
263 extractor.getSampleCryptoInfo(cryptoInfo);
  /developers/samples/android/common/src/java/com/example/android/common/media/
MediaCodecWrapper.java 231 * @param extractor Instance of {@link android.media.MediaExtractor} wrapping the media.
241 public boolean writeSample(final MediaExtractor extractor,
252 // reads the sample from the file using extractor into the buffer
253 int size = extractor.readSampleData(buffer, 0);
263 extractor.getSampleCryptoInfo(cryptoInfo);
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
MediaCodecWrapper.java 231 * @param extractor Instance of {@link android.media.MediaExtractor} wrapping the media.
241 public boolean writeSample(final MediaExtractor extractor,
252 // reads the sample from the file using extractor into the buffer
253 int size = extractor.readSampleData(buffer, 0);
263 extractor.getSampleCryptoInfo(cryptoInfo);
  /frameworks/av/media/libstagefright/mpeg2ts/
MPEG2TSExtractor.cpp 41 const sp<MPEG2TSExtractor> &extractor,
64 const sp<MPEG2TSExtractor> &extractor,
67 : mExtractor(extractor),

Completed in 717 milliseconds

1 2 3