Home
last modified time | relevance | path

Searched refs:encMeta (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/cmds/stagefright/
Drecord.cpp313 sp<AMessage> encMeta = new AMessage; in main() local
314 encMeta->setString("mime", in main()
316 encMeta->setInt32("sample-rate", kSampleRate); in main()
317 encMeta->setInt32("channel-count", kNumChannels); in main()
318 encMeta->setInt32("max-input-size", 8192); in main()
319 encMeta->setInt32("bitrate", kAudioBitRate); in main()
326 MediaCodecSource::Create(looper, encMeta, audioSource); in main()
/frameworks/av/media/libstagefright/rtsp/
DMyTransmitter.h113 sp<AMessage> encMeta = new AMessage; in MyTransmitter() local
114 encMeta->setString("mime", MEDIA_MIMETYPE_VIDEO_AVC); in MyTransmitter()
115 encMeta->setInt32("width", width); in MyTransmitter()
116 encMeta->setInt32("height", height); in MyTransmitter()
117 encMeta->setInt32("frame-rate", 30); in MyTransmitter()
118 encMeta->setInt32("bitrate", 256000); in MyTransmitter()
119 encMeta->setInt32("i-frame-interval", 10); in MyTransmitter()
125 mEncoder = MediaCodecSource::Create(encLooper, encMeta, source); in MyTransmitter()