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
fb364ada
Commit
fb364ada
authored
Jul 26, 2003
by
Ivan Kalvachev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial XvMC support
Originally committed as revision 2087 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
7fade368
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
avcodec.h
libavcodec/avcodec.h
+13
-2
No files found.
libavcodec/avcodec.h
View file @
fb364ada
...
...
@@ -15,14 +15,15 @@ extern "C" {
#define LIBAVCODEC_VERSION_INT 0x000406
#define LIBAVCODEC_VERSION "0.4.6"
#define LIBAVCODEC_BUILD 467
1
#define LIBAVCODEC_BUILD_STR "467
1
"
#define LIBAVCODEC_BUILD 467
2
#define LIBAVCODEC_BUILD_STR "467
2
"
#define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR
enum
CodecID
{
CODEC_ID_NONE
,
CODEC_ID_MPEG1VIDEO
,
CODEC_ID_MPEG2VIDEO_XVMC
,
CODEC_ID_H263
,
CODEC_ID_RV10
,
CODEC_ID_MP2
,
...
...
@@ -113,6 +114,8 @@ enum PixelFormat {
PIX_FMT_YUVJ420P
,
///< Planar YUV 4:2:0 full scale (jpeg)
PIX_FMT_YUVJ422P
,
///< Planar YUV 4:2:2 full scale (jpeg)
PIX_FMT_YUVJ444P
,
///< Planar YUV 4:4:4 full scale (jpeg)
PIX_FMT_XVMC_MPEG2_MC
,
///< XVideo Motion Acceleration via common packet passing(xvmc_render.h)
PIX_FMT_XVMC_MPEG2_IDCT
,
PIX_FMT_NB
,
};
...
...
@@ -1163,6 +1166,13 @@ typedef struct AVCodecContext {
#define SLICE_FLAG_ALLOW_FIELD 0x0002 ///< allow draw_horiz_band() with field slices (MPEG2 field pics)
#define SLICE_FLAG_ALLOW_PLANE 0x0004 ///< allow draw_horiz_band() with 1 component at a time (SVQ1)
/**
* XVideo Motion Acceleration
* - encoding: forbidden
* - decoding: set by decoder
*/
int
xvmc_acceleration
;
}
AVCodecContext
;
...
...
@@ -1269,6 +1279,7 @@ extern AVCodec msmpeg4v3_decoder;
extern
AVCodec
wmv1_decoder
;
extern
AVCodec
wmv2_decoder
;
extern
AVCodec
mpeg_decoder
;
extern
AVCodec
mpeg_xvmc_decoder
;
extern
AVCodec
h263i_decoder
;
extern
AVCodec
flv_decoder
;
extern
AVCodec
rv10_decoder
;
...
...
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