#include "libavutil/intreadwrite.h"#include "avcodec.h"Go to the source code of this file.
Data Structures | |
| struct | TargaContext | 
Enumerations | |
| enum | TargaCompr {  TGA_NODATA = 0, TGA_PAL = 1, TGA_RGB = 2, TGA_BW = 3, TGA_RLE = 8 }  | 
Functions | |
| static void | targa_decode_rle (AVCodecContext *avctx, TargaContext *s, const uint8_t *src, uint8_t *dst, int w, int h, int stride, int bpp) | 
| static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) | 
| static av_cold int | targa_init (AVCodecContext *avctx) | 
| static av_cold int | targa_end (AVCodecContext *avctx) | 
Variables | |
| AVCodec | targa_decoder | 
| enum TargaCompr | 
| static int decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) |  [static] | 
        
| static void targa_decode_rle | ( | AVCodecContext * | avctx, | |
| TargaContext * | s, | |||
| const uint8_t * | src, | |||
| 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:
 {
    "targa",
    CODEC_TYPE_VIDEO,
    CODEC_ID_TARGA,
    sizeof(TargaContext),
    targa_init,
    NULL,
    targa_end,
    decode_frame,
    0,
    NULL,
    .long_name = NULL_IF_CONFIG_SMALL("Truevision Targa image"),
}
 1.5.8