#include "libavutil/intreadwrite.h"#include "libavcodec/dsputil.h"#include "libavcodec/paf.h"#include "bytestream.h"#include "avcodec.h"Go to the source code of this file.
| Data Structures | |
| struct | PAFVideoDecContext | 
| struct | PAFAudioDecContext | 
| Functions | |
| static av_cold int | paf_vid_init (AVCodecContext *avctx) | 
| static int | get_video_page_offset (AVCodecContext *avctx, uint8_t a, uint8_t b) | 
| static void | copy4h (AVCodecContext *avctx, uint8_t *dst) | 
| static void | copy_color_mask (AVCodecContext *avctx, uint8_t mask, uint8_t *dst, uint8_t color) | 
| static void | copy_src_mask (AVCodecContext *avctx, uint8_t mask, uint8_t *dst, const uint8_t *src) | 
| static int | decode_0 (AVCodecContext *avctx, uint8_t code, uint8_t *pkt) | 
| static int | paf_vid_decode (AVCodecContext *avctx, void *data, int *data_size, AVPacket *pkt) | 
| static av_cold int | paf_vid_close (AVCodecContext *avctx) | 
| static av_cold int | paf_aud_init (AVCodecContext *avctx) | 
| static int | paf_aud_decode (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *pkt) | 
| Variables | |
| static const uint8_t | block_sequences [16][8] | 
| AVCodec | ff_paf_video_decoder | 
| AVCodec | ff_paf_audio_decoder | 
| static void copy4h | ( | AVCodecContext * | avctx, | |
| uint8_t * | dst | |||
| ) |  [static] | 
| static void copy_color_mask | ( | AVCodecContext * | avctx, | |
| uint8_t | mask, | |||
| uint8_t * | dst, | |||
| uint8_t | color | |||
| ) |  [static] | 
| static void copy_src_mask | ( | AVCodecContext * | avctx, | |
| uint8_t | mask, | |||
| uint8_t * | dst, | |||
| const uint8_t * | src | |||
| ) |  [static] | 
| static int decode_0 | ( | AVCodecContext * | avctx, | |
| uint8_t | code, | |||
| uint8_t * | pkt | |||
| ) |  [static] | 
| static int get_video_page_offset | ( | AVCodecContext * | avctx, | |
| uint8_t | a, | |||
| uint8_t | b | |||
| ) |  [static] | 
| static int paf_aud_decode | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | got_frame_ptr, | |||
| AVPacket * | pkt | |||
| ) |  [static] | 
| static av_cold int paf_aud_init | ( | AVCodecContext * | avctx | ) |  [static] | 
| static av_cold int paf_vid_close | ( | AVCodecContext * | avctx | ) |  [static] | 
| static int paf_vid_decode | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | pkt | |||
| ) |  [static] | 
| static av_cold int paf_vid_init | ( | AVCodecContext * | avctx | ) |  [static] | 
| const uint8_t block_sequences[16][8]  [static] | 
Initial value:
{
    { 0, 0, 0, 0, 0, 0, 0, 0 },
    { 2, 0, 0, 0, 0, 0, 0, 0 },
    { 5, 7, 0, 0, 0, 0, 0, 0 },
    { 5, 0, 0, 0, 0, 0, 0, 0 },
    { 6, 0, 0, 0, 0, 0, 0, 0 },
    { 5, 7, 5, 7, 0, 0, 0, 0 },
    { 5, 7, 5, 0, 0, 0, 0, 0 },
    { 5, 7, 6, 0, 0, 0, 0, 0 },
    { 5, 5, 0, 0, 0, 0, 0, 0 },
    { 3, 0, 0, 0, 0, 0, 0, 0 },
    { 6, 6, 0, 0, 0, 0, 0, 0 },
    { 2, 4, 0, 0, 0, 0, 0, 0 },
    { 2, 4, 5, 7, 0, 0, 0, 0 },
    { 2, 4, 5, 0, 0, 0, 0, 0 },
    { 2, 4, 6, 0, 0, 0, 0, 0 },
    { 2, 4, 5, 7, 5, 7, 0, 0 }
}
Definition at line 28 of file paf.c.
Referenced by decode_0().
Initial value:
 {
    .name           = "paf_audio",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = AV_CODEC_ID_PAF_AUDIO,
    .priv_data_size = sizeof(PAFAudioDecContext),
    .init           = paf_aud_init,
    .decode         = paf_aud_decode,
    .capabilities   = CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio"),
}
Initial value:
 {
    .name           = "paf_video",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = AV_CODEC_ID_PAF_VIDEO,
    .priv_data_size = sizeof(PAFVideoDecContext),
    .init           = paf_vid_init,
    .close          = paf_vid_close,
    .decode         = paf_vid_decode,
    .capabilities   = CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Video"),
}
 1.5.8
 1.5.8