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
2cfccd80
Commit
2cfccd80
authored
Dec 14, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/vc1: Factorize imode enum out / remove duplication
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ecb21d24
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
29 deletions
+15
-29
vc1.c
libavcodec/vc1.c
+0
-15
vc1.h
libavcodec/vc1.h
+15
-0
vc1dec.c
libavcodec/vc1dec.c
+0
-14
No files found.
libavcodec/vc1.c
View file @
2cfccd80
...
...
@@ -47,21 +47,6 @@
* @{
*/
/**
* Imode types
* @{
*/
enum
Imode
{
IMODE_RAW
,
IMODE_NORM2
,
IMODE_DIFF2
,
IMODE_NORM6
,
IMODE_DIFF6
,
IMODE_ROWSKIP
,
IMODE_COLSKIP
};
/** @} */
//imode defines
/** Decode rows by checking if they are skipped
* @param plane Buffer to store decoded bits
* @param[in] width Width of this buffer
...
...
libavcodec/vc1.h
View file @
2cfccd80
...
...
@@ -175,6 +175,21 @@ enum FrameCodingMode {
ILACE_FIELD
///< in the bitstream is reported as 11b
};
/**
* Imode types
* @{
*/
enum
Imode
{
IMODE_RAW
,
IMODE_NORM2
,
IMODE_DIFF2
,
IMODE_NORM6
,
IMODE_DIFF6
,
IMODE_ROWSKIP
,
IMODE_COLSKIP
};
/** @} */
//imode defines
/** The VC1 Context
* @todo Change size wherever another size is more efficient
* Many members are only used for Advanced Profile
...
...
libavcodec/vc1dec.c
View file @
2cfccd80
...
...
@@ -59,20 +59,6 @@ static const int offset_table2[9] = { 0, 1, 3, 7, 15, 31, 63, 127, 255 };
* @{
*/
/**
* Imode types
* @{
*/
enum
Imode
{
IMODE_RAW
,
IMODE_NORM2
,
IMODE_DIFF2
,
IMODE_NORM6
,
IMODE_DIFF6
,
IMODE_ROWSKIP
,
IMODE_COLSKIP
};
/** @} */
//imode defines
static
void
init_block_index
(
VC1Context
*
v
)
{
...
...
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