Fix scaling spatial std on output width

This commit is contained in:
Steven Robertson 2012-01-31 12:10:15 -05:00
parent 6fba14e2f7
commit c01d52ba24

View File

@ -372,7 +372,7 @@ class Filtering(HunkOCode):
dstd=1.5, dpow=0.8, gspeed=4.0): dstd=1.5, dpow=0.8, gspeed=4.0):
# Scale spatial parameter so that a "pixel" is equivalent to an # Scale spatial parameter so that a "pixel" is equivalent to an
# actual pixel at 1080p # actual pixel at 1080p
sstd *= 1920. / dim.w sstd *= dim.w / 1920.
tref.set_address_2d(bsrc, dsc, sb) tref.set_address_2d(bsrc, dsc, sb)