repo.or.cz
/
plumiferos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add undefine macro.
[plumiferos.git]
/
extern
/
ffmpeg
/
libavcodec
/
rtjpeg.h
blob
1fc2fc934a783a1119e4099879badc0e9bc7a1fd
1
#ifndef RTJPEG_H
2
#define RTJPEG_H
3
4
typedef
struct
{
5
int
w
,
h
;
6
DSPContext
*
dsp
;
7
DCTELEM block
[
64
];
8
uint8_t
scan
[
64
];
9
uint32_t
lquant
[
64
];
10
uint32_t
cquant
[
64
];
11
}
RTJpegContext
;
12
13
void
rtjpeg_decode_init
(
RTJpegContext
*
c
,
DSPContext
*
dsp
,
14
int
width
,
int
height
,
15
uint32_t
*
lquant
,
uint32_t
*
cquant
);
16
17
int
rtjpeg_decode_frame_yuv420
(
RTJpegContext
*
c
,
AVFrame
*
f
,
18
uint8_t
*
buf
,
int
buf_size
);
19
#endif