/external/pdfium/core/src/fpdftext/ |
fpdf_text_int_unittest.cpp | 18 CPDF_TestLinkExtract extractor; local 31 EXPECT_FALSE(extractor.CheckMailLink(text_str)); 53 EXPECT_TRUE(extractor.CheckMailLink(text_str));
|
/external/opencv3/modules/features2d/misc/java/test/ |
BRIEFDescriptorExtractorTest.java | 17 DescriptorExtractor extractor; field in class:BRIEFDescriptorExtractorTest 31 extractor = DescriptorExtractor.create(DescriptorExtractor.BRIEF); 45 extractor.compute(img, keypoints, descriptors); 60 assertNotNull(extractor); 64 assertEquals(32, extractor.descriptorSize()); 68 assertEquals(CvType.CV_8U, extractor.descriptorType()); 72 assertFalse(extractor.empty()); 79 extractor.read(filename); 81 assertEquals(64, extractor.descriptorSize()); 87 extractor.write(filename) [all...] |
ORBDescriptorExtractorTest.java | 17 DescriptorExtractor extractor; field in class:ORBDescriptorExtractorTest 36 extractor = DescriptorExtractor.create(DescriptorExtractor.ORB); 50 extractor.compute(img, keypoints, descriptors); 62 assertNotNull(extractor); 66 assertEquals(32, extractor.descriptorSize()); 70 assertEquals(CvType.CV_8U, extractor.descriptorType()); 74 assertFalse(extractor.empty()); 85 extractor.read(filename); 87 extractor.compute(img, keypoints, descriptors); 101 extractor.write(filename) [all...] |
SIFTDescriptorExtractorTest.java | 17 DescriptorExtractor extractor; field in class:SIFTDescriptorExtractorTest 33 extractor = DescriptorExtractor.create(DescriptorExtractor.SIFT); 60 extractor.compute(img, keypoints, descriptors); 66 assertNotNull(extractor); 70 assertEquals(128, extractor.descriptorSize()); 74 assertEquals(CvType.CV_32F, extractor.descriptorType()); 78 assertFalse(extractor.empty()); 88 extractor.write(filename); 99 extractor.write(filename);
|
SURFDescriptorExtractorTest.java | 17 DescriptorExtractor extractor; field in class:SURFDescriptorExtractorTest 32 extractor = DescriptorExtractor.create(DescriptorExtractor.SURF); 35 extractor.read(filename); 50 extractor.compute(img, keypoints, descriptors); 76 assertNotNull(extractor); 80 assertEquals(128, extractor.descriptorSize()); 84 assertEquals(CvType.CV_32F, extractor.descriptorType()); 88 assertFalse(extractor.empty()); 95 extractor.read(filename); 97 assertEquals(128, extractor.descriptorSize()) [all...] |
Features2dTest.java | 85 DescriptorExtractor extractor = DescriptorExtractor.create(DescriptorExtractor.SURF); local 94 extractor.read(extractorCfgFile); 111 extractor.compute(imgTrain, trainKeypoints, trainDescriptors); 112 extractor.compute(imgQuery, queryKeypoints, queryDescriptors);
|
/external/robolectric/v1/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"));
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ |
MpegTsPassthroughAc3RendererBuilder.java | 49 SampleExtractor extractor = dataSource == null ? local 52 SampleSource sampleSource = new MpegTsSampleSource(extractor);
|
/frameworks/wilhelm/src/android/ |
AacBqToPcmCbRenderer.cpp | 149 sp<MediaExtractor> extractor = new AacAdtsExtractor(mBqSource); local 154 sp<IMediaSource> source = extractor->getTrack(kTrackToDecode); 156 SL_LOGE("AacBqToPcmCbRenderer::onPrepare: error getting source from extractor");
|
android_AudioSfDecoder.cpp | 232 sp<IMediaExtractor> extractor = MediaExtractor::Create(dataSource); local 233 if (extractor == NULL) { 234 SL_LOGE("AudioSfDecoder::onPrepare: Could not instantiate extractor."); 241 for (size_t i = 0; i < extractor->countTracks(); ++i) { 242 sp<MetaData> meta = extractor->getTrackMetaData(i); 265 sp<IMediaSource> source = extractor->getTrack(audioTrackIndex); 651 // happens if an improper data locator was passed, if the media extractor couldn't be
|
/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/base/services/core/java/com/android/server/notification/ |
RankingHelper.java | 86 NotificationSignalExtractor extractor = local 88 extractor.initialize(mContext, usageStats); 89 extractor.setConfig(this); 90 mSignalExtractors[i] = extractor; 92 Slog.w(TAG, "Couldn't find extractor " + extractorNames[i] + ".", e); 94 Slog.w(TAG, "Couldn't instantiate extractor " + extractorNames[i] + ".", e); 96 Slog.w(TAG, "Problem accessing extractor " + extractorNames[i] + ".", e); 105 final NotificationSignalExtractor extractor = mSignalExtractors[i]; local 106 if (extractorClass.equals(extractor.getClass())) { 107 return (T) extractor; 116 NotificationSignalExtractor extractor = mSignalExtractors[i]; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTestAacDrc.java | 301 MediaExtractor extractor; local 306 extractor = new MediaExtractor(); 307 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), 311 assertEquals("wrong number of tracks", 1, extractor.getTrackCount()); 312 MediaFormat format = extractor.getTrackFormat(0); 334 extractor.selectTrack(0); 352 extractor.readSampleData(dstBuf, 0 /* offset */); 368 presentationTimeUs = extractor.getSampleTime(); 378 extractor.advance();
|
MediaMuxerTest.java | 181 MediaExtractor extractor = new MediaExtractor(); local 182 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), 185 int trackCount = extractor.getTrackCount(); 195 extractor.selectTrack(i); 196 MediaFormat format = extractor.getTrackFormat(i); 235 bufferInfo.size = extractor.readSampleData(dstBuf, offset); 244 bufferInfo.presentationTimeUs = extractor.getSampleTime(); 245 bufferInfo.flags = extractor.getSampleFlags(); 246 int trackIndex = extractor.getSampleTrackIndex(); 250 extractor.advance() [all...] |
ImageReaderDecoderTest.java | 255 MediaExtractor extractor = null; local 261 extractor = new MediaExtractor(); 265 extractor.setDataSource( 281 extractor.setDataSource(tmpFile.getAbsolutePath()); 284 mediaFormat = extractor.getTrackFormat(0); 292 decoder, extractor, mediaFormat, 306 if (extractor != null) { 307 extractor.release(); 465 MediaCodec decoder, MediaExtractor extractor, MediaFormat mediaFormat, 484 extractor.selectTrack(0) [all...] |
/frameworks/av/cmds/stagefright/ |
codec.cpp | 82 sp<NuMediaExtractor> extractor = new NuMediaExtractor; local 83 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { 84 fprintf(stderr, "unable to instantiate extractor.\n"); 92 for (size_t i = 0; i < extractor->countTracks(); ++i) { 94 status_t err = extractor->getTrackFormat(i, &format); 113 err = extractor->selectTrack(i); 163 status_t err = extractor->getSampleTrackIndex(&trackIndex); 179 err = extractor->readSampleData(buffer); 183 err = extractor->getSampleTime(&timeUs); 197 extractor->advance() [all...] |
muxer.cpp | 66 sp<NuMediaExtractor> extractor = new NuMediaExtractor; local 67 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { 68 fprintf(stderr, "unable to instantiate extractor. %s\n", path); 88 size_t trackCount = extractor->countTracks(); 89 // Map the extractor's track index to the muxer's track index. 103 status_t err = extractor->getTrackFormat(i, &format); 105 ALOGV("extractor getTrackFormat: %s", format->debugString().c_str()); 142 err = extractor->selectTrack(i); 166 status_t err = extractor->getSampleTrackIndex(&trackIndex); 173 extractor->advance() [all...] |
stream.cpp | 168 sp<IMediaExtractor> extractor = MediaExtractor::Create(dataSource); local 169 CHECK(extractor != NULL); 174 for (size_t i = 0; i < extractor->countTracks(); ++i) { 175 const sp<MetaData> &meta = extractor->getTrackMetaData(i); 184 CHECK_EQ(mWriter->addSource(extractor->getTrack(i)), (status_t)OK);
|
/frameworks/av/media/libmedia/ |
IMediaExtractor.cpp | 191 wp<IMediaExtractor> extractor; member in struct:android::__anon27519 204 if (extractor.promote() == NULL) { 231 sp<IMediaExtractor> extractor = instance.extractor.promote(); local 232 if (extractor != NULL && extractor == ex) { 244 const sp<IMediaExtractor> &extractor, 249 ex.name = extractor->name(); 252 ex.extractor = extractor; [all...] |
/frameworks/av/media/libstagefright/ |
NuMediaExtractor.cpp | 93 sp<WVMExtractor> extractor = new WVMExtractor(dataSource); local 94 extractor->setAdaptiveStreamingMode(true); 96 mImpl = extractor; 112 // extractor. We can tell that it is this extractor by looking 114 // The cryptoPluginMode ensures that the extractor will actually
|
WAVExtractor.cpp | 558 sp<MediaExtractor> extractor = new WAVExtractor(source); local 559 if (extractor->countTracks() == 0) {
|
/cts/libs/deviceutil/src/android/cts/util/ |
MediaUtils.java | 576 MediaExtractor extractor = new MediaExtractor(); local 579 extractor.setDataSource( 585 for (trackIndex = 0; trackIndex < extractor.getTrackCount(); trackIndex++) { 586 MediaFormat trackMediaFormat = extractor.getTrackFormat(trackIndex); 592 extractor.release(); 604 MediaExtractor extractor = new MediaExtractor(); local 607 extractor.setDataSource( 613 for (trackIndex = 0; trackIndex < extractor.getTrackCount(); trackIndex++) { 614 MediaFormat trackMediaFormat = extractor.getTrackFormat(trackIndex); 616 extractor.selectTrack(trackIndex) [all...] |
/packages/apps/TV/usbtuner/libs/ |
exoplayer_1.5.6.jar | |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
RVCVXCheckAnalyzer.java | 934 private MediaExtractor extractor=null; field in class:RVCVXCheckAnalyzer.VideoDecoderForOpenCV [all...] |