/frameworks/av/media/ndk/ |
D | NdkMediaMuxer.cpp | 55 media_status_t AMediaMuxer_delete(AMediaMuxer *muxer) { in AMediaMuxer_delete() argument 57 delete muxer; in AMediaMuxer_delete() 62 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { in AMediaMuxer_setLocation() argument 63 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation() 67 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer *muxer, int degrees) { in AMediaMuxer_setOrientationHint() argument 68 return translate_error(muxer->mImpl->setOrientationHint(degrees)); in AMediaMuxer_setOrientationHint() 72 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { in AMediaMuxer_addTrack() argument 75 ssize_t ret = muxer->mImpl->addTrack(msg); in AMediaMuxer_addTrack() 80 media_status_t AMediaMuxer_start(AMediaMuxer *muxer) { in AMediaMuxer_start() argument 81 return translate_error(muxer->mImpl->start()); in AMediaMuxer_start() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaMuxer.cpp | 49 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_addTrack() local 50 if (muxer == NULL) { in android_media_MediaMuxer_addTrack() 66 jint trackIndex = muxer->addTrack(trackformat); in android_media_MediaMuxer_addTrack() 79 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_writeSampleData() local 80 if (muxer == NULL) { in android_media_MediaMuxer_writeSampleData() 124 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); in android_media_MediaMuxer_writeSampleData() 168 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat); in android_media_MediaMuxer_native_setup() local 169 muxer->incStrong(clazz); in android_media_MediaMuxer_native_setup() 170 return reinterpret_cast<jlong>(muxer.get()); in android_media_MediaMuxer_native_setup() 175 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_setOrientationHint() local [all …]
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 362 const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy, in runEncoder() argument 373 assert((rawFp == NULL && muxer != NULL) || (rawFp != NULL && muxer == NULL)); in runEncoder() 410 if (muxer != NULL) { in runEncoder() 447 if (muxer == NULL) { in runEncoder() 467 err = muxer->writeSampleData(buffer, trackIdx, in runEncoder() 498 if (muxer != NULL) { in runEncoder() 499 trackIdx = muxer->addTrack(newFormat); in runEncoder() 501 err = muxer->start(); in runEncoder() 700 sp<MediaMuxer> muxer = NULL; in recordScreen() local 719 muxer = new MediaMuxer(fd, MediaMuxer::OUTPUT_FORMAT_MPEG_4); in recordScreen() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | muxer.cpp | 84 sp<MediaMuxer> muxer = new MediaMuxer(fd, container); in muxing() local 144 ssize_t newTrackIndex = muxer->addTrack(format); in muxing() 161 muxer->setOrientationHint(rotationDegrees); in muxing() 162 muxer->start(); in muxing() 208 err = muxer->writeSampleData(newBuffer, in muxing() 217 muxer->stop(); in muxing()
|
D | Android.mk | 210 muxer.cpp \ 224 LOCAL_MODULE:= muxer
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | MuxerTest.java | 144 Muxer muxer = new Muxer(); in testMuxer() local 145 int trackIndex = muxer.setUpMuxer(mContext, outputFormat, format); in testMuxer() 146 int status = muxer.mux(trackIndex, inputBuffer, inputBufferInfo); in testMuxer() 149 muxer.deInitMuxer(); in testMuxer() 150 muxer.dumpStatistics(mInputFileName, mFormat, extractor.getClipDuration(), mStatsFile); in testMuxer() 151 muxer.resetMuxer(); in testMuxer()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | CMakeLists.txt | 32 ${native_source_path}/muxer/Muxer.cpp 38 include_directories(${native_source_path}/muxer)
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | HeicCompositeStream.cpp | 700 it.second.muxer != nullptr; in getNextReadyInputLocked() 704 bool hasOutputBuffer = it.second.muxer != nullptr || in getNextReadyInputLocked() 745 inputFrame.muxer != nullptr; in processInputFrame() 749 bool hasOutputBuffer = inputFrame.muxer != nullptr || in processInputFrame() 773 if (inputFrame.muxer == nullptr) { in processInputFrame() 841 inputFrame.muxer = new MediaMuxer(inputFrame.fileFd, MediaMuxer::OUTPUT_FORMAT_HEIF); in startMuxerForInputFrame() 842 if (inputFrame.muxer == nullptr) { in startMuxerForInputFrame() 848 res = inputFrame.muxer->setOrientationHint(inputFrame.orientation); in startMuxerForInputFrame() 866 ssize_t trackId = inputFrame.muxer->addTrack(inputFrame.format); in startMuxerForInputFrame() 875 res = inputFrame.muxer->start(); in startMuxerForInputFrame() [all …]
|
D | HeicCompositeStream.h | 162 sp<MediaMuxer> muxer; member
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaMuxer.h | 138 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer,
|
/frameworks/av/media/tests/benchmark/ |
D | README.md | 236 * MediaMuxer: includes creating the object, adding track, and starting the muxer.
|