Blame test/yuv-roundtrip.test
|
Packit |
78deda |
#! /bin/bash
|
|
Packit |
78deda |
# This script tests: ppmtoyuv yuvtoppm
|
|
Packit |
78deda |
# Also requires: pamgradient
|
|
Packit |
78deda |
|
|
Packit |
78deda |
|
|
Packit |
78deda |
# Should produce 1904478375 253455
|
|
Packit |
78deda |
|
|
Packit |
78deda |
pamgradient rgb:00/ff/ff rgb:ff/ff/00 \
|
|
Packit |
78deda |
rgb:ff/00/00 rgb:00/ff/00 352 240 | \
|
|
Packit |
78deda |
ppmtoyuv | yuvtoppm 352 240 | cksum
|