go/src/image/jpeg/writer_test.go

var zigzag

func TestZigUnzig(t *testing.T) {}

var unscaledQuantInNaturalOrder

func TestUnscaledQuant(t *testing.T) {}

var testCase

func delta(u0, u1 uint32) int64 {}

func readPng(filename string) (image.Image, error) {}

func TestWriter(t *testing.T) {}

// TestWriteGrayscale tests that a grayscale images survives a round-trip
// through encode/decode cycle.
func TestWriteGrayscale(t *testing.T) {}

// averageDelta returns the average delta in RGB space. The two images must
// have the same bounds.
func averageDelta(m0, m1 image.Image) int64 {}

func TestEncodeYCbCr(t *testing.T) {}

func BenchmarkEncodeRGBA(b *testing.B) {}

func BenchmarkEncodeYCbCr(b *testing.B) {}