aws / dcv-color-primitives

DCV Color Primitives Library
MIT No Attribution
30 stars 22 forks source link

Added yuv to rgba conversions #77

Closed fabiosky closed 1 year ago

fabiosky commented 1 year ago

Issue #, if available: https://github.com/aws/dcv-color-primitives/issues/76

Description of changes: Added {i420,i444,nv12} > rgba conversions.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov-commenter commented 1 year ago

Codecov Report

Merging #77 (a52e833) into master (0f3789f) will decrease coverage by 0.32%. The diff coverage is 72.72%.

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
- Coverage   85.90%   85.59%   -0.32%     
==========================================
  Files           8        8              
  Lines        2732     2749      +17     
==========================================
+ Hits         2347     2353       +6     
- Misses        385      396      +11     
Files Changed Coverage Δ
src/lib.rs 68.75% <0.00%> (-5.23%) :arrow_down:
src/pixel_format.rs 100.00% <ø> (ø)
src/convert_image/x86.rs 91.57% <75.00%> (-0.61%) :arrow_down:
src/convert_image/avx2.rs 81.84% <88.88%> (+0.01%) :arrow_up:
src/convert_image/sse2.rs 85.56% <88.88%> (+0.01%) :arrow_up:
src/dispatcher.rs 100.00% <100.00%> (ø)