From a188216f903731916d66d76ccbe3a475daa488c3 Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 25 Apr 2019 16:28:25 +0100 Subject: [PATCH] Add a video Mode enum. --- transcoder/video.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/transcoder/video.py b/transcoder/video.py index d51e659..4f8fbc5 100644 --- a/transcoder/video.py +++ b/transcoder/video.py @@ -1,5 +1,6 @@ """Encode a sequence of images as an optimized stream of screen changes.""" +import enum import heapq import os import queue @@ -18,6 +19,11 @@ import opcodes import screen +class Mode(enum.Enum): + HGR = 0 + DHGR = 1 + + class Video: """Apple II screen memory map encoding a bitmapped frame."""