On 27/02/14 21:00, Diego Biurrun wrote:
> On Thu, Feb 27, 2014 at 07:06:08PM +0100, Luca Barbato wrote:
>> They require the full decoder.
>> ---
>>  configure           |  4 ++--
>>  libavcodec/Makefile | 11 ++---------
>>  2 files changed, 4 insertions(+), 11 deletions(-)
> 
> That the parser requires the full decoder seems like the underlying issue
> to me.

It is an unrelated issue and I'm not rewriting the h264 before landing
this patch...

The current h264.c contains slice decoding and nal decoding, I managed
to move the slice decoding in a separate file, some picture primitives
in another (Vittorio is working on Picture -> H264Picture transition).

The h264_parser is using decode_nal when parsing the estradata and it
brings down pretty much _everything_ else.

In order to make the parser require less of it one would need to rewrite
the decode_nal, but then you would basically skip the vlc-component
decoding and only that.

In short: no, there isn't any sensible way to reduce the parser with the
codebase we currently have and it isn't my priority to do that.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to