Skip to content
  • David Flynn's avatar
    codec/dirac: Rewrite libdirac(-research) encoding support · 940c7979
    David Flynn authored
    
    
    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: default avatarDavid Flynn <davidf@rd.bbc.co.uk>
    Signed-off-by: default avatarLaurent Aimar <fenrir@videolan.org>
    940c7979