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
0f598457
Commit
0f598457
authored
Apr 03, 2013
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bfin: Make vp3 functions static
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
aa8d8953
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
vp3_bfin.c
libavcodec/bfin/vp3_bfin.c
+4
-4
vp3_bfin.h
libavcodec/bfin/vp3_bfin.h
+0
-2
No files found.
libavcodec/bfin/vp3_bfin.c
View file @
0f598457
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#include "vp3_bfin.h"
#include "vp3_bfin.h"
/* Intra iDCT offset 128 */
/* Intra iDCT offset 128 */
void
ff_bfin_vp3_idct_put
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
)
static
void
bfin_vp3_idct_put
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
)
{
{
uint8_t
*
cm
=
ff_cropTbl
+
MAX_NEG_CROP
+
128
;
uint8_t
*
cm
=
ff_cropTbl
+
MAX_NEG_CROP
+
128
;
int
i
,
j
;
int
i
,
j
;
...
@@ -43,7 +43,7 @@ void ff_bfin_vp3_idct_put (uint8_t *dest, int line_size, int16_t *block)
...
@@ -43,7 +43,7 @@ void ff_bfin_vp3_idct_put (uint8_t *dest, int line_size, int16_t *block)
}
}
/* Inter iDCT */
/* Inter iDCT */
void
ff_bfin_vp3_idct_add
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
)
static
void
bfin_vp3_idct_add
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
)
{
{
ff_bfin_vp3_idct
(
block
);
ff_bfin_vp3_idct
(
block
);
ff_bfin_add_pixels_clamped
(
block
,
dest
,
line_size
);
ff_bfin_add_pixels_clamped
(
block
,
dest
,
line_size
);
...
@@ -54,7 +54,7 @@ void ff_bfin_vp3_idct_add (uint8_t *dest, int line_size, int16_t *block)
...
@@ -54,7 +54,7 @@ void ff_bfin_vp3_idct_add (uint8_t *dest, int line_size, int16_t *block)
av_cold
void
ff_vp3dsp_init_bfin
(
VP3DSPContext
*
c
,
int
flags
)
av_cold
void
ff_vp3dsp_init_bfin
(
VP3DSPContext
*
c
,
int
flags
)
{
{
if
(
!
(
flags
&
CODEC_FLAG_BITEXACT
))
{
if
(
!
(
flags
&
CODEC_FLAG_BITEXACT
))
{
c
->
idct_add
=
ff_
bfin_vp3_idct_add
;
c
->
idct_add
=
bfin_vp3_idct_add
;
c
->
idct_put
=
ff_
bfin_vp3_idct_put
;
c
->
idct_put
=
bfin_vp3_idct_put
;
}
}
}
}
libavcodec/bfin/vp3_bfin.h
View file @
0f598457
...
@@ -23,7 +23,5 @@
...
@@ -23,7 +23,5 @@
#include <stdint.h>
#include <stdint.h>
void
ff_bfin_vp3_idct
(
int16_t
*
block
);
void
ff_bfin_vp3_idct
(
int16_t
*
block
);
void
ff_bfin_vp3_idct_put
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
ff_bfin_vp3_idct_add
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
#endif
/* AVCODEC_BFIN_VP3_BFIN_H */
#endif
/* AVCODEC_BFIN_VP3_BFIN_H */
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