HomeSort by relevance Sort by last modified time
    Searched refs:muxer (Results 1 - 6 of 6) sorted by null

  /frameworks/base/media/jni/
android_media_MediaMuxer.cpp 47 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject));
48 if (muxer == NULL) {
50 "Muxer was not set up correctly");
64 jint trackIndex = muxer->addTrack(trackformat);
68 "Failed to add the track to the muxer");
77 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject));
78 if (muxer == NULL) {
80 "Muxer was not set up correctly");
122 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags);
144 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat) local
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaMuxerTest.java 50 * Test: make sure the muxer handles both video and audio tracks correctly.
59 * Test: make sure the muxer handles audio track only file correctly.
68 * Test: make sure the muxer handles video track only file correctly.
77 * Tests: make sure the muxer handles exceptions correctly.
87 MediaMuxer muxer; local
90 muxer = new MediaMuxer(outputFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4);
91 muxer.addTrack(MediaFormat.createVideoFormat("video/avc", 480, 320));
94 muxer.stop();
101 muxer = new MediaMuxer(outputFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4);
102 muxer.addTrack(MediaFormat.createVideoFormat("video/avc", 480, 320))
168 MediaMuxer muxer; local
    [all...]
ExtractDecodeEditEncodeMuxTest.java 274 MediaMuxer muxer = null; local
333 // Creates a muxer but do not start or add tracks just yet.
334 muxer = createMuxer();
343 muxer,
347 if (VERBOSE) Log.d(TAG, "releasing extractor, decoder, encoder, and muxer");
428 if (muxer != null) {
429 muxer.stop();
430 muxer.release();
433 Log.e(TAG, "error while releasing muxer", e);
527 * Creates a muxer to write the encoded frames
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
VideoUtils.java 137 MediaMuxer muxer; local
138 muxer = new MediaMuxer(dstPath, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4);
159 int dstIndex = muxer.addTrack(format);
180 muxer.setOrientationHint(degrees);
196 muxer.start();
213 muxer.writeSampleData(indexMap.get(trackIndex), dstBuf,
220 muxer.stop();
221 muxer.release();
  /frameworks/av/cmds/stagefright/
muxer.cpp 18 #define LOG_TAG "muxer"
73 sp<MediaMuxer> muxer = new MediaMuxer(outputFileName, local
77 // Map the extractor's track index to the muxer's track index.
133 ssize_t newTrackIndex = muxer->addTrack(format);
145 muxer->setOrientationHint(rotationDegrees);
146 muxer->start();
187 err = muxer->writeSampleData(newBuffer,
196 muxer->stop();
201 fprintf(stderr, "SUCCESS: muxer generate the video in %lld ms\n",
Android.mk 173 muxer.cpp \
187 LOCAL_MODULE:= muxer

Completed in 5613 milliseconds