mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-05 15:30:02 +01:00
24 lines
703 B
Plaintext
24 lines
703 B
Plaintext
Veejay processing
|
|
=================
|
|
|
|
Veejay processes nativly in YUV, this is to keep colorspace conversions
|
|
to a minimum.
|
|
|
|
YUV 4:2:0 Planar ( 1 Cr and 1 Cb sample per 2x2 Y samples)
|
|
YUV 4:2:2 Planar ( 1 Cr and 1 Cr sample per 1x2 Y samples)
|
|
(both full range JPEG and clipped to 16-235 / 16-240)
|
|
|
|
Places where veejay uses software conversion:
|
|
Conversion from RGB to YUV is for webcam devices.
|
|
Conversion from YUV to RGB is for preview image
|
|
Some FX convert the frame to RGB
|
|
|
|
Why YUV ?
|
|
=========
|
|
|
|
- Many video codecs decode into some YUV flavour
|
|
- Many capture devices deliver YUV
|
|
- Software conversion of RGB <-> YUV was expensive
|
|
- Consumes less memory bandwith then RGB
|
|
|