[vlc-devel] [PATCH 1/2] contrib: add bpg

Tristan Matthews le.businessman at gmail.com
Wed Jan 7 23:22:52 CET 2015


On Wed, Jan 7, 2015 at 5:01 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le mercredi 07 janvier 2015, 16:16:45 Tristan Matthews a écrit :
>> Currently libbpg is only available as a static library.
>
> Slightly off-topic, but I don´t understand why this is yet another library
> rather than part of libavcodec.

I can't really speak as to "why", but internally, libbpg uses a modified
subset of ffmpeg. Maybe these changes will be merged into libavcodec
eventually.

>From the README:

6) FFmpeg modifications
> -----------------------
>
> - Completed support of chroma_format_idc = 0 (monochrome mode).
>
> - Fixed RDPCM support (intra predictions).
>
> - Reduced memory usage for the SAO loop filter.
>
> - Generated the IDCT coefficients dynamically to reduce the code size.
>
> - Added a 'dynamic bit depth' mode where all the bit depths from 8 to
>   14 are supported without code duplication but slower decoding.
>
> - Added a modified SPS header to reduce the size of the BPG decoder
>   (the solution instead is to generate standard VPS and SPS headers
>   from the BPG header).
>
> - Added defines to keep only the HEVC intra code and suppress the
>   parsing of all the irrelevant NAL units.
>
> - Stripped FFmpeg from all codecs except HEVC and the necessary
>   support code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150107/a60ba667/attachment.html>


More information about the vlc-devel mailing list