diff options
| author | Nigel Tao <nigeltao@golang.org> | 2015-02-26 11:35:20 +1100 |
|---|---|---|
| committer | Nigel Tao <nigeltao@golang.org> | 2015-02-26 02:08:45 +0000 |
| commit | a32dd832530a176b5b45f06c3a97f52383227480 (patch) | |
| tree | c0ab5641828633d8866f457558b2abe3d197c342 /src/runtime | |
| parent | 9f4c25e2236617c27e5b430c774b4d9c4b86ba1b (diff) | |
| download | go-a32dd832530a176b5b45f06c3a97f52383227480.tar.xz | |
image/jpeg: support 4:1:1 and 4:1:0 chroma subsampling.
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/6041
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
