Mpeg1 is now the Mpeg2 module under its old name (core, tables and VLCs moved to Mpeg2/). Dsp.mc takes separate source / destination strides; Dsp.edge emulates edges. containers/MpegEs: field-picture pairs are one access unit (pictureStructure). Registry: mpeg1 and mpeg2 decode through Mpeg2.newVideoDecoder; more MPEG-2 FourCCs.
12 lines
511 B
Luau
12 lines
511 B
Luau
--!strict
|
|
-- codecs/video/Mpeg1: the MPEG-1 video decoder (ISO/IEC 11172-2), which is codecs/video/Mpeg2 (an MPEG-2 decoder
|
|
-- decodes MPEG-1 streams): this module keeps the old name and API (Mpeg1.new, frameImage, PICTURE_*, the Frame /
|
|
-- Options / Decoder types). Absorbed from mpeg1-luau e2e2898 (same author); see codecs/video/Mpeg2.
|
|
local Mpeg2 = require("@formats/codecs/video/Mpeg2")
|
|
|
|
export type Frame = Mpeg2.Frame
|
|
export type Options = Mpeg2.Options
|
|
export type Decoder = Mpeg2.Decoder
|
|
|
|
return Mpeg2
|