#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "targa.h"
Go to the source code of this file.
Data Structures |
struct | TargaContext |
Defines |
#define | CHECK_BUFFER_SIZE(buf, buf_end, needed, where) |
Typedefs |
typedef struct TargaContext | TargaContext |
Functions |
static int | targa_decode_rle (AVCodecContext *avctx, TargaContext *s, const uint8_t *src, int src_size, uint8_t *dst, int w, int h, int stride, int bpp) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | targa_init (AVCodecContext *avctx) |
static av_cold int | targa_end (AVCodecContext *avctx) |
Variables |
AVCodec | ff_targa_decoder |
Define Documentation
#define CHECK_BUFFER_SIZE |
( |
|
buf, |
|
|
|
buf_end, |
|
|
|
needed, |
|
|
|
where |
|
) |
| |
Typedef Documentation
Function Documentation
static int targa_decode_rle |
( |
AVCodecContext * |
avctx, |
|
|
TargaContext * |
s, |
|
|
const uint8_t * |
src, |
|
|
int |
src_size, |
|
|
uint8_t * |
dst, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
stride, |
|
|
int |
bpp |
|
) |
| [static] |
Variable Documentation
Initial value:
Definition at line 289 of file targa.c.