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
fb8a82d2
Commit
fb8a82d2
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const
Originally committed as revision 11768 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
0942f55c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
qpeg.c
libavcodec/qpeg.c
+3
-3
No files found.
libavcodec/qpeg.c
View file @
fb8a82d2
...
...
@@ -33,7 +33,7 @@ typedef struct QpegContext{
uint8_t
*
refdata
;
}
QpegContext
;
static
void
qpeg_decode_intra
(
uint8_t
*
src
,
uint8_t
*
dst
,
int
size
,
static
void
qpeg_decode_intra
(
const
uint8_t
*
src
,
uint8_t
*
dst
,
int
size
,
int
stride
,
int
width
,
int
height
)
{
int
i
;
...
...
@@ -115,7 +115,7 @@ static int qpeg_table_w[16] =
{
0x00
,
0x20
,
0x18
,
0x08
,
0x18
,
0x10
,
0x20
,
0x10
,
0x08
,
0x10
,
0x20
,
0x20
,
0x08
,
0x10
,
0x18
,
0x04
};
/* Decodes delta frames */
static
void
qpeg_decode_inter
(
uint8_t
*
src
,
uint8_t
*
dst
,
int
size
,
static
void
qpeg_decode_inter
(
const
uint8_t
*
src
,
uint8_t
*
dst
,
int
size
,
int
stride
,
int
width
,
int
height
,
int
delta
,
uint8_t
*
ctable
,
uint8_t
*
refdata
)
{
...
...
@@ -249,7 +249,7 @@ static void qpeg_decode_inter(uint8_t *src, uint8_t *dst, int size,
static
int
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
QpegContext
*
const
a
=
avctx
->
priv_data
;
AVFrame
*
const
p
=
(
AVFrame
*
)
&
a
->
pic
;
...
...
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