#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 |
Functions | |
| static int | targa_decode_rle (AVCodecContext *avctx, TargaContext *s, 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 |
| static int decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
| static int targa_decode_rle | ( | AVCodecContext * | avctx, | |
| TargaContext * | s, | |||
| uint8_t * | dst, | |||
| int | w, | |||
| int | h, | |||
| int | stride, | |||
| int | bpp | |||
| ) | [static] |
| static av_cold int targa_end | ( | AVCodecContext * | avctx | ) | [static] |
| static av_cold int targa_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{
.name = "targa",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_TARGA,
.priv_data_size = sizeof(TargaContext),
.init = targa_init,
.close = targa_end,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Truevision Targa image"),
}
1.5.8