diff options
author | trav90 <travawine@palemoon.org> | 2018-10-18 19:47:53 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-10-18 19:47:53 -0500 |
commit | 0c98b71659b728d80231af7c33214e03114f9a62 (patch) | |
tree | 627a0292646011b8208f40f92331a6271f77e7b8 /dom/media/imagecapture/ImageCapture.h | |
parent | 4653be96093a65e8db08e29e10e13029fea861e7 (diff) | |
download | UXP-0c98b71659b728d80231af7c33214e03114f9a62.tar UXP-0c98b71659b728d80231af7c33214e03114f9a62.tar.gz UXP-0c98b71659b728d80231af7c33214e03114f9a62.tar.lz UXP-0c98b71659b728d80231af7c33214e03114f9a62.tar.xz UXP-0c98b71659b728d80231af7c33214e03114f9a62.zip |
[aom] Don't resample 8-bit images
The libaom av1 decoder will return 16 bit per channel aom_image_t structures with only 8 significant bits.
Detect this case and use the mSkip fields of PlanarYCbCrImage to handle the extra data instead of allocating and performing an extra copy to obtain the necessary 8 bit representation.
Diffstat (limited to 'dom/media/imagecapture/ImageCapture.h')
0 files changed, 0 insertions, 0 deletions