mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
const
Originally committed as revision 11768 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0942f55cdc
commit
fb8a82d20a
@ -33,7 +33,7 @@ typedef struct QpegContext{
|
|||||||
uint8_t *refdata;
|
uint8_t *refdata;
|
||||||
} QpegContext;
|
} 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 stride, int width, int height)
|
||||||
{
|
{
|
||||||
int i;
|
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};
|
{ 0x00, 0x20, 0x18, 0x08, 0x18, 0x10, 0x20, 0x10, 0x08, 0x10, 0x20, 0x20, 0x08, 0x10, 0x18, 0x04};
|
||||||
|
|
||||||
/* Decodes delta frames */
|
/* 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 stride, int width, int height,
|
||||||
int delta, uint8_t *ctable, uint8_t *refdata)
|
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,
|
static int decode_frame(AVCodecContext *avctx,
|
||||||
void *data, int *data_size,
|
void *data, int *data_size,
|
||||||
uint8_t *buf, int buf_size)
|
const uint8_t *buf, int buf_size)
|
||||||
{
|
{
|
||||||
QpegContext * const a = avctx->priv_data;
|
QpegContext * const a = avctx->priv_data;
|
||||||
AVFrame * const p= (AVFrame*)&a->pic;
|
AVFrame * const p= (AVFrame*)&a->pic;
|
||||||
|
Loading…
Reference in New Issue
Block a user