Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

create avbuffers to be 32-byte aligned in width #154

Merged
merged 2 commits into from
Jul 30, 2020

Conversation

lnihlen
Copy link
Member

@lnihlen lnihlen commented Jul 29, 2020

Purpose and motivation

Fixes #143. FFMPEG, for some codecs, requires that the image data be 32-byte aligned along pixel rows. This allows images of arbitrary sizes to now be saved correctly, and updates the image integration tests to use prime numbers for image sizes in both dimensions, hopefully catching any future alignment errors that pop up.

Implementation

Adds a stride member to Vulkan HostBuffer class as well as the wrapper av::Buffer class that represents that host-accessible memory area to the av subsystem. Computes stride to be 32-byte aligned. Update the test image reference version to account for the resized images.

Types of changes

  • Bug fix

Status

  • This PR is ready for review

@lnihlen lnihlen merged commit 8eb0ac1 into ScintillatorSynth:develop Jul 30, 2020
@lnihlen lnihlen deleted the topic/stride-error branch July 30, 2020 00:36
lnihlen added a commit that referenced this pull request Aug 31, 2020
* create avbuffers to be 32-byte aligned in width (#154)

* implementation of cmd-period (#155)

* switch travis to xenial (#157)

* Turn on all warnings, and treat warnings as compilation errors (#158)

* Adds preliminary support for Groups to scinserver (#162)

* Adds group and node ordering to scinsynth (#163)

* include libstdc++ and libgcc_s in AppImage (#167)

* fix apprun based on vanilla xenial testing (#168)

* bump version to 0.0.8 (#169)
nhthn pushed a commit to nhthn/Scintillator that referenced this pull request Sep 27, 2020
* create avbuffers to be 32-byte aligned in width (ScintillatorSynth#154)

* implementation of cmd-period (ScintillatorSynth#155)

* switch travis to xenial (ScintillatorSynth#157)

* Turn on all warnings, and treat warnings as compilation errors (ScintillatorSynth#158)

* Adds preliminary support for Groups to scinserver (ScintillatorSynth#162)

* Adds group and node ordering to scinsynth (ScintillatorSynth#163)

* include libstdc++ and libgcc_s in AppImage (ScintillatorSynth#167)

* fix apprun based on vanilla xenial testing (ScintillatorSynth#168)

* bump version to 0.0.8 (ScintillatorSynth#169)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant