tests/codecs (m-z): comments: specs only
This commit is contained in:
1 parent
98b4ce533e
commit
a6732d45f2
23 files changed
+46
-177
No files matched your search
@@ -1,8 +1,4 @@
|
||||
-- codecs/image/Vp8 video tests: whole IVF streams through one decoder object, every shown frame bit-exact against ffmpeg's
|
||||
-- native vp8 decoder (yuv420p CRC32): the official VP8 test vectors (vp80-00-comprehensive-001..018 and others) and
|
||||
-- libvpx clips at many settings (alt-ref / hidden frames, golden, token partitions, error resilience, profiles 1-3,
|
||||
-- sharpness, segmentation, q extremes, short key frame intervals, motion off the frame, odd sizes). Also hidden
|
||||
-- frames, reset() and inter frames without a key frame, and the fuzz no-throw pass over damaged streams.
|
||||
-- codecs/image/Vp8 video tests: VP8 test vectors and libvpx IVF clips bit-exact against ffmpeg's vp8 (yuv420p CRC32).
|
||||
-- Fixtures: tools/fixtures/vp8video.py.
|
||||
local T = require("@tests/T")
|
||||
local Vp8 = require("@rosetta/codecs/image/Vp8")
|
||||
@@ -12,7 +8,6 @@ local Cases = require("@tests/gen/vp8video_cases")
|
||||
|
||||
local t = T.suite("vp8video")
|
||||
|
||||
-- the frames of an IVF file: { offset, length }
|
||||
local function ivfFrames(b: buffer): { { number } }
|
||||
local out = {}
|
||||
local p = buffer.readu16(b, 6) -- header length (32)
|
||||
@@ -110,7 +105,6 @@ do
|
||||
t:check(e3 and e3.code == Err.TRUNCATED, "truncated frame tag: " .. tostring(e3))
|
||||
end
|
||||
|
||||
-- fuzz: whole damaged streams through one decoder (truncated / mutated frames after valid ones)
|
||||
local function feed(b: buffer)
|
||||
local dec = Vp8.newDecoder()
|
||||
local any = false
|
||||
|
||||
Reference in new issue
Block a user