[FFmpeg-trac] #9771(avcodec:open): Small MAX_SLICES makes d3d11va (AVC) not bitperfect and causes artifacts (but not CUDA/NVDEC)

FFmpeg trac at avcodec.org
Mon Dec 23 01:01:11 EET 2024


#9771: Small MAX_SLICES makes d3d11va (AVC) not bitperfect and causes artifacts
(but not CUDA/NVDEC)
-------------------------------------+-------------------------------------
             Reporter:  Balling      |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  d3d11va,     |               Blocked By:
  h264, hwaccel, dxva2               |
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Comment (by Timo R.):

 The software decoder also has a fixed size array based on MAX_SLICES.
 And then just does "& (MAX_SLICES -1)" when indexing into them.
 So how badly it breaks depends on how all the slices interact.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9771#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list