Thread: Avisynth+
View Single Post
Old 17th February 2019, 20:20   #4498  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Some more errors on the Wiki?

http://avisynth.nl/index.php/Filter_...24_.2F_IsRGB32

Code:
bool IsRGB() const;
bool IsRGB24() const;
bool IsRGB32() const;

All of them will return true if the colorspace is RGB (in any way). The last two return true if the clip has the specific RGB colorspace (RGB24 and RGB32).
That can't be right, can it? Same just below:

Code:
bool IsYUV() const;
bool IsYUY2() const;
bool IsYV24() const;   // v5
bool IsYV16() const;   // v5
bool IsYV12() const;
bool IsYV411() const;  // v5
bool IsY8() const;     // v5

All of them will return true if the colorspace is YUV (in any way). The last six return true if the clip has the specific YUV colorspace (YUY2, YV24, YV16, YV12, YV411 and Y8).
Maybe I'm missing something but I don't think that makes sense.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline