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

  • swscale/x86/rgb2rgb : add AVX512ICL version of uyvytoyuv422

    3 février, par Shreesh Adiga
    swscale/x86/rgb2rgb: add AVX512ICL version of uyvytoyuv422
    
    The scalar loop is replaced with masked AVX512 instructions.
    For extracting the Y from UYVY, vperm2b is used instead of
    various AND and packuswb.
    
    Instead of loading the vectors with interleaved lanes as done
    in AVX2 version, normal load is used. At the end of packuswb,
    for U and V, an extra permute operation is done to get the
    required layout.
    
    AMD 7950x Zen 4 benchmark data:
    uyvytoyuv422_c:                                      29105.0 ( 1.00x)
    uyvytoyuv422_sse2:                                    3888.0 ( 7.49x)
    uyvytoyuv422_avx:                                     3374.2 ( 8.63x)
    uyvytoyuv422_avx2:                                    2649.8 (10.98x)
    uyvytoyuv422_avx512icl:                               1615.0 (18.02x)
    
    Signed-off-by: Shreesh Adiga <16567adigashreesh@gmail.com>
    Signed-off-by: James Almer <jamrial@gmail.com>
    
    • [DH] libswscale/x86/rgb2rgb.c
    • [DH] libswscale/x86/rgb_2_rgb.asm
  • lavc/vvcdec : export stream level VUI information

    3 février, par Nuo Mi
    lavc/vvcdec: export stream level VUI information
    
    Previously, VUI information was not exposed.
    If the container lacks HDR metadata, HDR videos appear washed out
    
    Command: mp4box -add hdr.mp4#video:colr=nclc,1,1,1 -new new.mp4 && ffprobe new.mp4
    Before: Stream #0:0[0x1](und): Video: vvc (vvc1 / 0x31637676), yuv420p10le(bt709), 1920x1080, 12164 kb/s, 50 fps, 50 tbr, 90k tbn (default)
    After:  Stream #0:0[0x1](und): Video: vvc (vvc1 / 0x31637676), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 1920x1080 [SAR 1:1 DAR 16:9], 12164 kb/s, 50 fps, 50 tbr, 90k tbn (default)
    
    Reported-by: Barry Warburton <blwarburton@gmail.com>
    
    • [DH] libavcodec/vvc/ps.c
  • lavc/vvcdec : refact, set AVCodecContext->has_b_frames in sps_export_stream_params

    3 février, par Nuo Mi
    lavc/vvcdec: refact, set AVCodecContext->has_b_frames in sps_export_stream_params
    
    • [DH] libavcodec/vvc/dec.c
    • [DH] libavcodec/vvc/ps.c
  • avformat/mov : fix eof check in mov_read_iinf()

    3 février, par Kacper Michajłow
    avformat/mov: fix eof check in mov_read_iinf()
    
    This fix ensures that the loop stops early on EOF. The issue occurs
    because mov_read_infe() performs a version check and skips unsupported
    versions. The problem is that seeking within the stream clears the EOF
    flag, causing avio_feof() to not function as expected. This is resolved
    by moving the EOF check after reading the size and type, ensuring the
    EOF flag is set when necessary.
    
    Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavformat/mov.c
  • avformat/riffdec : change declaration of ff_get_wav_header()

    3 février, par Viraaj Raulgaonkar
    avformat/riffdec: change declaration of ff_get_wav_header()
    
    Change the type of logctx from void* to AVFormatContext*. This is in
    preparation for the next commit.
    
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavformat/riff.h
    • [DH] libavformat/riffdec.c