Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder ffmpeg-solaris10-sparc Build #12197

Results:

Failed shell_2 shell_3 shell_4 shell_5

SourceStamp:

Projectffmpeg
Repositoryhttps://git.ffmpeg.org/ffmpeg.git
Branchmaster
Revision34953e195fe108224abdfe25d147f1a7ba5477c8
Got Revision34953e195fe108224abdfe25d147f1a7ba5477c8
Changes47 changes

BuildSlave:

unstable10s

Reason:

The SingleBranchScheduler scheduler named 'schedule-ffmpeg-solaris10-sparc' triggered this build

Steps and Logfiles:

  1. git update ( 10 secs )
    1. stdio
  2. shell 'gsed -i ...' ( 0 secs )
    1. stdio
  3. shell_1 'gsed -i ...' ( 0 secs )
    1. stdio
  4. shell_2 'gsed -i ...' failed ( 0 secs )
    1. stdio
  5. shell_3 './configure --samples="../../../ffmpeg/fate-suite" ...' failed ( 6 secs )
    1. stdio
    2. config.log
  6. shell_4 'gmake fate-rsync' failed ( 0 secs )
    1. stdio
  7. shell_5 '../../../ffmpeg/fate.sh ../../../ffmpeg/fate_config.sh' failed ( 3 secs )
    1. stdio
    2. configure.log
    3. compile.log
    4. test.log

Build Properties:

NameValueSource
branch master Build
builddir /export/home/buildbot-unstable10s/slave/ffmpeg-solaris10-sparc slave
buildername ffmpeg-solaris10-sparc Builder
buildnumber 12197 Build
codebase Build
got_revision 34953e195fe108224abdfe25d147f1a7ba5477c8 Git
project ffmpeg Build
repository https://git.ffmpeg.org/ffmpeg.git Build
revision 34953e195fe108224abdfe25d147f1a7ba5477c8 Build
scheduler schedule-ffmpeg-solaris10-sparc Scheduler
slavename unstable10s BuildSlave
workdir /export/home/buildbot-unstable10s/slave/ffmpeg-solaris10-sparc slave (deprecated)

Forced Build Properties:

NameLabelValue

Responsible Users:

  1. Andreas Rheinhardt

Timing:

StartSat Jun 21 22:43:02 2025
EndSat Jun 21 22:43:24 2025
Elapsed21 secs

All Changes:

:

  1. Change #237290

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 8e0f064a1170ab93bd309ec18d8070a9d2641656

    Comments

    avcodec/mpeg4videodec: Don't zero blocks twice
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpeg4videodec.c
  2. Change #237291

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision f5fc31acecdef68fae669faa96a3ee0914989859

    Comments

    avcodec/rv10: Perform RV20 initialization during init
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/rv10.c
  3. Change #237292

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision ea4b9a121d05bb29d4a2b4fe2ebfd72524461a69

    Comments

    avcodec/rv10: Perform RV20 check only for RV20
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/rv10.c
  4. Change #237293

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 5507da21e663a9c30e260a113aa26218dec3bade

    Comments

    avcodec/ituh263dec: Don't process unnecessarily many coefficients
    Overriding the number of coefficients is only necessary if
    ac_pred is in used, not for h263_aic alone (for which only
    the DC coefficient is predicted) as it is done here.
    
    And since d50635cd247e17fe16c63219b9ae80d45a8185b1
    the H.263 unquantize-intra functions override the number of
    coefficients in case of ac_pred, so we don't have to do this here.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/ituh263dec.c
  5. Change #237294

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision d95041dffe611dc0d519df95168c205c368a9791

    Comments

    avcodec/ituh263dec: Remove redundant store
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/ituh263dec.c
  6. Change #237295

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision a2272aff769917b33d6f67195e035804b7653c85

    Comments

    avcodec/ituh263enc: Don't use array unnecessarily
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/ituh263enc.c
  7. Change #237296

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 069329ec02577caa011952cf709ceed44e3f7136

    Comments

    avcodec/ituh263enc: Fix indentation
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/ituh263enc.c
  8. Change #237297

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision c2e5f7466db0b55d3fbb3b0ed0f133ddad0ad69a

    Comments

    avcodec/mpeg12dec: Don't store block_last_index unnecessarily
    Given that the MPEG-1/2 decoders unquantize the blocks
    on their own, block_last_index is only used to signal
    to ff_mpv_reconstruct_mb() whether a block is skipped
    or not; but this is only checked for inter macroblocks,
    so it is unnecessary to set block_last_index for intra
    macroblocks.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpeg12.c
    • libavcodec/mpeg12dec.c
  9. Change #237298

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 01d6235faefb5e78e0a8f034525470e77df92d8b

    Comments

    avcodec/rv10: Avoid indirection when reading VLC codes
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/rv10.c
  10. Change #237299

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 00926669f775854c0ffc151b0d2688ccfdb9062d

    Comments

    avcodec/mpeg_er: Mark ff_mpeg_er_init() as av_cold
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpeg_er.c
  11. Change #237300

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 5b1e8056539b1fa1156dd47ab2de02a8565df0f4

    Comments

    avcodec/mpegvideo_enc: Remove always-true branch
    Always-true since 1c40a179222f638e88c8e7b1a374753a00b0f979
    which made 4863671d888273392e9dcc2429f3852c00330498 superfluous.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo_enc.c
  12. Change #237301

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 109bf099d52999cbbe61fde0e3b5bde3ff767da3

    Comments

    avcodec/motion_est: Fix indentation
    Forgotten after 919e749772d09900b41877e21ccb994fab0013ab.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/motion_est.c
  13. Change #237302

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 1fe08d629a27cc5a71a4a52105121a1e64d66ce8

    Comments

    avcodec/svq1enc: Don't free scratchbuf upon error
    Forgotten in 65015003f5c4b83a8202abfa7420ccf37cde6ce3;
    after said commit, freeing scratchbuf on error in svq1_encode_frame()
    could lead to segfaults lateron, because the buffer will not
    be allocated again.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/svq1enc.c
  14. Change #237303

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision fbb8e605ed8ad72dd134a5202ac17084ccd1addb

    Comments

    avcodec/svq1enc: Allocate motion_val{8,16} during init
    It only depends upon the dimensions (which do not change).
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/svq1enc.c
  15. Change #237304

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 58a222f561f36d8b5c83b6758f94c8a65e96cb4c

    Comments

    avcodec/svq1enc: Stop calling ff_mpv_common_init()
    It is not really needed, as none of the buffers allocated
    in ff_mpv_common_init() are used lateron; in fact, ff_mpv_common_init()
    is called with MpegEncContext.width and height equal to zero
    (as well as encoding equal to zero, so that the error resilience
    parts are initialized...), so that all the buffers are too small
    anyway.
    
    The call to ff_mpv_common_init() has been added in commit
    f6774f905fb3cfdc319523ac640be30b14c1bc55 in order to allocate
    {current,last,new}_picture.f (an AVFrame). Yet this is unnecessary
    since 7814dd77aa61703e3d43fc72bfaf6a9fbc42ff9c.
    
    The only task that ff_mpv_common_init() does that may be used
    is initializing the HpelDSPContext embedded in the MpegEncContext.
    In fact, it was not initialized before
    f6774f905fb3cfdc319523ac640be30b14c1bc55 and not initializing
    it passes FATE, yet I can't prove that it is indeed unnecessary.
    Therefore it is still initialized and used instead of
    SVQ1EncContext.hdsp.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/svq1enc.c
  16. Change #237305

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 4b7f1595ccb57b747445184a8cf550c56c51aa90

    Comments

    avcodec/svq1enc: Remove write-only c_block_{width,height}
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/svq1enc.c
  17. Change #237306

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 83ddf99267c03e49140b2468fc4635b36a7dcf64

    Comments

    avcodec/svq1enc: Set MpegEncContext.avctx only once
    It is already set during init.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/svq1enc.c
  18. Change #237307

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 2583c7abcf2caa1d134c95bd6ebdf6a80f4c1bed

    Comments

    avcodec/svq1enc: Don't initialize unneeded block_index
    The motion estimation code only uses block_index[0..3],
    so only initialize that (just like estimate_motion_thread()
    in mpegvideo_enc.c).
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/svq1enc.c
  19. Change #237308

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 9b409ea1e6159f483b0ab4d0413f76c9f646c0a9

    Comments

    configure: Factor mpegvideoencdsp out of mpegvideoenc
    This will allow to relax the dependency on mpegvideoenc
    for several codecs.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • configure
    • libavcodec/Makefile
    • libavcodec/aarch64/Makefile
    • libavcodec/arm/Makefile
    • libavcodec/mathops.h
    • libavcodec/mathtables.c
    • libavcodec/me_cmp.c
    • libavcodec/me_cmp.h
    • libavcodec/mips/Makefile
    • libavcodec/mpegvideoencdsp.c
    • libavcodec/ppc/Makefile
    • libavcodec/riscv/Makefile
    • libavcodec/x86/Makefile
    • tests/checkasm/Makefile
    • tests/checkasm/checkasm.c
  20. Change #237309

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 8764b2104816e5e6c5683b8ba5c2661131daec5e

    Comments

    configure: Relax svq1enc->mpegvideoenc dependency
    It only needs mpegvideoencdsp, motion_est.o and
    some H.263 specific parts.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • configure
    • libavcodec/Makefile
    • libavcodec/h263.c
    • libavcodec/ituh263enc.c
  21. Change #237310

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision da22ee281edcc20960e2134b8d3e443d30762e96

    Comments

    configure: Relax diracdec->mpegvideoenc dependency
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • configure
  22. Change #237311

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 6f84160b82a4920180ef1025655ca85b00f249a3

    Comments

    configure: Relax snowenc->mpegvideoenc dependency
    It only needs mpegvideoencdsp, motion_est.o and ratecontrol.o.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • configure
    • libavcodec/Makefile
  23. Change #237312

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision b4e713598659fe02b5eb874cc9693b9ec8ed0423

    Comments

    avcodec/mpegvideo: Don't reset thread_context ptrs unnecessarily
    They are freed with av_freep(), so the pointers are already consistent.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
  24. Change #237313

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 85692e5da1eae28c582fd2c5fb6a1620e824ca96

    Comments

    avcodec/mpegvideo: Don't zero unnecessarily
    The whole dc_val array is initialized (to 1024) immediately
    after the allocation.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
  25. Change #237314

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 8f92885b1fd72635af25e57b61f85bcff7e76ae3

    Comments

    avcodec/mpegvideo: Defer init of enc slice ctxs in ff_mpv_common_init()
    This will allow to perform initializations between ff_mpv_common_init()
    and ff_mpv_init_duplicate_contexts() that will be automatically
    copied to the slice contexts.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
    • libavcodec/mpegvideo_enc.c
  26. Change #237315

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 822be72f0a9dcbc8279d9d2f8983a5c53015dd2d

    Comments

    avcodec/mpegvideo_enc: Simplify allocating non-slice buffers
    Allocate them before the slice contexts, so that they are automatically
    copied to the slice contexts. This avoids having to set them in a loop.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo_enc.c
  27. Change #237316

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 950137a7c82ab73643942f9b41b6cef3aead8a1b

    Comments

    avcodec/ituh263dec: Simplify AIC handling
    Possible by using block_index.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/ituh263dec.c
  28. Change #237317

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 7643269ec20e9481c44eafdf12e69302647d650f

    Comments

    avcodec/ituh263enc: Simplify AIC handling
    Namely with block_index and block_wrap.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/ituh263enc.c
  29. Change #237318

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 61d34c2b8eac104230f1eb914ebe2a5d45965b66

    Comments

    avcodec/flvenc: Combine writing bits
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/flvenc.c
  30. Change #237319

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 514e5ea0db841416c0bc86bb536c83ecdae2dc2f

    Comments

    avcodec/flvenc: Move ff_flv2_encode_ac_esc() to ituh263enc.c
    This is the only place where it is used.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/flvenc.c
    • libavcodec/flvenc.h
    • libavcodec/ituh263enc.c
  31. Change #237320

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 13527b39bb1c07881bbfab220ea3ce48da273d98

    Comments

    avcodec/mpegvideo: Redo resetting intra table entry
    All callers check the corresponding entry of MpegEncContext.mbintra_table
    and if set (indicating that the intra tables might have been written to
    when decodeing a intra MB, so that they are "dirty"), call
    ff_clean_intra_table_entries(), which resets them to default values
    and resets the mbintra_table entry. Move resetting to the callers
    (via an inline function that also performs the checks). This currently
    has the advantage that the additional load of the mbintra_table ptr
    can be avoided. It will also allow to simplify
    ff_clean_intra_table_entries() (by using block_index[4] and [5]).
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/h263.h
    • libavcodec/h263dec.c
    • libavcodec/mpeg4videodec.c
    • libavcodec/mpegvideo.c
    • libavcodec/mpegvideo_enc.c
  32. Change #237321

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 32cbadcd74a3f3cb1cf76cf1eb9dc5a2c8ae7e56

    Comments

    avcodec/mpegvideo: Avoid {a,d}c_val[{1,2}]
    These are already mostly unused; not using them here is in
    preparation for removing them altogether. Use block_index[4..5]
    instead for addressing.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
  33. Change #237322

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision dcd7408c9200464bc33293b96f439121af2dd692

    Comments

    avcodec/mpegvideo: Provide alignment hint to compiler
    The underlying element type has always a size of 32B,
    so that the pointer is always at least 16B aligned.
    Clang uses this to upgrade the (inlined) memset to
    aligned stores. GCC doesn't (it does it only when
    the alignment hint is provided via __builtin_assume_aligned).
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
  34. Change #237323

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 70ce68d0212f7c1fd9b453fa203371dba05fb3af

    Comments

    avcodec/mpegvideo: Don't reset AC values of upper-left luma block
    Said block will only be referenced by blocks from the same macroblock,
    which will read the new AC values instead of the reset values
    from this function.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
  35. Change #237324

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision b2661569b1298e88d1622b68d86bbb6a6149b544

    Comments

    avcodec/mpegvideo: Combine stores
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
  36. Change #237325

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 4aca6b19ac8430605272f9742392de217326b8fb

    Comments

    avcodec/mpeg4video: Don't use ac_val[1], ac_val[2] when cleaning buffers
    This is in preparation for removing removing ac_val[1]
    and ac_val[2]. ff_mpeg4_clean_buffers() was the last user of them.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpeg4video.c
  37. Change #237326

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision dba1061ba456701fcef17f52ac673687440bd966

    Comments

    avcodec/mpegvideo: Only use a single ac_val pointer
    The chroma pointers ac_val[1] and ac_val[2] are no longer used anywhere.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/ituh263dec.c
    • libavcodec/mpeg4video.c
    • libavcodec/mpeg4videodec.c
    • libavcodec/mpeg4videoenc.c
    • libavcodec/mpegvideo.c
    • libavcodec/mpegvideo.h
    • libavcodec/mpegvideo_enc.c
    • libavcodec/vc1_block.c
  38. Change #237327

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision c4ebe55f94ff9e55bada7dbe9ff2fb9e75d85800

    Comments

    avcodec/mpegvideo: Allocate ac_val jointly
    They are currently allocated separately per slice; allocating them
    jointly allows to avoid saving them in ff_update_duplicate_context().
    
    The way it is done also avoids allocating ac_val for encoders that
    don't need it (e.g. H.263 or H.263+ with AIC).
    
    This entailed moving setting nb_slices to ff_mpv_init_context_frame()
    which is called from ff_mpv_common_frame_size_change(). The resultant
    nb_slices will always be one when called from a decoder using
    ff_mpv_common_frame_size_change().
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
    • libavcodec/mpegvideo_enc.c
  39. Change #237328

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision c4fd33a9515926948e28be1048d0ea69dbf6f3bf

    Comments

    avcodec/mpegvideo: Zero-init mbintra_table
    Up until now, they are marked as dirty (filled with 1), meaning that
    the entries are in need of a reset via ff_clean_intra_table_entries();
    but actually, the entries are initialized to the state that
    ff_clean_intra_table_entries() produces, so they can be marked
    as non-dirty (i.e. filled with 0).
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
  40. Change #237329

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 81ab1106c81a6dc935f54bd41d46987309fbcfe1

    Comments

    avcodec/mpegvideo: Only keep MpegEncContext.dc_val[0]
    The chroma dc_val pointers are mostly unused (accesses use
    dc_val[0] and block_index), so remove them.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/ituh263dec.c
    • libavcodec/ituh263enc.c
    • libavcodec/mpeg4video.h
    • libavcodec/mpeg4videodec.c
    • libavcodec/mpeg4videoenc.c
    • libavcodec/mpeg_er.c
    • libavcodec/mpegvideo.c
    • libavcodec/mpegvideo.h
    • libavcodec/mpegvideo_enc.c
    • libavcodec/msmpeg4.c
    • libavcodec/vc1_block.c
  41. Change #237330

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision eb597d9a1e0e9aec8148a5f3c07e5665ba2029fe

    Comments

    avcodec/vc1: Only keep mb_type[0]
    The chroma mb_type[1] and mb_type[2] pointers are unused.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/vc1.h
    • libavcodec/vc1_block.c
    • libavcodec/vc1_loopfilter.c
    • libavcodec/vc1_mc.c
    • libavcodec/vc1_pred.c
    • libavcodec/vc1dec.c
  42. Change #237331

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision c84a03d7520093074509d48b986e5940220680ce

    Comments

    avcodec/mpegvideo: Allocate dc_val for each encoder slice
    This fixes data races (which are UB) in the MPEG-4 and H.263+
    encoder when predicting DC values; these encoders unconditionally
    read values from the line above the current line and only check
    lateron (via first_slice_line) whether said prediction can be used
    at all. It will also allow to remove said checks (by setting the
    entries to 1024 upon opening a new slice).
    
    The vsynth{1,2,3,_lena}-mpeg4-thread FATE tests were affected by this:
    https://fate.ffmpeg.org/report.cgi?slot=x86_64-archlinux-gcc-tsan-slices&time=20250613002615
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
    • libavcodec/mpegvideo_enc.c
  43. Change #237332

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 56fd45d2a9387f5cbc6e254eb78e2f58674bb8f4

    Comments

    avcodec/{ituh263,mpeg4video}enc: Simplify out-of-slice DC prediction
    Now that every slice (and therefore every thread) uses its own
    DC array, one can simply set the out-of-slice DC values to its
    expected values (this is not possible for the decoders due
    to error resilience).
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/h263enc.h
    • libavcodec/ituh263enc.c
    • libavcodec/mpeg4videoenc.c
    • libavcodec/mpegvideo_enc.c
  44. Change #237333

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 689cde75ee6f5aa4d3ba8e3d63ab542f1e2cb1ff

    Comments

    avcodec/mpeg4video: Move ff_mpeg4_pred_dc() to decoder
    Only used by the decoder now that the encoder solves
    out-of-slice predictions by setting the out-of-slice
    values appropriately.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpeg4video.h
    • libavcodec/mpeg4videodec.c
  45. Change #237334

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision f8c0ac9984e38b2f7221cb8838cddde35d0181de

    Comments

    avcodec/ituh263enc: Simplify encoding umotion vectors
    There is no need to use two loops.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/ituh263enc.c
  46. Change #237335

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 5cdce56a79510284271f6b2eeb2231ff6a2bc7fd

    Comments

    avcodec/mpegvideo: Reduce stack usage when copying MpegEncContext
    (GCC did not perform this on its own; Clang did.)
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpegvideo.c
  47. Change #237336

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Sat 21 Jun 2025 22:08:52
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 34953e195fe108224abdfe25d147f1a7ba5477c8

    Comments

    avcodec/mpeg4videoenc: Fix data race when using AC prediction
    The check for whether we can use the fast path to process
    AC coefficients used the qscale value belonging to a different
    slice; this worked in practice, because the predicted AC values
    are zero in this case, so it does not matter whether we use
    the fast or the slow path.
    
    Fix this by checking for first_slice_line instead. This fixes all
    the races in the encoding part of the vsynth*-mpeg4-thread tests
    (and fixes them if no frame threading is in use for the decoding part).
    
    (The left prediction check may use data from a different slice, too,
    but said slice is always processed by the same thread, so that no race
    can happen. Given that out-of-slice AC values are zero, it does not
    matter whether we use the fast path or the slow path either.)
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/mpeg4videoenc.c