• Nigel Tao's avatar
    image/jpeg: support 4:1:1 and 4:1:0 chroma subsampling. · a32dd832
    Nigel Tao authored
    The test data was generated by:
    convert video-001.png tmp.tga
    cjpeg -quality 50 -sample 4x2,1x1,1x1 tmp.tga > video-001.q50.410.jpeg
    cjpeg -quality 50 -sample 4x1,1x1,1x1 tmp.tga > video-001.q50.411.jpeg
    cjpeg -quality 50 -sample 4x2,1x1,1x1 -progressive tmp.tga > video-001.q50.410.progressive.jpeg
    cjpeg -quality 50 -sample 4x1,1x1,1x1 -progressive tmp.tga > video-001.q50.411.progressive.jpeg
    rm tmp.tga
    
    Change-Id: I5570389c462360f98c3160f3c6963d9466d511de
    Reviewed-on: https://go-review.googlesource.com/6041Reviewed-by: 's avatarRob Pike <r@golang.org>
    a32dd832
Name
Last commit
Last update
..
color Loading commit data...
draw Loading commit data...
gif Loading commit data...
jpeg Loading commit data...
png Loading commit data...
testdata Loading commit data...
decode_example_test.go Loading commit data...
decode_test.go Loading commit data...
format.go Loading commit data...
geom.go Loading commit data...
geom_test.go Loading commit data...
image.go Loading commit data...
image_test.go Loading commit data...
names.go Loading commit data...
ycbcr.go Loading commit data...
ycbcr_test.go Loading commit data...