Move transcoder to new location

This commit is contained in:
kris 2019-03-21 16:10:16 +00:00
parent 4ae5e7a153
commit bbfcacd674
11 changed files with 7 additions and 17 deletions

View File

@ -2,8 +2,7 @@
import argparse import argparse
import movie from transcoder import movie
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description='Transcode videos to ][Vision format.') description='Transcode videos to ][Vision format.')

View File

@ -2,9 +2,7 @@
from typing import Iterable, Iterator from typing import Iterable, Iterator
import audio from transcoder import video, opcodes, audio
import opcodes
import video
class Movie: class Movie:

View File

@ -2,8 +2,7 @@ import enum
import numpy as np import numpy as np
from typing import Iterator, Tuple from typing import Iterator, Tuple
import screen from transcoder import screen, symbol_table
import symbol_table
class CycleCounter: class CycleCounter:

View File

@ -1,6 +1,6 @@
import unittest import unittest
import opcodes from transcoder import opcodes
class TestOpcodes(unittest.TestCase): class TestOpcodes(unittest.TestCase):

View File

@ -1,7 +1,7 @@
import io import io
import unittest import unittest
import symbol_table from transcoder import symbol_table
DEBUG_FILE = """ DEBUG_FILE = """
version major=2,minor=0 version major=2,minor=0

View File

@ -12,9 +12,7 @@ from PIL import Image
import numpy as np import numpy as np
import skvideo.io import skvideo.io
import edit_distance from transcoder import opcodes, screen, edit_distance
import opcodes
import screen
class Video: class Video:

View File

@ -1,10 +1,6 @@
import unittest import unittest
import numpy as np from transcoder import video
import opcodes
import screen
import video
class TestHammingWeight(unittest.TestCase): class TestHammingWeight(unittest.TestCase):