Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NYCbCrA (0.17 sec)

  1. api/go1.6.txt

    pkg image, method (*NYCbCrA) AOffset(int, int) int
    pkg image, method (*NYCbCrA) At(int, int) color.Color
    pkg image, method (*NYCbCrA) Bounds() Rectangle
    pkg image, method (*NYCbCrA) COffset(int, int) int
    pkg image, method (*NYCbCrA) ColorModel() color.Model
    pkg image, method (*NYCbCrA) NYCbCrAAt(int, int) color.NYCbCrA
    pkg image, method (*NYCbCrA) Opaque() bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  2. src/image/ycbcr.go

    }
    
    func (p *NYCbCrA) RGBA64At(x, y int) color.RGBA64 {
    	r, g, b, a := p.NYCbCrAAt(x, y).RGBA()
    	return color.RGBA64{uint16(r), uint16(g), uint16(b), uint16(a)}
    }
    
    func (p *NYCbCrA) NYCbCrAAt(x, y int) color.NYCbCrA {
    	if !(Point{X: x, Y: y}.In(p.Rect)) {
    		return color.NYCbCrA{}
    	}
    	yi := p.YOffset(x, y)
    	ci := p.COffset(x, y)
    	ai := p.AOffset(x, y)
    	return color.NYCbCrA{
    		color.YCbCr{
    			Y:  p.Y[yi],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. src/image/color/ycbcr_test.go

    		}
    	}
    }
    
    // TestNYCbCrAAlpha tests that NYCbCrA colors are a superset of Alpha colors.
    func TestNYCbCrAAlpha(t *testing.T) {
    	for i := 0; i < 256; i++ {
    		c0 := NYCbCrA{YCbCr{0xff, 0x80, 0x80}, uint8(i)}
    		c1 := Alpha{uint8(i)}
    		if err := eq(c0, c1); err != nil {
    			t.Errorf("i=0x%02x:\n%v", i, err)
    		}
    	}
    }
    
    // TestNYCbCrAYCbCr tests that NYCbCrA colors are a superset of YCbCr colors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 07:51:17 UTC 2016
    - 7.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/whitelist.go

    	"image/color.Alpha":   true,
    	"image/color.CMYK":    true,
    	"image/color.Gray16":  true,
    	"image/color.Gray":    true,
    	"image/color.NRGBA64": true,
    	"image/color.NRGBA":   true,
    	"image/color.NYCbCrA": true,
    	"image/color.RGBA64":  true,
    	"image/color.RGBA":    true,
    	"image/color.YCbCr":   true,
    	"image.Point":         true,
    	"image.Rectangle":     true,
    	"image.Uniform":       true,
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 00:08:36 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. src/image/color/ycbcr.go

    	y, u, v := RGBToYCbCr(uint8(r>>8), uint8(g>>8), uint8(b>>8))
    	return YCbCr{y, u, v}
    }
    
    // NYCbCrA represents a non-alpha-premultiplied Y'CbCr-with-alpha color, having
    // 8 bits each for one luma, two chroma and one alpha component.
    type NYCbCrA struct {
    	YCbCr
    	A uint8
    }
    
    func (c NYCbCrA) RGBA() (uint32, uint32, uint32, uint32) {
    	// The first part of this method is the same as YCbCr.RGBA.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  6. src/image/image_test.go

    		{"CMYK", func(r Rectangle) { NewCMYK(r) }},
    		{"Paletted", func(r Rectangle) { NewPaletted(r, color.Palette{color.Black, color.White}) }},
    		{"YCbCr", func(r Rectangle) { NewYCbCr(r, YCbCrSubsampleRatio422) }},
    		{"NYCbCrA", func(r Rectangle) { NewNYCbCrA(r, YCbCrSubsampleRatio444) }},
    	}
    
    	for _, tc := range testCases {
    		// Calling NewXxx(r) should fail (panic, since NewXxx doesn't return an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 30 02:00:49 UTC 2021
    - 10.8K bytes
    - Viewed (0)
  7. api/go1.17.txt

    pkg image, method (*NRGBA) SetRGBA64(int, int, color.RGBA64)
    pkg image, method (*NRGBA64) RGBA64At(int, int) color.RGBA64
    pkg image, method (*NRGBA64) SetRGBA64(int, int, color.RGBA64)
    pkg image, method (*NYCbCrA) RGBA64At(int, int) color.RGBA64
    pkg image, method (*Paletted) RGBA64At(int, int) color.RGBA64
    pkg image, method (*Paletted) SetRGBA64(int, int, color.RGBA64)
    pkg image, method (*RGBA) RGBA64At(int, int) color.RGBA64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*NRGBA64).SubImage", Method, 0},
    		{"(*NYCbCrA).AOffset", Method, 6},
    		{"(*NYCbCrA).At", Method, 6},
    		{"(*NYCbCrA).Bounds", Method, 6},
    		{"(*NYCbCrA).COffset", Method, 6},
    		{"(*NYCbCrA).ColorModel", Method, 6},
    		{"(*NYCbCrA).NYCbCrAAt", Method, 6},
    		{"(*NYCbCrA).Opaque", Method, 6},
    		{"(*NYCbCrA).RGBA64At", Method, 17},
    		{"(*NYCbCrA).SubImage", Method, 6},
    		{"(*NYCbCrA).YCbCrAt", Method, 6},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top