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
43af264d
Commit
43af264d
authored
Nov 26, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg4videodec: move mpeg4-specific bug workaround variables from MpegEncContext to Mpeg4DecContext
parent
e2ceb176
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
60 deletions
+62
-60
mpeg4video.h
libavcodec/mpeg4video.h
+6
-0
mpeg4videodec.c
libavcodec/mpeg4videodec.c
+56
-53
mpegvideo.h
libavcodec/mpegvideo.h
+0
-7
No files found.
libavcodec/mpeg4video.h
View file @
43af264d
...
@@ -70,6 +70,12 @@ typedef struct Mpeg4DecContext {
...
@@ -70,6 +70,12 @@ typedef struct Mpeg4DecContext {
int
rvlc
;
int
rvlc
;
///< could this stream contain resync markers
///< could this stream contain resync markers
int
resync_marker
;
int
resync_marker
;
/* bug workarounds */
int
divx_version
;
int
divx_build
;
int
xvid_build
;
int
lavc_build
;
}
Mpeg4DecContext
;
}
Mpeg4DecContext
;
/* dc encoding for mpeg4 */
/* dc encoding for mpeg4 */
...
...
libavcodec/mpeg4videodec.c
View file @
43af264d
This diff is collapsed.
Click to expand it.
libavcodec/mpegvideo.h
View file @
43af264d
...
@@ -614,18 +614,11 @@ typedef struct MpegEncContext {
...
@@ -614,18 +614,11 @@ typedef struct MpegEncContext {
int
cplx_estimation_trash_b
;
int
cplx_estimation_trash_b
;
/* divx specific, used to workaround (many) bugs in divx5 */
/* divx specific, used to workaround (many) bugs in divx5 */
int
divx_version
;
int
divx_build
;
int
divx_packed
;
int
divx_packed
;
uint8_t
*
bitstream_buffer
;
//Divx 5.01 puts several frames in a single one, this is used to reorder them
uint8_t
*
bitstream_buffer
;
//Divx 5.01 puts several frames in a single one, this is used to reorder them
int
bitstream_buffer_size
;
int
bitstream_buffer_size
;
unsigned
int
allocated_bitstream_buffer_size
;
unsigned
int
allocated_bitstream_buffer_size
;
int
xvid_build
;
/* lavc specific stuff, used to workaround bugs in libavcodec */
int
lavc_build
;
/* RV10 specific */
/* RV10 specific */
int
rv10_version
;
///< RV10 version: 0 or 3
int
rv10_version
;
///< RV10 version: 0 or 3
int
rv10_first_dc_coded
[
3
];
int
rv10_first_dc_coded
[
3
];
...
...
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