Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for YCbCrSubsampleRatio420 (0.76 sec)

  1. src/image/ycbcr.go

    	YCbCrSubsampleRatio422
    	YCbCrSubsampleRatio420
    	YCbCrSubsampleRatio440
    	YCbCrSubsampleRatio411
    	YCbCrSubsampleRatio410
    )
    
    func (s YCbCrSubsampleRatio) String() string {
    	switch s {
    	case YCbCrSubsampleRatio444:
    		return "YCbCrSubsampleRatio444"
    	case YCbCrSubsampleRatio422:
    		return "YCbCrSubsampleRatio422"
    	case YCbCrSubsampleRatio420:
    		return "YCbCrSubsampleRatio420"
    	case YCbCrSubsampleRatio440:
    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, 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),
    		Pt(1000, 1001),
    		Pt(5001, -400),
    		Pt(-701, -801),
    	}
    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/jpeg/writer_test.go

    	options := &Options{Quality: 90}
    	for i := 0; i < b.N; i++ {
    		Encode(io.Discard, img, options)
    	}
    }
    
    func BenchmarkEncodeYCbCr(b *testing.B) {
    	img := image.NewYCbCr(image.Rect(0, 0, 640, 480), image.YCbCrSubsampleRatio420)
    	bo := img.Bounds()
    	rnd := rand.New(rand.NewSource(123))
    	for y := bo.Min.Y; y < bo.Max.Y; y++ {
    		for x := bo.Min.X; x < bo.Max.X; x++ {
    			cy := img.YOffset(x, y)
    			ci := img.COffset(x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  4. src/image/internal/imageutil/impl.go

    				rgba := dpix[x : x+4 : len(dpix)]
    				rgba[0] = uint8(r)
    				rgba[1] = uint8(g)
    				rgba[2] = uint8(b)
    				rgba[3] = 255
    			}
    		}
    
    	case image.YCbCrSubsampleRatio420:
    		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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 17:50:11 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  5. src/image/jpeg/scan.go

    		subsampleRatio = image.YCbCrSubsampleRatio444
    	case 0x12:
    		subsampleRatio = image.YCbCrSubsampleRatio440
    	case 0x21:
    		subsampleRatio = image.YCbCrSubsampleRatio422
    	case 0x22:
    		subsampleRatio = image.YCbCrSubsampleRatio420
    	case 0x41:
    		subsampleRatio = image.YCbCrSubsampleRatio411
    	case 0x42:
    		subsampleRatio = image.YCbCrSubsampleRatio410
    	default:
    		panic("unreachable")
    	}
    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. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"YCbCr.Y", Field, 0},
    		{"YCbCr.YStride", Field, 0},
    		{"YCbCrSubsampleRatio", Type, 0},
    		{"YCbCrSubsampleRatio410", Const, 5},
    		{"YCbCrSubsampleRatio411", Const, 5},
    		{"YCbCrSubsampleRatio420", Const, 0},
    		{"YCbCrSubsampleRatio422", Const, 0},
    		{"YCbCrSubsampleRatio440", Const, 1},
    		{"YCbCrSubsampleRatio444", Const, 0},
    		{"ZP", Var, 0},
    		{"ZR", Var, 0},
    	},
    	"image/color": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg html/template, type HTMLAttr string
    pkg html/template, type JS string
    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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg html/template, const ErrPartialEscape = 8
    pkg html/template, const ErrRangeLoopReentry = 9
    pkg html/template, const ErrSlashAmbig = 10
    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
    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