ws-video-codecs: codecs/Mpeg1 absorbed from mpeg1-luau e2e2898 (jsmpeg port, MIT: licenses/jsmpeg-MIT.txt + NOTICE); requires and headers, frameImage (yuv420p / rgba8 copies); IDCT kept (bit-identical to codecs/Dct islow in put mode, but MPEG adds residuals before clamping); tests/codecs/mpeg1.luau + tools/fixtures/mpeg1.py (base64 / zlib fixtures, 5.6 MB)
This commit is contained in:
1 parent
33a5a5b409
commit
2493b9db36
10 files changed
+2225
-1
No files matched your search
@@ -296,7 +296,7 @@ function Jpeg.decode(buf: buffer, off: number?, len: number?, opts: DecodeOption
|
||||
local truncated = img.meta.truncated or b.meta.truncated
|
||||
img = weave(img, b)
|
||||
img.meta.truncated = truncated
|
||||
img.meta.source.fields = 2
|
||||
(img.meta.source :: any).fields = 2
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user