Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
1b6d6674
Commit
1b6d6674
authored
12 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
Split MPEG-1/2 decoder code off from MPEG-1/2 common code
parent
eee2000b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
libavcodec/Makefile
+4
-4
4 additions, 4 deletions
libavcodec/Makefile
libavcodec/mpeg12.c
+59
-2477
59 additions, 2477 deletions
libavcodec/mpeg12.c
libavcodec/mpeg12.h
+11
-0
11 additions, 0 deletions
libavcodec/mpeg12.h
libavcodec/mpeg12dec.c
+2461
-0
2461 additions, 0 deletions
libavcodec/mpeg12dec.c
with
2535 additions
and
2481 deletions
libavcodec/Makefile
+
4
−
4
View file @
1b6d6674
...
@@ -157,8 +157,8 @@ OBJS-$(CONFIG_EAMAD_DECODER) += eamad.o eaidct.o mpeg12.o \
...
@@ -157,8 +157,8 @@ OBJS-$(CONFIG_EAMAD_DECODER) += eamad.o eaidct.o mpeg12.o \
mpeg12data.o
mpeg12data.o
OBJS-$(CONFIG_EATGQ_DECODER)
+=
eatgq.o eaidct.o
OBJS-$(CONFIG_EATGQ_DECODER)
+=
eatgq.o eaidct.o
OBJS-$(CONFIG_EATGV_DECODER)
+=
eatgv.o
OBJS-$(CONFIG_EATGV_DECODER)
+=
eatgv.o
OBJS-$(CONFIG_EATQI_DECODER)
+=
eatqi.o eaidct.o mpeg12.o
\
OBJS-$(CONFIG_EATQI_DECODER)
+=
eatqi.o eaidct.o mpeg12
dec
.o
\
mpeg12data.o
mpeg12.o
mpeg12data.o
OBJS-$(CONFIG_EIGHTBPS_DECODER)
+=
8bps.o
OBJS-$(CONFIG_EIGHTBPS_DECODER)
+=
8bps.o
OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)
+=
8svx.o
OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)
+=
8svx.o
OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER)
+=
8svx.o
OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER)
+=
8svx.o
...
@@ -240,9 +240,9 @@ OBJS-$(CONFIG_MP3ON4FLOAT_DECODER) += mpegaudiodec_float.o mpeg4audio.o
...
@@ -240,9 +240,9 @@ OBJS-$(CONFIG_MP3ON4FLOAT_DECODER) += mpegaudiodec_float.o mpeg4audio.o
OBJS-$(CONFIG_MPC7_DECODER)
+=
mpc7.o mpc.o
OBJS-$(CONFIG_MPC7_DECODER)
+=
mpc7.o mpc.o
OBJS-$(CONFIG_MPC8_DECODER)
+=
mpc8.o mpc.o
OBJS-$(CONFIG_MPC8_DECODER)
+=
mpc8.o mpc.o
OBJS-$(CONFIG_MPEG_XVMC_DECODER)
+=
mpegvideo_xvmc.o
OBJS-$(CONFIG_MPEG_XVMC_DECODER)
+=
mpegvideo_xvmc.o
OBJS-$(CONFIG_MPEG1VIDEO_DECODER)
+=
mpeg12.o mpeg12data.o
OBJS-$(CONFIG_MPEG1VIDEO_DECODER)
+=
mpeg12dec.o
mpeg12.o mpeg12data.o
OBJS-$(CONFIG_MPEG1VIDEO_ENCODER)
+=
mpeg12enc.o mpeg12.o
OBJS-$(CONFIG_MPEG1VIDEO_ENCODER)
+=
mpeg12enc.o mpeg12.o
OBJS-$(CONFIG_MPEG2VIDEO_DECODER)
+=
mpeg12.o mpeg12data.o
OBJS-$(CONFIG_MPEG2VIDEO_DECODER)
+=
mpeg12dec.o
mpeg12.o mpeg12data.o
OBJS-$(CONFIG_MPEG2VIDEO_ENCODER)
+=
mpeg12enc.o mpeg12.o
OBJS-$(CONFIG_MPEG2VIDEO_ENCODER)
+=
mpeg12enc.o mpeg12.o
OBJS-$(CONFIG_MSMPEG4V1_DECODER)
+=
msmpeg4.o msmpeg4data.o
OBJS-$(CONFIG_MSMPEG4V1_DECODER)
+=
msmpeg4.o msmpeg4data.o
OBJS-$(CONFIG_MSMPEG4V2_DECODER)
+=
msmpeg4.o msmpeg4data.o h263dec.o
\
OBJS-$(CONFIG_MSMPEG4V2_DECODER)
+=
msmpeg4.o msmpeg4data.o h263dec.o
\
...
...
This diff is collapsed.
Click to expand it.
libavcodec/mpeg12.c
+
59
−
2477
View file @
1b6d6674
This diff is collapsed.
Click to expand it.
libavcodec/mpeg12.h
+
11
−
0
View file @
1b6d6674
...
@@ -25,10 +25,21 @@
...
@@ -25,10 +25,21 @@
#include
"mpegvideo.h"
#include
"mpegvideo.h"
#define DC_VLC_BITS 9
#define DC_VLC_BITS 9
#define MV_VLC_BITS 9
#define TEX_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_lum_vlc
;
extern
VLC
ff_dc_chroma_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
{
typedef
struct
Mpeg1Context
{
MpegEncContext
mpeg_enc_ctx
;
MpegEncContext
mpeg_enc_ctx
;
...
...
This diff is collapsed.
Click to expand it.
libavcodec/mpeg12dec.c
0 → 100644
+
2461
−
0
View file @
1b6d6674
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment