#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "targa.h"
Go to the source code of this file.
|
| static uint8_t * | advance_line (uint8_t *start, uint8_t *line, int stride, int *y, int h, int interleave) |
| |
| static int | targa_decode_rle (AVCodecContext *avctx, TargaContext *s, uint8_t *start, int w, int h, int stride, int bpp, int interleave) |
| |
| static int | decode_frame (AVCodecContext *avctx, AVFrame *p, int *got_frame, AVPacket *avpkt) |
| |
◆ advance_line()
| static uint8_t * advance_line |
( |
uint8_t * | start, |
|
|
uint8_t * | line, |
|
|
int | stride, |
|
|
int * | y, |
|
|
int | h, |
|
|
int | interleave ) |
|
static |
◆ targa_decode_rle()
| static int targa_decode_rle |
( |
AVCodecContext * | avctx, |
|
|
TargaContext * | s, |
|
|
uint8_t * | start, |
|
|
int | w, |
|
|
int | h, |
|
|
int | stride, |
|
|
int | bpp, |
|
|
int | interleave ) |
|
static |
◆ decode_frame()
◆ ff_targa_decoder
Initial value:= {
.p.name = "targa",
}
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
static int decode_frame(AVCodecContext *avctx, AVFrame *picture, int *got_frame, AVPacket *avpkt)
Definition at line 304 of file targa.c.