<div dir="ltr"><div><div>On Wed, Jan 7, 2015 at 5:01 PM, Rémi Denis-Courmont <<a href="mailto:remi@remlab.net">remi@remlab.net</a>> wrote:<br>> Le mercredi 07 janvier 2015, 16:16:45 Tristan Matthews a écrit :<br>>> Currently libbpg is only available as a static library.<br>><br>> Slightly off-topic, but I don´t understand why this is yet another library<br>> rather than part of libavcodec.<br><br></div>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. <br><br></div>From the README:<br><div><div><div><div><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">6) FFmpeg modifications<br>-----------------------<br><br>- Completed support of chroma_format_idc = 0 (monochrome mode).<br><br>- Fixed RDPCM support (intra predictions).<br><br>- Reduced memory usage for the SAO loop filter.<br><br>- Generated the IDCT coefficients dynamically to reduce the code size.<br><br>- Added a 'dynamic bit depth' mode where all the bit depths from 8 to<br>  14 are supported without code duplication but slower decoding.<br><br>- Added a modified SPS header to reduce the size of the BPG decoder<br>  (the solution instead is to generate standard VPS and SPS headers<br>  from the BPG header).<br><br>- Added defines to keep only the HEVC intra code and suppress the<br>  parsing of all the irrelevant NAL units.<br><br>- Stripped FFmpeg from all codecs except HEVC and the necessary<br>  support code.</blockquote></div></div></div></div></div>