Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for YCbCrSubsampleRatio (0.29 sec)

  1. src/image/ycbcr.go

    package image
    
    import (
    	"image/color"
    )
    
    // YCbCrSubsampleRatio is the chroma subsample ratio used in a YCbCr image.
    type YCbCrSubsampleRatio int
    
    const (
    	YCbCrSubsampleRatio444 YCbCrSubsampleRatio = iota
    	YCbCrSubsampleRatio422
    	YCbCrSubsampleRatio420
    	YCbCrSubsampleRatio440
    	YCbCrSubsampleRatio411
    	YCbCrSubsampleRatio410
    )
    
    func (s YCbCrSubsampleRatio) String() string {
    	switch s {
    	case YCbCrSubsampleRatio444:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. src/image/ycbcr_test.go

    		Rect(7, 7, 8, 8),
    		Rect(7, 8, 8, 9),
    		Rect(8, 7, 9, 8),
    		Rect(8, 8, 9, 9),
    		Rect(7, 7, 17, 17),
    		Rect(8, 8, 17, 17),
    		Rect(9, 9, 17, 17),
    		Rect(10, 10, 17, 17),
    	}
    	subsampleRatios := []YCbCrSubsampleRatio{
    		YCbCrSubsampleRatio444,
    		YCbCrSubsampleRatio422,
    		YCbCrSubsampleRatio420,
    		YCbCrSubsampleRatio440,
    		YCbCrSubsampleRatio411,
    		YCbCrSubsampleRatio410,
    	}
    	deltas := []Point{
    		Pt(0, 0),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 26 00:14:16 UTC 2015
    - 3.3K bytes
    - Viewed (0)
  3. src/image/internal/imageutil/gen.go

    	y1 := r.Max.Y - dst.Rect.Min.Y
    	switch src.SubsampleRatio {
    `
    
    const post = `
    	default:
    		return false
    	}
    	return true
    }
    `
    
    const sratioCase = `
    	case image.YCbCrSubsampleRatio%s:
    		for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 {
    			dpix := dst.Pix[y*dst.Stride:]
    			yi := (sy-src.Rect.Min.Y)*src.YStride + (sp.X - src.Rect.Min.X)
    			%s
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  4. api/go1.6.txt

    pkg html/template, func IsTrue(interface{}) (bool, bool)
    pkg html/template, method (*Template) DefinedTemplates() string
    pkg image, func NewNYCbCrA(Rectangle, YCbCrSubsampleRatio) *NYCbCrA
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  5. src/image/jpeg/scan.go

    		d.img1 = m.SubImage(image.Rect(0, 0, d.width, d.height)).(*image.Gray)
    		return
    	}
    
    	h0 := d.comp[0].h
    	v0 := d.comp[0].v
    	hRatio := h0 / d.comp[1].h
    	vRatio := v0 / d.comp[1].v
    	var subsampleRatio image.YCbCrSubsampleRatio
    	switch hRatio<<4 | vRatio {
    	case 0x11:
    		subsampleRatio = image.YCbCrSubsampleRatio444
    	case 0x12:
    		subsampleRatio = image.YCbCrSubsampleRatio440
    	case 0x21:
    		subsampleRatio = image.YCbCrSubsampleRatio422
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg html/template, method (*Template) Option(...string) *Template
    pkg image, const YCbCrSubsampleRatio410 = 5
    pkg image, const YCbCrSubsampleRatio410 YCbCrSubsampleRatio
    pkg image, const YCbCrSubsampleRatio411 = 4
    pkg image, const YCbCrSubsampleRatio411 YCbCrSubsampleRatio
    pkg image, func NewCMYK(Rectangle) *CMYK
    pkg image, method (*CMYK) At(int, int) color.Color
    pkg image, method (*CMYK) Bounds() Rectangle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(Rectangle).RGBA64At", Method, 17},
    		{"(Rectangle).Size", Method, 0},
    		{"(Rectangle).String", Method, 0},
    		{"(Rectangle).Sub", Method, 0},
    		{"(Rectangle).Union", Method, 0},
    		{"(YCbCrSubsampleRatio).String", Method, 0},
    		{"Alpha", Type, 0},
    		{"Alpha.Pix", Field, 0},
    		{"Alpha.Rect", Field, 0},
    		{"Alpha.Stride", Field, 0},
    		{"Alpha16", Type, 0},
    		{"Alpha16.Pix", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg html/template, type JSStr string
    pkg html/template, type Template struct
    pkg html/template, type URL string
    pkg image, const YCbCrSubsampleRatio420 YCbCrSubsampleRatio
    pkg image, const YCbCrSubsampleRatio422 YCbCrSubsampleRatio
    pkg image, const YCbCrSubsampleRatio444 YCbCrSubsampleRatio
    pkg image, func Decode(io.Reader) (Image, string, error)
    pkg image, func DecodeConfig(io.Reader) (Config, string, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg html/template, const OK = 0
    pkg image, const YCbCrSubsampleRatio420 = 2
    pkg image, const YCbCrSubsampleRatio422 = 1
    pkg image, const YCbCrSubsampleRatio440 = 3
    pkg image, const YCbCrSubsampleRatio440 YCbCrSubsampleRatio
    pkg image, const YCbCrSubsampleRatio444 = 0
    pkg image/draw, const Over = 0
    pkg image/draw, const Src = 1
    pkg image/jpeg, const DefaultQuality = 75
    pkg io, type ByteWriter interface { WriteByte }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top