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
7e5cdb5b
Commit
7e5cdb5b
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const
Originally committed as revision 11791 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
74dc7448
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
vp5.c
libavcodec/vp5.c
+1
-1
vp56.c
libavcodec/vp56.c
+1
-1
vp56.h
libavcodec/vp56.h
+4
-4
vp6.c
libavcodec/vp6.c
+1
-1
No files found.
libavcodec/vp5.c
View file @
7e5cdb5b
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#include "vp5data.h"
#include "vp5data.h"
static
int
vp5_parse_header
(
vp56_context_t
*
s
,
uint8_t
*
buf
,
int
buf_size
,
static
int
vp5_parse_header
(
vp56_context_t
*
s
,
const
uint8_t
*
buf
,
int
buf_size
,
int
*
golden_frame
)
int
*
golden_frame
)
{
{
vp56_range_coder_t
*
c
=
&
s
->
c
;
vp56_range_coder_t
*
c
=
&
s
->
c
;
...
...
libavcodec/vp56.c
View file @
7e5cdb5b
...
@@ -495,7 +495,7 @@ static int vp56_size_changed(AVCodecContext *avctx)
...
@@ -495,7 +495,7 @@ static int vp56_size_changed(AVCodecContext *avctx)
}
}
int
vp56_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
int
vp56_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
{
vp56_context_t
*
s
=
avctx
->
priv_data
;
vp56_context_t
*
s
=
avctx
->
priv_data
;
AVFrame
*
const
p
=
s
->
framep
[
VP56_FRAME_CURRENT
];
AVFrame
*
const
p
=
s
->
framep
[
VP56_FRAME_CURRENT
];
...
...
libavcodec/vp56.h
View file @
7e5cdb5b
...
@@ -43,13 +43,13 @@ typedef void (*vp56_parse_coeff_t)(vp56_context_t *s);
...
@@ -43,13 +43,13 @@ typedef void (*vp56_parse_coeff_t)(vp56_context_t *s);
typedef
void
(
*
vp56_default_models_init_t
)(
vp56_context_t
*
s
);
typedef
void
(
*
vp56_default_models_init_t
)(
vp56_context_t
*
s
);
typedef
void
(
*
vp56_parse_vector_models_t
)(
vp56_context_t
*
s
);
typedef
void
(
*
vp56_parse_vector_models_t
)(
vp56_context_t
*
s
);
typedef
void
(
*
vp56_parse_coeff_models_t
)(
vp56_context_t
*
s
);
typedef
void
(
*
vp56_parse_coeff_models_t
)(
vp56_context_t
*
s
);
typedef
int
(
*
vp56_parse_header_t
)(
vp56_context_t
*
s
,
uint8_t
*
buf
,
typedef
int
(
*
vp56_parse_header_t
)(
vp56_context_t
*
s
,
const
uint8_t
*
buf
,
int
buf_size
,
int
*
golden_frame
);
int
buf_size
,
int
*
golden_frame
);
typedef
struct
{
typedef
struct
{
int
high
;
int
high
;
int
bits
;
int
bits
;
uint8_t
*
buffer
;
const
uint8_t
*
buffer
;
unsigned
long
code_word
;
unsigned
long
code_word
;
}
vp56_range_coder_t
;
}
vp56_range_coder_t
;
...
@@ -172,7 +172,7 @@ void vp56_init(AVCodecContext *avctx, int flip, int has_alpha);
...
@@ -172,7 +172,7 @@ void vp56_init(AVCodecContext *avctx, int flip, int has_alpha);
int
vp56_free
(
AVCodecContext
*
avctx
);
int
vp56_free
(
AVCodecContext
*
avctx
);
void
vp56_init_dequant
(
vp56_context_t
*
s
,
int
quantizer
);
void
vp56_init_dequant
(
vp56_context_t
*
s
,
int
quantizer
);
int
vp56_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
int
vp56_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
);
const
uint8_t
*
buf
,
int
buf_size
);
/**
/**
...
@@ -180,7 +180,7 @@ int vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
...
@@ -180,7 +180,7 @@ int vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
*/
*/
static
inline
void
vp56_init_range_decoder
(
vp56_range_coder_t
*
c
,
static
inline
void
vp56_init_range_decoder
(
vp56_range_coder_t
*
c
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
{
c
->
high
=
255
;
c
->
high
=
255
;
c
->
bits
=
8
;
c
->
bits
=
8
;
...
...
libavcodec/vp6.c
View file @
7e5cdb5b
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
static
void
vp6_parse_coeff
(
vp56_context_t
*
s
);
static
void
vp6_parse_coeff
(
vp56_context_t
*
s
);
static
void
vp6_parse_coeff_huffman
(
vp56_context_t
*
s
);
static
void
vp6_parse_coeff_huffman
(
vp56_context_t
*
s
);
static
int
vp6_parse_header
(
vp56_context_t
*
s
,
uint8_t
*
buf
,
int
buf_size
,
static
int
vp6_parse_header
(
vp56_context_t
*
s
,
const
uint8_t
*
buf
,
int
buf_size
,
int
*
golden_frame
)
int
*
golden_frame
)
{
{
vp56_range_coder_t
*
c
=
&
s
->
c
;
vp56_range_coder_t
*
c
=
&
s
->
c
;
...
...
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