[vlc-devel] commit: codec/dirac: Rewrite libdirac(-research) encoding support ( David Flynn )

git version control git at videolan.org
Wed Nov 12 20:12:16 CET 2008


vlc | branch: master | David Flynn <davidf at woaf.net> | Wed Nov 12 09:21:25 2008 +0000| [940c79795a4b59431f74b0df96cbcc14fc1b1b91] | committer: Laurent Aimar 

codec/dirac: Rewrite libdirac(-research) encoding support

libdirac is currently a higher quality (albeit much slower) encoder than
libschroedinger.  The intention is to port its algorithim to schro and
depricate the codebase.

A previous patch removes libdirac decoding support in preference
to the schroedinger module which is designed to be much faster.

This patch corrects previous attempts at doing an encoder module. It
takes into account:
 - input PTS
 - correctly forming output pts&dts (progressive and field coding modes)
 - gathering dirac data units into encapsulation units
 - encoder options
 - simplified encoder options (block overlap)
 - choosing of suitable parameters from input frame parameters
 - OggDirac compliant stashing of headers in p_extra

Signed-off-by: David Flynn <davidf at rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=940c79795a4b59431f74b0df96cbcc14fc1b1b91
---

 modules/codec/dirac.c |  940 +++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 842 insertions(+), 98 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=940c79795a4b59431f74b0df96cbcc14fc1b1b91



More information about the vlc-devel mailing list