/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 169 MediaMuxer* muxer = reinterpret_cast<MediaMuxer *>(nativeObject); local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaMuxerTest.java | 55 * Test: make sure the muxer handles both video and audio tracks correctly. 64 * Test: make sure the muxer handles audio track only file correctly. 73 * Test: make sure the muxer handles video track only file correctly. 82 * Tests: make sure the muxer handles exceptions correctly. 92 MediaMuxer muxer; local 95 muxer = new MediaMuxer(outputFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); 96 muxer.addTrack(MediaFormat.createVideoFormat("video/avc", 480, 320)); 99 muxer.stop(); 106 muxer = new MediaMuxer(outputFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); 107 muxer.addTrack(MediaFormat.createVideoFormat("video/avc", 480, 320)) 173 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...] |
/frameworks/base/media/java/android/media/ |
MediaMuxer.java | 38 * MediaMuxer muxer = new MediaMuxer("temp.mp4", OutputFormat.MUXER_OUTPUT_MPEG_4); 43 * int audioTrackIndex = muxer.addTrack(audioFormat); 44 * int videoTrackIndex = muxer.addTrack(videoFormat); 49 * muxer.start(); 58 * muxer.writeSampleData(currentTrackIndex, inputBuffer, bufferInfo); 61 * muxer.stop(); 62 * muxer.release(); 100 // Muxer internal states. 115 * Creates a media muxer that writes to the specified path. 146 * method will not rotate the video frame when muxer is generating the file [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
portallocator.cc | 71 PortAllocatorSessionMuxer* muxer = GetSessionMuxer(key_str); local 72 if (!muxer) { 76 muxer = new PortAllocatorSessionMuxer(session_impl); 77 muxer->SignalDestroyed.connect( 80 muxers_[key_str] = muxer; 84 muxer->RegisterSessionProxy(proxy);
|
portallocatorsessionproxy.cc | 111 // Destroy PortAllocatorSession and its associated muxer object if all
|
portallocatorsessionproxy_unittest.cc | 131 // Muxer object will be delete itself after all registered session proxies
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CameraRecordingStream.java | 95 * Stream is already configured, need release encoder and muxer 101 * implement because muxer need reconfigure always. But 102 * muxer is closely coupled with MediaCodec for now because 103 * muxer can only be started once format change callback is 105 * Muxer for future. 204 * TODO: We have to release encoder and muxer for MediaCodec mode because 205 * encoder is closely coupled with muxer, and muxser can not be reused 252 // Feed encoder output into the muxer until recording stops. 298 Log.v(TAG, "releasing muxer"); 336 * Configures encoder and muxer state, and prepares the input Surface [all...] |
/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
|
/frameworks/av/include/media/stagefright/ |
MediaMuxer.h | 50 // Construct the muxer with the output file path. 53 // Construct the muxer with the file descriptor. Note that the MediaMuxer 95 * the muxer may be time consuming. UI thread is
|
/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();
|
/frameworks/av/cmds/screenrecord/ |
screenrecord.cpp | 291 * The muxer must *not* have been started before calling. 294 const sp<MediaMuxer>& muxer) { 352 err = muxer->writeSampleData(buffers[bufIndex], trackIdx, 355 fprintf(stderr, "Failed writing data to muxer (err=%d)\n", 378 // format includes CSD, which we must provide to muxer 382 trackIdx = muxer->addTrack(newFormat); 383 ALOGV("Starting muxer"); 384 err = muxer->start(); 386 fprintf(stderr, "Unable to start muxer (err=%d)\n", err); 423 * Configures codec, muxer, and virtual display, then starts moving bit 495 sp<MediaMuxer> muxer = new MediaMuxer(fileName, local [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
rtcpmuxfilter.h | 36 // RTCP Muxer, as defined in RFC 5761 (http://tools.ietf.org/html/rfc5761)
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
rtcpmuxfilter.h | 36 // RTCP Muxer, as defined in RFC 5761 (http://tools.ietf.org/html/rfc5761)
|
/hardware/qcom/media/mm-core/src/8960/ |
qc_registry_table.c | 107 "OMX.qcom.file.muxer",
|
qc_registry_table_android.c | 476 "OMX.qcom.file.muxer",
|
/hardware/qcom/media/mm-core/src/8226/ |
qc_registry_table.c | 107 "OMX.qcom.file.muxer",
|
qc_registry_table_android.c | 508 "OMX.qcom.file.muxer",
|
/hardware/qcom/media/mm-core/src/8610/ |
qc_registry_table.c | 139 "OMX.qcom.file.muxer",
|
qc_registry_table_android.c | 540 "OMX.qcom.file.muxer",
|
/hardware/qcom/media/mm-core/src/8660/ |
qc_registry_table.c | 571 "OMX.qcom.file.muxer",
|
qc_registry_table_android.c | 448 "OMX.qcom.file.muxer",
|
/hardware/qcom/media/mm-core/src/8974/ |
qc_registry_table.c | 107 "OMX.qcom.file.muxer",
|
qc_registry_table_android.c | 571 "OMX.qcom.file.muxer",
|