ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.06k stars 413 forks source link

BgraToYuva420p() #84

Closed mikeversteeg closed 5 years ago

mikeversteeg commented 5 years ago

I would like to have a function BgraToYuva420p() which converts BGRA to YUVA420p, to compliment the existing Yuva420pToBgra() function. YUVA is 1 full size Y plane, 1/4 size U, 1/4 size V, and 1 full size A plane.

"SIMD_API void | SimdBgraToYuva420p (const uint8_t bgra, size_t width, size_t height, size_t bgraStride, uint8_t y, size_t yStride, uint8_t u, size_t uStride, uint8_t v, size_t vStride, uint8_t *a, size_t aStride)

Converts 32-bit BGRA image to YUVA420P."

Thank you.

mikeversteeg commented 5 years ago

Still very much interested in this! Let me know how I can help.

ermig1979 commented 5 years ago

I am sorry, but I am on holiday.

ermig1979 commented 5 years ago

I have added function BgraToYuva420p.

mikeversteeg commented 5 years ago

Thank you!