Mercurial > libavcodec.hg
changeset 9313:4703ca2612ba libavcodec
Add comments specifying the name of the components in the descriptors.
author | stefano |
---|---|
date | Tue, 31 Mar 2009 18:36:58 +0000 |
parents | 601e91e470e7 |
children | a8352444823b |
files | pixdesc.c |
diffstat | 1 files changed, 40 insertions(+), 40 deletions(-) [+] |
line wrap: on
line diff
--- a/pixdesc.c Tue Mar 31 18:35:19 2009 +0000 +++ b/pixdesc.c Tue Mar 31 18:36:58 2009 +0000 @@ -29,9 +29,9 @@ .log2_chroma_w= 1, .log2_chroma_h= 0, .comp = { - {0,0,1,0,7}, - {1,0,1,0,7}, - {2,0,1,0,7}, + {0,0,1,0,7}, /* Y */ + {1,0,1,0,7}, /* U */ + {2,0,1,0,7}, /* V */ }, }, [PIX_FMT_YUV420P] = { @@ -40,9 +40,9 @@ .log2_chroma_w= 1, .log2_chroma_h= 1, .comp = { - {0,0,1,0,7}, - {1,0,1,0,7}, - {2,0,1,0,7}, + {0,0,1,0,7}, /* Y */ + {1,0,1,0,7}, /* U */ + {2,0,1,0,7}, /* V */ }, }, [PIX_FMT_YUV410P] = { @@ -51,9 +51,9 @@ .log2_chroma_w= 2, .log2_chroma_h= 2, .comp = { - {0,0,1,0,7}, - {1,0,1,0,7}, - {2,0,1,0,7}, + {0,0,1,0,7}, /* Y */ + {1,0,1,0,7}, /* U */ + {2,0,1,0,7}, /* V */ }, }, [PIX_FMT_NV12] = { @@ -62,9 +62,9 @@ .log2_chroma_w= 1, .log2_chroma_h= 1, .comp = { - {0,0,1,0,7}, - {1,1,1,0,7}, - {1,1,2,0,7}, + {0,0,1,0,7}, /* Y */ + {1,1,1,0,7}, /* U */ + {1,1,2,0,7}, /* V */ }, }, [PIX_FMT_YUYV422] = { @@ -73,9 +73,9 @@ .log2_chroma_w= 1, .log2_chroma_h= 0, .comp = { - {0,1,1,0,7}, - {0,3,2,0,7}, - {0,3,4,0,7}, + {0,1,1,0,7}, /* Y */ + {0,3,2,0,7}, /* U */ + {0,3,4,0,7}, /* V */ }, }, [PIX_FMT_UYVY422] = { @@ -84,9 +84,9 @@ .log2_chroma_w= 1, .log2_chroma_h= 0, .comp = { - {0,1,2,0,7}, - {0,3,1,0,7}, - {0,3,3,0,7}, + {0,1,2,0,7}, /* Y */ + {0,3,1,0,7}, /* U */ + {0,3,3,0,7}, /* V */ }, }, [PIX_FMT_GRAY16LE] = { @@ -95,7 +95,7 @@ .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,1,1,0,15}, + {0,1,1,0,15}, /* Y */ }, }, [PIX_FMT_GRAY16BE] = { @@ -104,7 +104,7 @@ .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,1,1,0,15}, + {0,1,1,0,15}, /* Y */ }, .flags = PIX_FMT_BE, }, @@ -114,9 +114,9 @@ .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,2,1,0,7}, - {0,2,2,0,7}, - {0,2,3,0,7}, + {0,2,1,0,7}, /* R */ + {0,2,2,0,7}, /* G */ + {0,2,3,0,7}, /* B */ }, }, [PIX_FMT_RGBA] = { @@ -125,10 +125,10 @@ .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,3,1,0,7}, - {0,3,2,0,7}, - {0,3,3,0,7}, - {0,3,4,0,7}, + {0,3,1,0,7}, /* R */ + {0,3,2,0,7}, /* G */ + {0,3,3,0,7}, /* B */ + {0,3,4,0,7}, /* A */ }, }, [PIX_FMT_RGB48LE] = { @@ -137,9 +137,9 @@ .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,5,1,0,15}, - {0,5,3,0,15}, - {0,5,5,0,15}, + {0,5,1,0,15}, /* R */ + {0,5,3,0,15}, /* G */ + {0,5,5,0,15}, /* B */ }, }, [PIX_FMT_RGB48BE] = { @@ -148,9 +148,9 @@ .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,5,1,0,15}, - {0,5,3,0,15}, - {0,5,5,0,15}, + {0,5,1,0,15}, /* R */ + {0,5,3,0,15}, /* G */ + {0,5,5,0,15}, /* B */ }, .flags = PIX_FMT_BE, }, @@ -160,9 +160,9 @@ .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,1,1,0,4}, - {0,1,1,5,5}, - {0,1,2,3,4}, + {0,1,1,0,4}, /* B */ + {0,1,1,5,5}, /* G */ + {0,1,2,3,4}, /* R */ }, }, [PIX_FMT_RGB565BE] = { @@ -171,9 +171,9 @@ .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,1,1, 0,4}, - {0,1,1, 5,5}, - {0,1,0, 3,4}, + {0,1,1,0,4}, /* B */ + {0,1,1,5,5}, /* G */ + {0,1,0,3,4}, /* R */ }, .flags = PIX_FMT_BE, }, @@ -183,7 +183,7 @@ .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,0,1,7,0}, + {0,0,1,7,0}, /* Y */ }, .flags = PIX_FMT_BITSTREAM, },