Loading cmds/stagefright/Android.mk +3 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ LOCAL_SRC_FILES:= \ record.cpp LOCAL_SHARED_LIBRARIES := \ libstagefright liblog libutils libbinder libstagefright_foundation libstagefright libmedia liblog libutils libbinder libstagefright_foundation LOCAL_C_INCLUDES:= \ frameworks/av/media/libstagefright \ Loading @@ -59,7 +59,7 @@ LOCAL_SRC_FILES:= \ recordvideo.cpp LOCAL_SHARED_LIBRARIES := \ libstagefright liblog libutils libbinder libstagefright_foundation libstagefright libmedia liblog libutils libbinder libstagefright_foundation LOCAL_C_INCLUDES:= \ frameworks/av/media/libstagefright \ Loading @@ -84,7 +84,7 @@ LOCAL_SRC_FILES:= \ audioloop.cpp LOCAL_SHARED_LIBRARIES := \ libstagefright liblog libutils libbinder libstagefright_foundation libstagefright libmedia liblog libutils libbinder libstagefright_foundation LOCAL_C_INCLUDES:= \ frameworks/av/media/libstagefright \ Loading cmds/stagefright/audioloop.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ int main(int argc, char* argv[]) meta->setInt32(kKeyMaxInputSize, maxInputSize); } sp<MediaSource> encoder = OMXCodec::Create( sp<IMediaSource> encoder = OMXCodec::Create( client.interface(), meta, true /* createEncoder */, source); Loading @@ -128,7 +128,7 @@ int main(int argc, char* argv[]) writer->stop(); } else { // otherwise decode to speaker sp<MediaSource> decoder = OMXCodec::Create( sp<IMediaSource> decoder = OMXCodec::Create( client.interface(), meta, false /* createEncoder */, encoder); Loading cmds/stagefright/record.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -325,7 +325,7 @@ int main(int /* argc */, char ** /* argv */) { encMeta->setInt32(kKeyMaxInputSize, 8192); encMeta->setInt32(kKeyBitRate, kAudioBitRate); sp<MediaSource> encoder = sp<IMediaSource> encoder = OMXCodec::Create(client.interface(), encMeta, true, audioSource); encoder->start(); Loading cmds/stagefright/recordvideo.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -299,7 +299,7 @@ int main(int argc, char **argv) { enc_meta->setInt32(kKeyVideoProfile, profile); } sp<MediaSource> encoder = sp<IMediaSource> encoder = OMXCodec::Create( client.interface(), enc_meta, true /* createEncoder */, source, 0, preferSoftwareCodec ? OMXCodec::kPreferSoftwareCodecs : 0); Loading cmds/stagefright/sf2.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ protected: DataSource::CreateFromURI( NULL /* httpService */, mURI.c_str()); sp<MediaExtractor> extractor = sp<IMediaExtractor> extractor = MediaExtractor::Create(dataSource); for (size_t i = 0; i < extractor->countTracks(); ++i) { Loading Loading @@ -264,7 +264,7 @@ private: sp<Surface> mSurface; bool mRenderToSurface; sp<ACodec> mCodec; sp<MediaSource> mSource; sp<IMediaSource> mSource; bool mIsVorbis; Vector<sp<ABuffer> > mCSD; Loading Loading
cmds/stagefright/Android.mk +3 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ LOCAL_SRC_FILES:= \ record.cpp LOCAL_SHARED_LIBRARIES := \ libstagefright liblog libutils libbinder libstagefright_foundation libstagefright libmedia liblog libutils libbinder libstagefright_foundation LOCAL_C_INCLUDES:= \ frameworks/av/media/libstagefright \ Loading @@ -59,7 +59,7 @@ LOCAL_SRC_FILES:= \ recordvideo.cpp LOCAL_SHARED_LIBRARIES := \ libstagefright liblog libutils libbinder libstagefright_foundation libstagefright libmedia liblog libutils libbinder libstagefright_foundation LOCAL_C_INCLUDES:= \ frameworks/av/media/libstagefright \ Loading @@ -84,7 +84,7 @@ LOCAL_SRC_FILES:= \ audioloop.cpp LOCAL_SHARED_LIBRARIES := \ libstagefright liblog libutils libbinder libstagefright_foundation libstagefright libmedia liblog libutils libbinder libstagefright_foundation LOCAL_C_INCLUDES:= \ frameworks/av/media/libstagefright \ Loading
cmds/stagefright/audioloop.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ int main(int argc, char* argv[]) meta->setInt32(kKeyMaxInputSize, maxInputSize); } sp<MediaSource> encoder = OMXCodec::Create( sp<IMediaSource> encoder = OMXCodec::Create( client.interface(), meta, true /* createEncoder */, source); Loading @@ -128,7 +128,7 @@ int main(int argc, char* argv[]) writer->stop(); } else { // otherwise decode to speaker sp<MediaSource> decoder = OMXCodec::Create( sp<IMediaSource> decoder = OMXCodec::Create( client.interface(), meta, false /* createEncoder */, encoder); Loading
cmds/stagefright/record.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -325,7 +325,7 @@ int main(int /* argc */, char ** /* argv */) { encMeta->setInt32(kKeyMaxInputSize, 8192); encMeta->setInt32(kKeyBitRate, kAudioBitRate); sp<MediaSource> encoder = sp<IMediaSource> encoder = OMXCodec::Create(client.interface(), encMeta, true, audioSource); encoder->start(); Loading
cmds/stagefright/recordvideo.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -299,7 +299,7 @@ int main(int argc, char **argv) { enc_meta->setInt32(kKeyVideoProfile, profile); } sp<MediaSource> encoder = sp<IMediaSource> encoder = OMXCodec::Create( client.interface(), enc_meta, true /* createEncoder */, source, 0, preferSoftwareCodec ? OMXCodec::kPreferSoftwareCodecs : 0); Loading
cmds/stagefright/sf2.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ protected: DataSource::CreateFromURI( NULL /* httpService */, mURI.c_str()); sp<MediaExtractor> extractor = sp<IMediaExtractor> extractor = MediaExtractor::Create(dataSource); for (size_t i = 0; i < extractor->countTracks(); ++i) { Loading Loading @@ -264,7 +264,7 @@ private: sp<Surface> mSurface; bool mRenderToSurface; sp<ACodec> mCodec; sp<MediaSource> mSource; sp<IMediaSource> mSource; bool mIsVorbis; Vector<sp<ABuffer> > mCSD; Loading