Mercurial > mplayer.hg
view tests/refupdate.sh @ 35148:89660feadcce
Add necessary checks to the vd_hmblck input.
The code assumes the input image contains whole macroblocks (16x16).
Since same thing applies to the downsampled chroma channels,
the final requirement is the image to be multiple of 32.
Also, add explicit pixel format check at init.
author | iive |
---|---|
date | Thu, 11 Oct 2012 22:06:42 +0000 |
parents | 6dc79618ec0e |
children |
line wrap: on
line source
#!/bin/sh # updates all changed/new results in ref/ find res -name '*.bad' | while read bad_res ; do ref_file="ref/${bad_res#res/}" ref_file="${ref_file%.bad}" mkdir -p "$(dirname "$ref_file")" cp "$bad_res" "$ref_file" done