Exemple #1
0
def test_roundtrip():
    for encoding in ("vp8", "vp9"):
        print("")
        print("test_roundtrip() %s" % encoding)
        for populate in (True, False):
            do_test_codec_roundtrip(Encoder, Decoder, encoding, "YUV420P", 640,
                                    480, populate)
Exemple #2
0
def test_roundtrip():
    for encoding in ("vp8", "vp9"):
        print("")
        print("test_roundtrip() %s" % encoding)
        for populate in (True, False):
            src_formats = vpx_encoder.get_input_colorspaces(encoding)       #@UndefinedVariable
            print("test_roundtrip() src_formats(%s)=%s" % (encoding, src_formats))
            for src_format in src_formats:
                do_test_codec_roundtrip(Encoder, Decoder, encoding, src_format, [src_format], 640, 480, populate)
Exemple #3
0
def test_roundtrip():
    for encoding in ("vp8", "vp9"):
        print("")
        print("test_roundtrip() %s" % encoding)
        for populate in (True, False):
            src_formats = vpx_encoder.get_input_colorspaces(encoding)
            print("test_roundtrip() src_formats(%s)=%s" % (encoding, src_formats))
            for src_format in src_formats:
                do_test_codec_roundtrip(Encoder, Decoder, encoding, src_format, [src_format], 640, 480, populate)
Exemple #4
0
def test_roundtrip():
    for encoding in ("vp8", "vp9"):
        print("")
        print("test_roundtrip() %s" % encoding)
        for populate in (True, False):
            do_test_codec_roundtrip(Encoder, Decoder, encoding, "YUV420P", 640, 480, populate)