Home
last modified time | relevance | path

Searched refs:muxer (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp55 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/
Dandroid_media_MediaMuxer.cpp49 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/
Dscreenrecord.cpp362 const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy, in runEncoder() argument
372 assert((rawFp == NULL && muxer != NULL) || (rawFp != NULL && muxer == NULL)); in runEncoder()
404 if (muxer != NULL) { in runEncoder()
441 if (muxer == NULL) { in runEncoder()
461 err = muxer->writeSampleData(buffer, trackIdx, in runEncoder()
492 if (muxer != NULL) { in runEncoder()
493 trackIdx = muxer->addTrack(newFormat); in runEncoder()
495 err = muxer->start(); in runEncoder()
694 sp<MediaMuxer> muxer = NULL; in recordScreen() local
713 muxer = new MediaMuxer(fd, MediaMuxer::OUTPUT_FORMAT_MPEG_4); in recordScreen()
[all …]
/frameworks/av/cmds/stagefright/
Dmuxer.cpp84 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()
DAndroid.mk202 muxer.cpp \
216 LOCAL_MODULE:= muxer
/frameworks/av/media/ndk/include/media/
DNdkMediaMuxer.h122 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer,
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp740 if (inputFrame.muxer == nullptr) { in processInputFrame()
750 if (appSegmentReady && inputFrame.muxer != nullptr) { in processInputFrame()
806 inputFrame.muxer = new MediaMuxer(inputFrame.fileFd, MediaMuxer::OUTPUT_FORMAT_HEIF); in startMuxerForInputFrame()
807 if (inputFrame.muxer == nullptr) { in startMuxerForInputFrame()
813 res = inputFrame.muxer->setOrientationHint(inputFrame.orientation); in startMuxerForInputFrame()
831 ssize_t trackId = inputFrame.muxer->addTrack(mFormat); in startMuxerForInputFrame()
840 res = inputFrame.muxer->start(); in startMuxerForInputFrame()
904 auto res = inputFrame.muxer->writeSampleData(aBuffer, inputFrame.trackIndex, in processAppSegment()
977 res = inputFrame.muxer->writeSampleData( in processOneCodecOutputFrame()
999 inputFrame.muxer->stop(); in processCompletedInputFrame()
DHeicCompositeStream.h160 sp<MediaMuxer> muxer; member