FFmpeg
|
#include "libavutil/imgutils.h"
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "sgi.h"
Go to the source code of this file.
Data Structures | |
struct | SgiState |
Functions | |
static int | expand_rle_row8 (SgiState *s, uint8_t *out_buf, int len, int pixelstride) |
Expand an RLE row into a channel. More... | |
static int | expand_rle_row16 (SgiState *s, uint16_t *out_buf, int len, int pixelstride) |
static int | read_rle_sgi (uint8_t *out_buf, SgiState *s) |
Read a run length encoded SGI image. More... | |
static int | read_uncompressed_sgi (unsigned char *out_buf, SgiState *s) |
Read an uncompressed SGI image. More... | |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | sgi_decode_init (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_sgi_decoder |
Expand an RLE row into a channel.
s | the current image state |
out_buf | Points to one line after the output buffer. |
len | length of out_buf in bytes |
pixelstride | pixel stride of input buffer |
Definition at line 47 of file sgidec.c.
Referenced by read_rle_sgi().
Definition at line 85 of file sgidec.c.
Referenced by read_rle_sgi().
Read a run length encoded SGI image.
out_buf | output buffer |
s | the current image state |
Definition at line 131 of file sgidec.c.
Referenced by decode_frame().
Read an uncompressed SGI image.
out_buf | output buffer |
s | the current image state |
Definition at line 169 of file sgidec.c.
Referenced by decode_frame().
|
static |
|
static |
AVCodec ff_sgi_decoder |