OSDN Git Service

implement sar using encode function.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 23 Jun 2010 01:13:24 +0000 (01:13 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 23 Jun 2010 01:13:24 +0000 (01:13 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@630 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/ts2x264.py

index ef487f5..f9a8e28 100644 (file)
@@ -636,13 +636,10 @@ def get_par_size(pin,y):
     print tSize
     tX=tSize[0]*10/tSize[1]*y
     tY=y
+    print tX
     if tX>int(tX/10)*10:
         tX=tX/10+1
     else:
         tX=tX/10
-    if tY>int(tY/10)*10:
-        tY=tY/10+1
-    else:
-        tY=tY/10
     print [tX,tY]
     return [tX,tY]
\ No newline at end of file