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/av1dec : Use ProgressFrames

    19 avril, par Andreas Rheinhardt
    avcodec/av1dec: Use ProgressFrames
    
    AV1 can put a frame into multiple reference slots;
    up until now, this involved creating a new reference
    to the underlying AVFrame; therefore av1_frame_ref()
    could fail.
    This commit changes this by using the ProgressFrame API
    to share the underlying AVFrames.
    
    (Hint: vaapi_av1_surface_id() checked whether the AV1Frames
    contained in the AV1DecContext were NULL or not (of course
    they were not); this has been changed to actually check for
    whether said AV1Frame is blank or not.)
    
    Reviewed-by: James Almer <jamrial@gmail.com>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/av1dec.c
    • [DH] libavcodec/av1dec.h
    • [DH] libavcodec/dxva2_av1.c
    • [DH] libavcodec/nvdec_av1.c
    • [DH] libavcodec/vaapi_av1.c
    • [DH] libavcodec/vdpau_av1.c
    • [DH] libavcodec/vulkan_av1.c
  • lavc/vvc/refs : Use dpb_max_num_reorder_pics to control output

    19 avril, par Jun Zhao
    lavc/vvc/refs: Use dpb_max_num_reorder_pics to control output
    
    Use dpb_max_num_reorder_pics to control output instead of
    dpb_max_dec_pic_buffering, when dpb_max_dec_pic_buffering
    is much larger than dpb_max_num_reorder_pics, it may cause
    dpb overflow error.
    
    Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
    Signed-off-by: elinyhuang <elinyhuang@tencent.com>
    
    • [DH] libavcodec/vvc/refs.c
  • lavc/vvc_parser : Fixed the has_b_frames setting

    19 avril, par Jun Zhao
    lavc/vvc_parser: Fixed the has_b_frames setting
    
    has_b_frames used in decoder for size of the frame reordering
    buffer, setting this field from dpb_max_num_reorder_pics.
    
    Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
    
    • [DH] libavcodec/vvc_parser.c
  • lavc/vvc_parser : Remove max_b_frames setting

    19 avril, par Jun Zhao
    lavc/vvc_parser: Remove max_b_frames setting
    
    We don't used the max_b_frames field in decoder normally
    
    Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
    
    • [DH] libavcodec/vvc_parser.c
  • avcodec/hevcdec : Use union for AVFrame* and ProgressFrame

    19 avril, par Andreas Rheinhardt
    avcodec/hevcdec: Use union for AVFrame* and ProgressFrame
    
    It avoids having to sync ProgressFrame.f and the pointer
    typically used to access the AVFrame.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/hevc_refs.c
    • [DH] libavcodec/hevcdec.c
    • [DH] libavcodec/hevcdec.h