aboutsummaryrefslogtreecommitdiff
path: root/decoder.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoder.py')
-rw-r--r--decoder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder.py b/decoder.py
index b23d623..b5d198e 100644
--- a/decoder.py
+++ b/decoder.py
@@ -15,7 +15,7 @@ parser.add_argument("-s", "--size", help="number of bytes to decode", type=int)
parser.add_argument("-p", "--psize", help="packet size", type=int)
args = parser.parse_args()
-cheight = cwidth = max(args.height // 10, args.width // 10)
+cheight = cwidth = max(args.height // 15, args.width // 15)
frame_size = args.height * args.width - 4 * cheight * cwidth
frame_bytes = frame_size * 3 // 8
frame_xor = np.arange(frame_bytes, dtype=np.uint8)