FFmpeg
|
#include "libavutil/common.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "internal.h"
Go to the source code of this file.
Macros | |
#define | RBG323_TO_BGR8(x) |
Convert SGI RBG323 pixel into AV_PIX_FMT_BGR8 SGI RGB data is packed as 8bpp, (msb)3R 2B 3G(lsb) More... | |
#define | INC_XY(n) |
Functions | |
static av_cold int | sgirle_decode_init (AVCodecContext *avctx) |
static av_always_inline void | rbg323_to_bgr8 (uint8_t *dst, const uint8_t *src, int size) |
static int | decode_sgirle8 (AVCodecContext *avctx, uint8_t *dst, const uint8_t *src, int src_size, int width, int height, ptrdiff_t linesize) |
static int | sgirle_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
Variables | |
const FFCodec | ff_sgirle_decoder |
Silicon Graphics RLE 8-bit video decoder
Definition in file sgirledec.c.
#define RBG323_TO_BGR8 | ( | x | ) |
Convert SGI RBG323 pixel into AV_PIX_FMT_BGR8 SGI RGB data is packed as 8bpp, (msb)3R 2B 3G(lsb)
Definition at line 45 of file sgirledec.c.
#define INC_XY | ( | n | ) |
|
static |
Definition at line 35 of file sgirledec.c.
|
static |
Definition at line 49 of file sgirledec.c.
Referenced by decode_sgirle8().
|
static |
[out] | dst | Destination buffer |
[in] | src | Source buffer |
src_size | Source buffer size (bytes) | |
width | Width of destination buffer (pixels) | |
height | Height of destination buffer (pixels) | |
linesize | Line size of destination buffer (bytes) |
Definition at line 66 of file sgirledec.c.
Referenced by sgirle_decode_frame().
|
static |
Definition at line 113 of file sgirledec.c.
const FFCodec ff_sgirle_decoder |
Definition at line 134 of file sgirledec.c.