Skip to content
Snippets Groups Projects
Commit 8e16ada0 authored by Frank Bossen's avatar Frank Bossen
Browse files

Clean up: reduce memory reallocation in CodingStructure::createCoeffs

Use vectors and resize them if needed instead of deleting and
reallocating memory for every picture. This appears to have a
significant impact on decoder run time.

Use PLTRunMode type where appropriate instead of bool since
using vector<bool> creates a number of issues
parent 8b20e3ce
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment