]> Cypherpunks repositories - gostls13.git/commit
image/jpeg: support chroma hv values other than 0x11.
authorNigel Tao <nigeltao@golang.org>
Tue, 10 Mar 2015 08:01:44 +0000 (19:01 +1100)
committerNigel Tao <nigeltao@golang.org>
Wed, 11 Mar 2015 00:10:09 +0000 (00:10 +0000)
commit782db7fc883e3ae409b27f7b77b135d8eee81c69
treedb3dd404c69c7911ca4b35b4d146dc897b080bbf
parent532bc5f11ca47cdcdf96128800685f0b214f801c
image/jpeg: support chroma hv values other than 0x11.

The testdata was generated by:
convert video-001.png tmp1.tga
cjpeg -quality 100 -sample 2x2,1x2,1x2 tmp1.tga > video-001.221212.jpeg
djpeg -nosmooth -targa video-001.221212.jpeg > tmp2.tga
convert tmp2.tga video-001.221212.png
rm tmp1.tga tmp2.tga

Change-Id: Ica241dfc19b3eb47ade150bf0432373c6006c38a
Reviewed-on: https://go-review.googlesource.com/7264
Reviewed-by: Rob Pike <r@golang.org>
src/image/decode_test.go
src/image/jpeg/reader.go
src/image/jpeg/scan.go
src/image/testdata/video-001.221212.jpeg [new file with mode: 0644]
src/image/testdata/video-001.221212.png [new file with mode: 0644]