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
100c70b0
Commit
100c70b0
authored
May 14, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcr1: Add vcr1_ prefixes to all static functions with generic names.
parent
a761e595
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
vcr1.c
libavcodec/vcr1.c
+13
-13
No files found.
libavcodec/vcr1.c
View file @
100c70b0
...
...
@@ -33,7 +33,7 @@ typedef struct VCR1Context {
int
offset
[
4
];
}
VCR1Context
;
static
av_cold
int
common_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
vcr1_
common_init
(
AVCodecContext
*
avctx
)
{
VCR1Context
*
const
a
=
avctx
->
priv_data
;
...
...
@@ -42,16 +42,16 @@ static av_cold int common_init(AVCodecContext *avctx)
return
0
;
}
static
av_cold
int
decode_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
vcr1_
decode_init
(
AVCodecContext
*
avctx
)
{
common_init
(
avctx
);
vcr1_
common_init
(
avctx
);
avctx
->
pix_fmt
=
PIX_FMT_YUV410P
;
return
0
;
}
static
av_cold
int
decode_end
(
AVCodecContext
*
avctx
)
static
av_cold
int
vcr1_
decode_end
(
AVCodecContext
*
avctx
)
{
VCR1Context
*
s
=
avctx
->
priv_data
;
...
...
@@ -61,8 +61,8 @@ static av_cold int decode_end(AVCodecContext *avctx)
return
0
;
}
static
int
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
AVPacket
*
avpkt
)
static
int
vcr1_
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
AVPacket
*
avpkt
)
{
const
uint8_t
*
buf
=
avpkt
->
data
;
int
buf_size
=
avpkt
->
size
;
...
...
@@ -141,9 +141,9 @@ AVCodec ff_vcr1_decoder = {
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
CODEC_ID_VCR1
,
.
priv_data_size
=
sizeof
(
VCR1Context
),
.
init
=
decode_init
,
.
close
=
decode_end
,
.
decode
=
decode_frame
,
.
init
=
vcr1_
decode_init
,
.
close
=
vcr1_
decode_end
,
.
decode
=
vcr1_
decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"ATI VCR1"
),
};
...
...
@@ -156,8 +156,8 @@ AVCodec ff_vcr1_decoder = {
#include "put_bits.h"
static
int
encode_frame
(
AVCodecContext
*
avctx
,
unsigned
char
*
buf
,
int
buf_size
,
void
*
data
)
static
int
vcr1_
encode_frame
(
AVCodecContext
*
avctx
,
unsigned
char
*
buf
,
int
buf_size
,
void
*
data
)
{
VCR1Context
*
const
a
=
avctx
->
priv_data
;
AVFrame
*
pict
=
data
;
...
...
@@ -181,8 +181,8 @@ AVCodec ff_vcr1_encoder = {
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
CODEC_ID_VCR1
,
.
priv_data_size
=
sizeof
(
VCR1Context
),
.
init
=
common_init
,
.
encode
=
encode_frame
,
.
init
=
vcr1_
common_init
,
.
encode
=
vcr1_
encode_frame
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"ATI VCR1"
),
};
#endif
/* CONFIG_VCR1_ENCODER */
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