Skip to content
  • Sreerenj Balachandran's avatar
    FEI: libs: Add FEI encoder · 7e0d5b93
    Sreerenj Balachandran authored and Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal committed
    Adding FEI encoder to core lib.
    
    The code is splitted into three session:
    
    1: gstvaapiencoder_h264_fei.{h,c}
    This is the replica of gstvaapiencoder_h264.{c,h} but with FEI.
    All the modes ENC, PAK and ENC_PAK are running based
    the code in these files.
    
    2: gstvaapifeienc_h264.{h,c}
    Abstract implementation intended for ENC (only VME) operation.
    
    3: gstvaapifeipak_h264.{h,c}
    Abstrct implementation intended for PAK (only the PAK module)
    
    Right now ENC_PAK, ENC and PAK are running based on code
    in gstvaapiencoder_h264_fei.{h,c}. The abstract implementations
    in gstvaapifeienc_h264.{h,c} and gstvaapifeipak_h264.{h,c} are
    needed if user request for ENC+PAK mode operation.
    
    ENC+PAK: Here we need to invoke two sequence of
    vaBeginPicture/vaRenderPicutre/vaEndPicture for each frame,
    first for the ENC only and the second for PAK only.
    Each mode associated with separate context ,but same pool of surfaces are
    shared between the modes.
    This is more useful once we have custom BRC algorithms.
    
    Other Contributors:
                       Wang, Yi <yi.a.wang@intel.com>
                       Leilei <leilei.shang@intel.com>
                       Zhong, Xiaoxia <xiaoxia.zhong@intel.com>
                       xiaominc <xiaomin.chen@intel.com>
                       Li, Jing B <jing.b.li@intel.com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785712
    https://bugzilla.gnome.org/show_bug.cgi?id=784667
    7e0d5b93