On Mon, Jun 06, 2016 at 11:41:41AM +0200, Matthieu Bouron wrote: > On Mon, Jun 06, 2016 at 11:29:03AM +0200, Hendrik Leppkes wrote: > > On Mon, Jun 6, 2016 at 9:54 AM, Matthieu Bouron > > <matthieu.bou...@gmail.com> wrote: > > > On Tue, May 31, 2016 at 05:41:16PM +0200, Matthieu Bouron wrote: > > >> On Tue, May 31, 2016 at 03:51:20PM +0200, Matthieu Bouron wrote: > > >> > On Tue, May 31, 2016 at 03:35:49PM +0200, Hendrik Leppkes wrote: > > >> > > On Tue, May 31, 2016 at 3:00 PM, Matthieu Bouron > > >> > > <matthieu.bou...@gmail.com> wrote: > > >> > > > From: Matthieu Bouron <matthieu.bou...@stupeflix.com> > > >> > > > > > >> > > > 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. > > >> > > > > >> > > > > >> > > What happens if the resolution actually exceeds the devices > > >> > > capabilities? > > >> > > > >> > The patch has been tested on various devices and it has been working so > > >> > far. When the resolution actually exceeds the device capabilities the > > >> > codec just fails to configure itself. > > >> > > > >> > However I did not try to craft samples with really high resolutions > > >> > (higher > > >> > than ~4K) to test the patch against. > > >> > > > >> > I will double check what is happening with both SW output and surface > > >> > output. > > >> > > >> I tested on a bunch of devices with different chipsets and they all fail > > >> at > > >> the configuration step. > > >> > > > > > > If there is no objection, I will push the patchset in one day. > > > > > > > If you have confirmed that it still fails gracefully but accepts more > > streams, then LGTM. > > Thanks.
Pushed a different version of the patchset (struct declarations have been moved at the beginning of the file so MediaFormat methods can be re-used in ff_AMediaCodecList_getCodecByName (and are not redeclared)). Matthieu _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel