[FFmpeg-devel] [PATCH] avformat/mxfenc: Add color siting element

tim nicholson nichot20 at yahoo.com
Thu May 21 09:20:48 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19/05/15 16:50, Michael Niedermayer wrote:
> On Tue, May 19, 2015 at 03:35:42PM +0100, tim nicholson wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 19/05/15 14:11, Michael Niedermayer wrote:
>>> On Tue, May 19, 2015 at 12:07:24PM +0100, tim nicholson wrote:
>>>> On 19/05/15 01:33, Michael Niedermayer wrote:
>>>>> [...]
>>> the avchroma locations are explained by the ascii art above the enum
:
>>>  *  X   X      3 4 X      X are luma samples,
>>>  *             1 2        1-6 are possible chroma positions
>>>  *  X   X      5 6 X      0 is undefined/unknown position
>>>
>>> and from this the english directions are exactly where the chroma
>>> samples are located, this also matches how H264 defines chroma
>>> locations.
>>
>> I cannot get the ascii art to make sense to me at all, it just doesn'
t
>> click. I do no see how you can represent "co-siting" in ascii art wit
h a
>> single character and the "3" position certainly doesn't do it for me!
> 
> ascii art improved
> does it make sense now ?
> 

Better, but I still cannot see the difference between say 3 and 4, or 1
and 2.

> [...]

My understanding of S377 using 2/3 ascii chars/pixel is:-

00h:-

YC Y- YC -Y-
YC Y- YC -Y-
YC Y- YC -Y-

01h:-

Y- C- Y- C- Y-
Y- C- Y- C- Y-
Y- C- Y- C- Y-

03h:-

Y-    Y-
- -- C- --
Y-    Y-

05h:-

YCr Y- YCr
YCb Y- YCb
YCr Y- YCr

06h:-


Y- Y- Y- Y-
C- C- C- C-
Y- Y- Y- Y-

Not all samples are retained dependening upon the subsampling scheme.
- -- 
Tim.
Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJVXYdQAAoJEAwL/ESLC/yD0NMH/jTJYQG8ZLtwMKbDWAfvkUzk
FWhWJxVQl3JBftxmjkB7JRtRebX6XbDklUi2OQplIzAhbqLdQIJHgDC8enYRIRBf
FJE4qTPltyJ/taOuXeM1IGwrAdbXql+wIakQbwXYfu07dZ3fLAFk63u6mBx+pLeo
l3JpVwOMQsxvjnnrrEr73mKlVk9vo99+tjJiBng5UR02SLfp/6Blvyl4HhyCMYZr
WvZf/pKhETmxjhYMhM/tBncgzeA5gW6q7onFsdBM8g+n/nxSF/nQrXXlkWlWN4hN
M4gnWwVddKbdmaP/kZBzJsIfKnEsH7em2rFOseMrmtvSImDZVpIpRFkG8pVe1JY=
=9Pkq
-----END PGP SIGNATURE-----


More information about the ffmpeg-devel mailing list