git.videolan.org Git - ffmpeg.git/rss log

FFmpeg git repo

http://git.videolan.org/?p=ffmpeg.git;a=summary

Les articles publiés sur le site

  • avcodec/magicyuvenc : Switch to unchecked bytestream2 API

    17 avril, par Andreas Rheinhardt
    avcodec/magicyuvenc: Switch to unchecked bytestream2 API
    
    We have already calculated the size of the packet
    and therefore don't need to rely on these implicit checks.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/magicyuvenc.c
  • avcodec/magicyuvenc : Calculate proper packet size in advance

    17 avril, par Andreas Rheinhardt
    avcodec/magicyuvenc: Calculate proper packet size in advance
    
    This can be easily done because we have a count of the number of
    values and the length of the associated codes. This allows
    to switch to ff_get_encode_buffer() and thereby avoids an implicit
    intermediate buffer.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/magicyuvenc.c
  • avcodec/magicyuvenc : Simplify padding slice

    17 avril, par Andreas Rheinhardt
    avcodec/magicyuvenc: Simplify padding slice
    
    Do it before writing the actual slice to be able to use
    a single AV_WN32().
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/magicyuvenc.c
  • avcodec/magicyuvenc : Avoid PutBitContext for byte-aligned writes

    17 avril, par Andreas Rheinhardt
    avcodec/magicyuvenc: Avoid PutBitContext for byte-aligned writes
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/magicyuvenc.c
  • avcodec/magicyuvenc : Avoid intermediate buffer

    17 avril, par Andreas Rheinhardt
    avcodec/magicyuvenc: Avoid intermediate buffer
    
    Given that we can calculate the size of each slice in advance,
    we can determine the position in the output packet where it
    needs to be put and can therefore avoid the intermediate buffer.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/magicyuvenc.c