/prebuilts/go/darwin-x86/src/image/ |
ycbcr.go | 11 // YCbCrSubsampleRatio is the chroma subsample ratio used in a YCbCr image. 41 // YCbCr is an in-memory image of Y'CbCr colors. There is one Y sample per 54 type YCbCr struct { 62 func (p *YCbCr) ColorModel() color.Model { 66 func (p *YCbCr) Bounds() Rectangle { 70 func (p *YCbCr) At(x, y int) color.Color { 74 func (p *YCbCr) YCbCrAt(x, y int) color.YCbCr { 76 return color.YCbCr{} 80 return color.YCbCr{ [all...] |
ycbcr_test.go | 62 // Create a YCbCr image m, whose bounds are r translated by (delta.X, delta.Y). 91 sub := m.SubImage(subRect).(*YCbCr) 96 color0 := m.At(x, y).(color.YCbCr) 97 color1 := sub.At(x, y).(color.YCbCr)
|
/prebuilts/go/linux-x86/src/image/ |
ycbcr.go | 11 // YCbCrSubsampleRatio is the chroma subsample ratio used in a YCbCr image. 41 // YCbCr is an in-memory image of Y'CbCr colors. There is one Y sample per 54 type YCbCr struct { 62 func (p *YCbCr) ColorModel() color.Model { 66 func (p *YCbCr) Bounds() Rectangle { 70 func (p *YCbCr) At(x, y int) color.Color { 74 func (p *YCbCr) YCbCrAt(x, y int) color.YCbCr { 76 return color.YCbCr{} 80 return color.YCbCr{ [all...] |
ycbcr_test.go | 62 // Create a YCbCr image m, whose bounds are r translated by (delta.X, delta.Y). 91 sub := m.SubImage(subRect).(*YCbCr) 96 color0 := m.At(x, y).(color.YCbCr) 97 color1 := sub.At(x, y).(color.YCbCr)
|
/prebuilts/go/darwin-x86/src/image/color/ |
ycbcr_test.go | 29 // TestYCbCrRoundtrip tests that a subset of RGB space can be converted to YCbCr 54 x := YCbCr{uint8(y), uint8(cb), uint8(cr)} 67 // TestYCbCrGray tests that YCbCr colors are a superset of Gray colors. 70 c0 := YCbCr{uint8(i), 0x80, 0x80} 81 c0 := NYCbCrA{YCbCr{0xff, 0x80, 0x80}, uint8(i)} 89 // TestNYCbCrAYCbCr tests that NYCbCrA colors are a superset of YCbCr colors. 92 c0 := NYCbCrA{YCbCr{uint8(i), 0x40, 0xc0}, 0xff} 93 c1 := YCbCr{uint8(i), 0x40, 0xc0} 225 c := YCbCr{0, 0, 0} 231 c := YCbCr{128, 128, 128 [all...] |
ycbcr.go | 106 // YCbCr represents a fully opaque 24-bit Y'CbCr color, having 8 bits each for 117 type YCbCr struct { 121 func (c YCbCr) RGBA() (uint32, uint32, uint32, uint32) { 124 // subtle difference between doing this and having YCbCr satisfy the Color 131 // r0, g0, b0, _ := color.YCbCr{y, cb, cr}.RGBA() 182 if _, ok := c.(YCbCr); ok { 187 return YCbCr{y, u, v} 193 YCbCr 198 // The first part of this method is the same as YCbCr.RGBA. 248 case YCbCr [all...] |
/prebuilts/go/linux-x86/src/image/color/ |
ycbcr_test.go | 29 // TestYCbCrRoundtrip tests that a subset of RGB space can be converted to YCbCr 54 x := YCbCr{uint8(y), uint8(cb), uint8(cr)} 67 // TestYCbCrGray tests that YCbCr colors are a superset of Gray colors. 70 c0 := YCbCr{uint8(i), 0x80, 0x80} 81 c0 := NYCbCrA{YCbCr{0xff, 0x80, 0x80}, uint8(i)} 89 // TestNYCbCrAYCbCr tests that NYCbCrA colors are a superset of YCbCr colors. 92 c0 := NYCbCrA{YCbCr{uint8(i), 0x40, 0xc0}, 0xff} 93 c1 := YCbCr{uint8(i), 0x40, 0xc0} 225 c := YCbCr{0, 0, 0} 231 c := YCbCr{128, 128, 128 [all...] |
ycbcr.go | 106 // YCbCr represents a fully opaque 24-bit Y'CbCr color, having 8 bits each for 117 type YCbCr struct { 121 func (c YCbCr) RGBA() (uint32, uint32, uint32, uint32) { 124 // subtle difference between doing this and having YCbCr satisfy the Color 131 // r0, g0, b0, _ := color.YCbCr{y, cb, cr}.RGBA() 182 if _, ok := c.(YCbCr); ok { 187 return YCbCr{y, u, v} 193 YCbCr 198 // The first part of this method is the same as YCbCr.RGBA. 248 case YCbCr [all...] |
/external/mesa3d/docs/ |
MESA_ycbcr_texture.spec | 34 This extension supports texture images stored in the YCbCr format. 35 There is no support for converting YCbCr images to RGB or vice versa 36 during pixel transfer. The texture's YCbCr colors are converted to 41 A YCbCr pixel (texel) is a 16-bit unsigned short with two components. 120 indicate that the image data is in YCbCr format. type must 127 YCbCr, not RGB. Queries of the texture's red, green and blue component 128 sizes will return zero. The YCbCr colors are converted to RGB during 201 3 September 2003 - further clarify when YCbCr->RGB conversion takes place
|
/prebuilts/go/darwin-x86/src/encoding/json/ |
example_test.go | 187 type YCbCr struct { 194 {"Space": "YCbCr", "Point": {"Y": 255, "Cb": 0, "Cr": -10}}, 208 case "YCbCr": 209 dst = new(YCbCr) 218 // YCbCr &{255 0 -10}
|
/prebuilts/go/linux-x86/src/encoding/json/ |
example_test.go | 187 type YCbCr struct { 194 {"Space": "YCbCr", "Point": {"Y": 255, "Cb": 0, "Cr": -10}}, 208 case "YCbCr": 209 dst = new(YCbCr) 218 // YCbCr &{255 0 -10}
|
/external/clang/test/SemaCXX/ |
crashes.cpp | 128 cc_YCbCr YCbCr(); 137 cc_YCbCr cc_hsl::YCbCr()
|
/prebuilts/go/darwin-x86/src/cmd/vet/internal/whitelist/ |
whitelist.go | 22 "image/color.YCbCr": true,
|
/prebuilts/go/linux-x86/src/cmd/vet/internal/whitelist/ |
whitelist.go | 22 "image/color.YCbCr": true,
|
/external/ImageMagick/tests/ |
cli-colorspace.tap | 118 test_color YCbCr sRGB && echo "ok" || echo "not ok"
|
/prebuilts/go/darwin-x86/src/image/internal/imageutil/ |
gen.go | 52 // DrawYCbCr draws the YCbCr source image on the RGBA destination image with 59 func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool) { 70 // func (src *YCbCr) CopyToRGBA(dst *RGBA, dr, sr Rectangle) (effectiveDr, effectiveSr Rectangle) 97 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB.
|
impl.go | 9 // DrawYCbCr draws the YCbCr source image on the RGBA destination image with 16 func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool) { 27 // func (src *YCbCr) CopyToRGBA(dst *RGBA, dr, sr Rectangle) (effectiveDr, effectiveSr Rectangle) 46 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB. 103 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB. 160 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB. 216 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB.
|
/prebuilts/go/linux-x86/src/image/internal/imageutil/ |
gen.go | 52 // DrawYCbCr draws the YCbCr source image on the RGBA destination image with 59 func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool) { 70 // func (src *YCbCr) CopyToRGBA(dst *RGBA, dr, sr Rectangle) (effectiveDr, effectiveSr Rectangle) 97 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB.
|
impl.go | 9 // DrawYCbCr draws the YCbCr source image on the RGBA destination image with 16 func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool) { 27 // func (src *YCbCr) CopyToRGBA(dst *RGBA, dr, sr Rectangle) (effectiveDr, effectiveSr Rectangle) 46 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB. 103 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB. 160 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB. 216 // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB.
|
/prebuilts/go/darwin-x86/src/image/draw/ |
draw_test.go | 60 m := &image.YCbCr{ 160 // Uniform mask (100%, 75%, nil) and variable YCbCr source. 163 // The source pixel is {0, 0, 136} in YCbCr-space, which is {11, 38, 0, 255} in RGB-space. 164 {"ycbcr", vgradCr(), fillAlpha(255), Over, color.RGBA{11, 38, 0, 255}},
|
/prebuilts/go/darwin-x86/src/image/jpeg/ |
reader_test.go | 22 // versions of the same image result in exactly the same pixel data, in YCbCr 59 case *image.YCbCr: 60 m1 := m1.(*image.YCbCr)
|
reader.go | 125 img3 *image.YCbCr 305 case 6 + 3*3: // YCbCr or RGB image. 364 // For YCbCr images, we only support 4:4:4, 4:4:0, 4:2:2, 4:2:0, 681 // Convert the YCbCr part of the YCbCrK to RGB, invert the RGB to get 742 // says that 0 means Unknown (and in practice RGB) and 1 means YCbCr.
|
/prebuilts/go/linux-x86/src/image/draw/ |
draw_test.go | 60 m := &image.YCbCr{ 160 // Uniform mask (100%, 75%, nil) and variable YCbCr source. 163 // The source pixel is {0, 0, 136} in YCbCr-space, which is {11, 38, 0, 255} in RGB-space. 164 {"ycbcr", vgradCr(), fillAlpha(255), Over, color.RGBA{11, 38, 0, 255}},
|
/prebuilts/go/linux-x86/src/image/jpeg/ |
reader_test.go | 22 // versions of the same image result in exactly the same pixel data, in YCbCr 59 case *image.YCbCr: 60 m1 := m1.(*image.YCbCr)
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
dxvahd.h | 47 DXVAHD_COLOR_YCbCrA YCbCr; 51 WINBOOL YCbCr;
|