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/mpegvideo : Move [fb]_code to Mpeg4Dec and MPVEncContext

    25 mars, par Andreas Rheinhardt
    avcodec/mpegvideo: Move [fb]_code to Mpeg4Dec and MPVEncContext
    
    It is only used by the MPEG-4 decoder and the encoders.
    Notice that this field is a per-frame property and therefore
    does not need to by synced in mpeg4_update_thread_context().
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/motion_est.c
    • [DH] libavcodec/mpeg12enc.c
    • [DH] libavcodec/mpeg4videodec.c
    • [DH] libavcodec/mpeg4videodec.h
    • [DH] libavcodec/mpeg4videoenc.c
    • [DH] libavcodec/mpegvideo.h
    • [DH] libavcodec/mpegvideo_enc.c
    • [DH] libavcodec/mpegvideoenc.h
    • [DH] libavcodec/msmpeg4enc.c
    • [DH] libavcodec/nvdec_mpeg4.c
    • [DH] libavcodec/ratecontrol.c
    • [DH] libavcodec/rv20enc.c
    • [DH] libavcodec/snowenc.c
    • [DH] libavcodec/svq1enc.c
    • [DH] libavcodec/vaapi_mpeg4.c
    • [DH] libavcodec/vdpau_mpeg4.c
  • avcodec/mpeg4video : Pass parameters directly

    25 mars, par Andreas Rheinhardt
    avcodec/mpeg4video: Pass parameters directly
    
    Namely in ff_mpeg4_get_video_packet_prefix_length().
    This will allow to move [fb]_code from MpegEncContext.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/mpeg4video.c
    • [DH] libavcodec/mpeg4video.h
    • [DH] libavcodec/mpeg4videodec.c
    • [DH] libavcodec/mpeg4videoenc.c
  • avcodec/mpegvideo : Don't set [bf]_code for non-MPEG-4 decoders

    25 mars, par Andreas Rheinhardt
    avcodec/mpegvideo: Don't set [bf]_code for non-MPEG-4 decoders
    
    It is only used by encoders and the MPEG-4 decoder.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/flvdec.c
    • [DH] libavcodec/intelh263dec.c
    • [DH] libavcodec/ituh263dec.c
    • [DH] libavcodec/mpeg4videodec.c
    • [DH] libavcodec/mpegvideo.c
    • [DH] libavcodec/mpegvideo_enc.c
    • [DH] libavcodec/rv10.c
  • avcodec/snowenc : Don't allocate obmc_scratchpad separately

    25 mars, par Andreas Rheinhardt
    avcodec/snowenc: Don't allocate obmc_scratchpad separately
    
    Put it into SnowEncContext instead. Also use the proper type
    (it is only used as IDWTELEM aka short).
    
    (The allocation code allocated it in units of uint32_t,
    yet it was never used in this way. I made the array so big
    that the size (in bytes) does not change.)
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/snowenc.c
  • avcodec/motion_est : Put map, me_map into MotionEstContext

    25 mars, par Andreas Rheinhardt
    avcodec/motion_est: Put map, me_map into MotionEstContext
    
    They have a fixed size and given that nowadays
    MotionEstContext is no longer in any decoder's private context,
    it is not wasteful to just put it into there.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/motion_est.h
    • [DH] libavcodec/mpegvideo_enc.c
    • [DH] libavcodec/snowenc.c
    • [DH] libavcodec/svq1enc.c