Preliminary support of VP9 HW encoder on Android.
Not fully tested yet. Verified in test loopback application with fake VP9 codec factory. Assume that encoder generates bitstream in non flexible mode with one temporal and one spatial layers. R=magjed@webrtc.org Review URL: https://codereview.webrtc.org/1451953002 . Cr-Commit-Position: refs/heads/master@{#10695}
This commit is contained in:
@ -856,7 +856,7 @@ void MediaCodecVideoDecoderFactory::SetEGLContext(
|
||||
webrtc::VideoDecoder* MediaCodecVideoDecoderFactory::CreateVideoDecoder(
|
||||
VideoCodecType type) {
|
||||
if (supported_codec_types_.empty()) {
|
||||
ALOGE << "No HW video decoder for type " << (int)type;
|
||||
ALOGW << "No HW video decoder for type " << (int)type;
|
||||
return NULL;
|
||||
}
|
||||
for (VideoCodecType codec_type : supported_codec_types_) {
|
||||
@ -866,7 +866,7 @@ webrtc::VideoDecoder* MediaCodecVideoDecoderFactory::CreateVideoDecoder(
|
||||
AttachCurrentThreadIfNeeded(), type, render_egl_context_);
|
||||
}
|
||||
}
|
||||
ALOGE << "Can not find HW video decoder for type " << (int)type;
|
||||
ALOGW << "Can not find HW video decoder for type " << (int)type;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user