Searched refs:muxer (Results 1 - 6 of 6) sorted by relevance
/frameworks/av/media/ndk/ |
H A D | NdkMediaMuxer.cpp | 64 media_status_t AMediaMuxer_delete(AMediaMuxer *muxer) { argument 66 delete muxer; 71 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { argument 72 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); 76 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer *muxer, int degrees) { argument 77 return translate_error(muxer->mImpl->setOrientationHint(degrees)); 81 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { argument 84 return translate_error(muxer->mImpl->addTrack(msg)); 88 media_status_t AMediaMuxer_start(AMediaMuxer *muxer) { argument 89 return translate_error(muxer 93 AMediaMuxer_stop(AMediaMuxer *muxer) argument 98 AMediaMuxer_writeSampleData(AMediaMuxer *muxer, size_t trackIdx, const uint8_t *data, const AMediaCodecBufferInfo *info) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 46 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); 47 if (muxer == NULL) { 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) { 121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); 143 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat); local 144 muxer->incStrong(clazz); 145 return reinterpret_cast<jlong>(muxer 168 MediaMuxer* muxer = reinterpret_cast<MediaMuxer *>(nativeObject); local [all...] |
/frameworks/av/include/ndk/ |
H A D | NdkMediaMuxer.h | 50 * Create new media muxer 55 * Delete a previously created media muxer 75 * method will not rotate the video frame when muxer is generating the file, 94 * Start the muxer. Should be called after AMediaMuxer_addTrack and 100 * Stops the muxer. 101 * Once the muxer stops, it can not be restarted. 106 * Writes an encoded sample into the muxer. 112 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer,
|
/frameworks/av/cmds/stagefright/ |
H A D | 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 generat [all...] |
H A D | Android.mk | 225 muxer.cpp \ 240 LOCAL_MODULE:= muxer
|
/frameworks/av/cmds/screenrecord/ |
H A D | 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)); 362 if (muxer != NULL) { 399 if (muxer == NULL) { 416 err = muxer->writeSampleData(buffers[bufIndex], trackIdx, 420 "Failed writing data to muxer (err=%d)\n", err); 443 // Format includes CSD, which we must provide to muxer 317 runEncoder(const sp<MediaCodec>& encoder, const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy, const sp<IBinder>& virtualDpy, uint8_t orientation) argument 637 sp<MediaMuxer> muxer = NULL; local [all...] |
Completed in 214 milliseconds