Skip to content
Snippets Groups Projects
Commit d192ac3e authored by Martin Storsjö's avatar Martin Storsjö
Browse files

swscale: Disallow conversion to GBRP16


This reverts parts of d6d5ef55, that didn't work right. (The
tests that were added failed on big endian, and the output looked
garbled on little endian as well.)

This is due to the fact that the intermediate scaling values (from
e.g. hScale8To19_c or hScale16To19_c) are stored as int32_t and
thus requires a separate output function, while yuv2gbrp_full_X_c
only interprets it as int16_t.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 62a43d30
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