mirror of
https://github.com/encounter/SDL.git
synced 2025-12-18 09:25:29 +00:00
Fixed typos (thanks Martin!)
This commit is contained in:
@@ -3,14 +3,14 @@ From: https://github.com/descampsa/yuv2rgb
|
||||
C library for fast image conversion between yuv420p and rgb24.
|
||||
|
||||
This is a simple library for optimized image conversion between YUV420p and rgb24.
|
||||
It was done mainly as an exercise to learn to use sse instrinsics, so there may still be room for optimization.
|
||||
It was done mainly as an exercise to learn to use sse intrinsics, so there may still be room for optimization.
|
||||
|
||||
For each conversion, a standard c optimized function and two sse function (with aligned and unaligned memory) are implemented.
|
||||
The sse version requires only SSE2, which is available on any reasonnably recent CPU.
|
||||
The sse version requires only SSE2, which is available on any reasonably recent CPU.
|
||||
The library also supports the three different YUV (YCrCb to be correct) color spaces that exist (see comments in code), and others can be added simply.
|
||||
|
||||
There is a simple test program, that convert a raw YUV file to rgb ppm format, and measure computation time.
|
||||
Optionnaly, it also compares the result and computation time with the ffmpeg implementation (that uses MMX), and with the IPP functions.
|
||||
Optionally, it also compares the result and computation time with the ffmpeg implementation (that uses MMX), and with the IPP functions.
|
||||
|
||||
To compile, simply do :
|
||||
|
||||
|
||||
Reference in New Issue
Block a user