Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkYCbCrToRGB (0.7 sec)

  1. src/image/color/ycbcr_test.go

    	want := RGBA{0x7f, 0x00, 0x00, 0x7f}
    	if got != want {
    		t.Errorf("got %v, want %v", got, want)
    	}
    }
    
    var sink8 uint8
    var sink32 uint32
    
    func BenchmarkYCbCrToRGB(b *testing.B) {
    	// YCbCrToRGB does saturating arithmetic.
    	// Low, middle, and high values can take
    	// different paths through the generated code.
    	b.Run("0", func(b *testing.B) {
    		for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 07:51:17 UTC 2016
    - 7.3K bytes
    - Viewed (0)
Back to top