Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <michael64>2022-01-25 18:59:50 +0300
committerRichard Antalik <richardantalik@gmail.com>2022-01-25 19:07:11 +0300
commit2ed73fc97e7f9b0a0c9783933177b4c566acf6a0 (patch)
treea9317e4e0bb0fc1e3148d8e15e6c02d0b96db72c /intern/cycles/device/denoise.h
parenta18bd403bf3edb495ee0531600bbf3cf23d45e1c (diff)
Fix T94237: Glitch when copying unaligned ffmpeg buffer
Using a negative linesize to flip an image vertically is supported in ffmpeg but not for every function. This method treats frames that need and those that do not need alignment the same. An RGBA frame buffer with alignment that ffmpeg decides is optimal for the CPU and build options is allocated by ffmpeg. The `sws_scale` does the colorspace transformation into this RGBA frame buffer without flipping. Now the image is upside down and aligned. The combined unaligning and vertical flipping is then done by `av_image_copy_to_buffer` which seems to handle negative linesize correctly. Reviewed By: ISS Differential Revision: https://developer.blender.org/D13908
Diffstat (limited to 'intern/cycles/device/denoise.h')
0 files changed, 0 insertions, 0 deletions