#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
Go to the source code of this file.
|
static int | pgx_get_number (AVCodecContext *avctx, GetByteContext *g, int *number) |
|
static int | pgx_decode_header (AVCodecContext *avctx, GetByteContext *g, int *depth, int *width, int *height, int *sign) |
|
static int | pgx_decode_frame (AVCodecContext *avctx, AVFrame *p, int *got_frame, AVPacket *avpkt) |
|
◆ WRITE_FRAME
Value:
{ \
const
unsigned offset = sign ? (1 << (
D - 1)) : 0; \
for (j = 0; j <
width; j++) { \
unsigned
val = bytestream2_get_ ##
suffix##
u(
g) << (
D - depth); \
} \
} \
} \
Definition at line 93 of file pgxdec.c.
◆ pgx_get_number()
◆ pgx_decode_header()
◆ pgx_decode_frame()
◆ ff_pgx_decoder
Initial value:
Definition at line 151 of file pgxdec.c.