Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
1b6d6674
Commit
1b6d6674
authored
Mar 26, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split MPEG-1/2 decoder code off from MPEG-1/2 common code
parent
eee2000b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2535 additions
and
2481 deletions
+2535
-2481
Makefile
libavcodec/Makefile
+4
-4
mpeg12.c
libavcodec/mpeg12.c
+59
-2477
mpeg12.h
libavcodec/mpeg12.h
+11
-0
mpeg12dec.c
libavcodec/mpeg12dec.c
+2461
-0
No files found.
libavcodec/Makefile
View file @
1b6d6674
...
...
@@ -157,8 +157,8 @@ OBJS-$(CONFIG_EAMAD_DECODER) += eamad.o eaidct.o mpeg12.o \
mpeg12data.o
OBJS-$(CONFIG_EATGQ_DECODER)
+=
eatgq.o
eaidct.o
OBJS-$(CONFIG_EATGV_DECODER)
+=
eatgv.o
OBJS-$(CONFIG_EATQI_DECODER)
+=
eatqi.o
eaidct.o
mpeg12
.o
\
mpeg12data.o
OBJS-$(CONFIG_EATQI_DECODER)
+=
eatqi.o
eaidct.o
mpeg12
dec.o
\
mpeg12
.o
mpeg12
data.o
OBJS-$(CONFIG_EIGHTBPS_DECODER)
+=
8bps.o
OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)
+=
8svx.o
OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER)
+=
8svx.o
...
...
@@ -240,9 +240,9 @@ OBJS-$(CONFIG_MP3ON4FLOAT_DECODER) += mpegaudiodec_float.o mpeg4audio.o
OBJS-$(CONFIG_MPC7_DECODER)
+=
mpc7.o
mpc.o
OBJS-$(CONFIG_MPC8_DECODER)
+=
mpc8.o
mpc.o
OBJS-$(CONFIG_MPEG_XVMC_DECODER)
+=
mpegvideo_xvmc.o
OBJS-$(CONFIG_MPEG1VIDEO_DECODER)
+=
mpeg12.o
mpeg12data.o
OBJS-$(CONFIG_MPEG1VIDEO_DECODER)
+=
mpeg12
dec.o
mpeg12
.o
mpeg12data.o
OBJS-$(CONFIG_MPEG1VIDEO_ENCODER)
+=
mpeg12enc.o
mpeg12.o
OBJS-$(CONFIG_MPEG2VIDEO_DECODER)
+=
mpeg12.o
mpeg12data.o
OBJS-$(CONFIG_MPEG2VIDEO_DECODER)
+=
mpeg12
dec.o
mpeg12
.o
mpeg12data.o
OBJS-$(CONFIG_MPEG2VIDEO_ENCODER)
+=
mpeg12enc.o
mpeg12.o
OBJS-$(CONFIG_MSMPEG4V1_DECODER)
+=
msmpeg4.o
msmpeg4data.o
OBJS-$(CONFIG_MSMPEG4V2_DECODER)
+=
msmpeg4.o
msmpeg4data.o
h263dec.o
\
...
...
libavcodec/mpeg12.c
View file @
1b6d6674
This diff is collapsed.
Click to expand it.
libavcodec/mpeg12.h
View file @
1b6d6674
...
...
@@ -25,10 +25,21 @@
#include "mpegvideo.h"
#define DC_VLC_BITS 9
#define MV_VLC_BITS 9
#define TEX_VLC_BITS 9
#define MBINCR_VLC_BITS 9
#define MB_PAT_VLC_BITS 9
#define MB_PTYPE_VLC_BITS 6
#define MB_BTYPE_VLC_BITS 6
extern
VLC
ff_dc_lum_vlc
;
extern
VLC
ff_dc_chroma_vlc
;
extern
VLC
ff_mbincr_vlc
;
extern
VLC
ff_mb_ptype_vlc
;
extern
VLC
ff_mb_btype_vlc
;
extern
VLC
ff_mb_pat_vlc
;
extern
VLC
ff_mv_vlc
;
typedef
struct
Mpeg1Context
{
MpegEncContext
mpeg_enc_ctx
;
...
...
libavcodec/mpeg12dec.c
0 → 100644
View file @
1b6d6674
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment