mirror of
https://github.com/KrisKennaway/ii-vision.git
synced 2024-12-21 05:30:20 +00:00
Move transcoder to new location
This commit is contained in:
parent
4ae5e7a153
commit
bbfcacd674
@ -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.')
|
@ -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:
|
@ -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:
|
@ -1,6 +1,6 @@
|
|||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
import opcodes
|
from transcoder import opcodes
|
||||||
|
|
||||||
|
|
||||||
class TestOpcodes(unittest.TestCase):
|
class TestOpcodes(unittest.TestCase):
|
@ -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
|
@ -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:
|
@ -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):
|
Loading…
Reference in New Issue
Block a user