lavc/mediacodec: bypass width/height restrictions when looking for a decoder
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>
Tue, 31 May 2016 09:00:12 +0000 (11:00 +0200)
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>
Tue, 7 Jun 2016 08:22:20 +0000 (10:22 +0200)
commit93f4d1646e9441b89e19073d6ad8e187bd705640
tree370933dccaf241c00eb321cebed7b6b7ba1e85db
parentcb89fd2334d38d3fffa03da3f4851d3a4fc11f55
lavc/mediacodec: bypass width/height restrictions when looking for a decoder

Codec width/height restrictions seem hardcoded at the OMX level and
seem arbitrary. Bypassing those restrictions allows a device to decode
streams at higher resolutions.

For example it allows a Nexus 5 to decode h264 streams with a resolution
higher than 1920x1080.
libavcodec/mediacodec_wrapper.c
libavcodec/mediacodec_wrapper.h
libavcodec/mediacodecdec.c