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

  /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();
225 muxer.release();
  /cts/tests/tests/media/src/android/media/cts/
EncoderTest.java 279 MediaMuxer muxer = null; local
288 muxer = new MediaMuxer(outFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4);
291 Log.i(TAG, "couldn't create muxer: " + e);
369 if (muxer != null) {
373 muxidx = muxer.addTrack(trackFormat);
374 muxer.start();
376 muxer.writeSampleData(muxidx, buffer, info);
411 if (muxer != null) {
412 muxer.stop();
413 muxer.release()
    [all...]
MediaMuxerTest.java 55 * Test: make sure the muxer handles both video and audio tracks correctly.
65 * Test: make sure the muxer handles audio track only file correctly.
75 * Test: make sure the muxer handles video track only file correctly.
85 * Tests: make sure the muxer handles exceptions correctly.
96 MediaMuxer muxer; local
99 muxer = new MediaMuxer(outputFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4);
100 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320));
103 muxer.stop();
108 muxer.release();
112 muxer = new MediaMuxer(outputFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4)
189 MediaMuxer muxer; local
    [all...]
ExtractDecodeEditEncodeMuxTest.java 348 MediaMuxer muxer = null; local
385 // Creates a muxer but do not start or add tracks just yet.
386 muxer = createMuxer();
395 muxer,
399 if (VERBOSE) Log.d(TAG, "releasing extractor, decoder, encoder, and muxer");
480 if (muxer != null) {
481 muxer.stop();
482 muxer.release();
485 Log.e(TAG, "error while releasing muxer", e);
657 * Creates a muxer to write the encoded frames
    [all...]
  /frameworks/base/media/jni/
android_media_MediaMuxer.cpp 46 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject));
47 if (muxer == NULL) {
49 "Muxer was not set up correctly");
63 jint trackIndex = muxer->addTrack(trackformat);
67 "Failed to add the track to the muxer");
76 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject));
77 if (muxer == NULL) {
79 "Muxer was not set up correctly");
121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags);
143 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat) local
168 MediaMuxer* muxer = reinterpret_cast<MediaMuxer *>(nativeObject); local
    [all...]
  /frameworks/av/cmds/stagefright/
muxer.cpp 18 #define LOG_TAG "muxer"
85 sp<MediaMuxer> muxer = new MediaMuxer(fd, container); local
89 // Map the extractor's track index to the muxer's track index.
145 ssize_t newTrackIndex = muxer->addTrack(format);
147 fprintf(stderr, "%s track (%zu) unsupported by muxer\n",
162 muxer->setOrientationHint(rotationDegrees);
163 muxer->start();
209 err = muxer->writeSampleData(newBuffer,
218 muxer->stop();
223 fprintf(stderr, "SUCCESS: muxer generate the video in %" PRId64 " ms\n"
    [all...]
  /cts/tests/tests/media/libmediandkjni/
native-media-jni.cpp 462 AMediaMuxer *muxer = AMediaMuxer_new(outfd, local
483 ssize_t tidx = AMediaMuxer_addTrack(muxer, format);
493 AMediaMuxer_start(muxer);
509 AMediaMuxer_writeSampleData(muxer, idx, buf, &info);
515 AMediaMuxer_stop(muxer);
516 AMediaMuxer_delete(muxer);
  /frameworks/av/cmds/screenrecord/
screenrecord.cpp 313 * Exactly one of muxer or rawFp must be non-null.
315 * The muxer must *not* have been started before calling.
318 const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy,
328 assert((rawFp == NULL && muxer != NULL) || (rawFp != NULL && muxer == NULL));
359 if (muxer != NULL) {
396 if (muxer == NULL) {
413 err = muxer->writeSampleData(buffers[bufIndex], trackIdx,
417 "Failed writing data to muxer (err=%d)\n", err);
440 // Format includes CSD, which we must provide to muxer
634 sp<MediaMuxer> muxer = NULL; local
    [all...]
  /device/moto/shamu/camera/QCamera2/HAL/test/
qcamera_test.h 337 sp<MediaMuxer> muxer; member in struct:qcamera::TestContext::ViVVid_t
  /hardware/qcom/camera/QCamera2/HAL/test/
qcamera_test.h 342 sp<MediaMuxer> muxer; member in struct:qcamera::TestContext::ViVVid_t
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
maven-core-3.2.1.jar 

Completed in 139 milliseconds