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
2b324225
Commit
2b324225
authored
Jan 16, 2009
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mpeg1_vdpau decoder.
Originally committed as revision 16640 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
0c5a43d6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
+19
-0
configure
configure
+1
-0
Makefile
libavcodec/Makefile
+1
-0
allcodecs.c
libavcodec/allcodecs.c
+1
-0
mpeg12.c
libavcodec/mpeg12.c
+16
-0
No files found.
configure
View file @
2b324225
...
...
@@ -994,6 +994,7 @@ mpeg1video_encoder_select="aandct"
mpeg2video_encoder_select
=
"aandct"
mpeg4_encoder_select
=
"aandct"
mpeg_vdpau_decoder_deps
=
"vdpau"
mpeg1_vdpau_decoder_deps
=
"vdpau"
mpeg_xvmc_decoder_deps
=
"xvmc X11_extensions_XvMClib_h"
msmpeg4v1_encoder_select
=
"aandct"
msmpeg4v2_encoder_select
=
"aandct"
...
...
libavcodec/Makefile
View file @
2b324225
...
...
@@ -134,6 +134,7 @@ OBJS-$(CONFIG_MPC7_DECODER) += mpc7.o mpc.o mpegaudiodec.o mpegaudiod
OBJS-$(CONFIG_MPC8_DECODER)
+=
mpc8.o
mpc.o
mpegaudiodec.o
mpegaudiodecheader.o
mpegaudio.o
mpegaudiodata.o
OBJS-$(CONFIG_MDEC_DECODER)
+=
mdec.o
mpeg12.o
mpeg12data.o
mpegvideo.o
error_resilience.o
OBJS-$(CONFIG_MPEG_VDPAU_DECODER)
+=
vdpauvideo.o
mpeg12.o
mpeg12data.o
mpegvideo.o
error_resilience.o
OBJS-$(CONFIG_MPEG1_VDPAU_DECODER)
+=
vdpauvideo.o
mpeg12.o
mpeg12data.o
mpegvideo.o
error_resilience.o
OBJS-$(CONFIG_MPEGVIDEO_DECODER)
+=
mpeg12.o
mpeg12data.o
mpegvideo.o
error_resilience.o
OBJS-$(CONFIG_MPEG1VIDEO_DECODER)
+=
mpeg12.o
mpeg12data.o
mpegvideo.o
error_resilience.o
OBJS-$(CONFIG_MPEG1VIDEO_ENCODER)
+=
mpeg12enc.o
mpeg12data.o
mpegvideo_enc.o
motion_est.o
ratecontrol.o
mpeg12.o
mpeg12data.o
mpegvideo.o
error_resilience.o
...
...
libavcodec/allcodecs.c
View file @
2b324225
...
...
@@ -110,6 +110,7 @@ void avcodec_register_all(void)
REGISTER_ENCDEC
(
MPEG4
,
mpeg4
);
REGISTER_DECODER
(
MPEGVIDEO
,
mpegvideo
);
REGISTER_DECODER
(
MPEG_VDPAU
,
mpeg_vdpau
);
REGISTER_DECODER
(
MPEG1_VDPAU
,
mpeg1_vdpau
);
REGISTER_ENCDEC
(
MSMPEG4V1
,
msmpeg4v1
);
REGISTER_ENCDEC
(
MSMPEG4V2
,
msmpeg4v2
);
REGISTER_ENCDEC
(
MSMPEG4V3
,
msmpeg4v3
);
...
...
libavcodec/mpeg12.c
View file @
2b324225
...
...
@@ -2542,3 +2542,19 @@ AVCodec mpeg_vdpau_decoder = {
};
#endif
#if CONFIG_MPEG1_VDPAU_DECODER
AVCodec
mpeg1_vdpau_decoder
=
{
"mpeg1video_vdpau"
,
CODEC_TYPE_VIDEO
,
CODEC_ID_MPEG1VIDEO
,
sizeof
(
Mpeg1Context
),
mpeg_decode_init
,
NULL
,
mpeg_decode_end
,
mpeg_decode_frame
,
CODEC_CAP_DR1
|
CODEC_CAP_TRUNCATED
|
CODEC_CAP_HWACCEL_VDPAU
|
CODEC_CAP_DELAY
,
.
flush
=
ff_mpeg_flush
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"MPEG-1 video (VDPAU acceleration)"
),
};
#endif
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