tiertexseqv.c File Reference

Tiertex Limited SEQ video decoder. More...

#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
Include dependency graph for tiertexseqv.c:

Go to the source code of this file.

Data Structures

struct  SeqVideoContext
 

Macros

#define BITSTREAM_READER_LE
 

Typedefs

typedef struct SeqVideoContext SeqVideoContext
 

Functions

static const unsigned char * seq_unpack_rle_block (const unsigned char *src, const unsigned char *src_end, unsigned char *dst, int dst_size)
 
static const unsigned char * seq_decode_op1 (SeqVideoContext *seq, const unsigned char *src, const unsigned char *src_end, unsigned char *dst)
 
static const unsigned char * seq_decode_op2 (SeqVideoContext *seq, const unsigned char *src, const unsigned char *src_end, unsigned char *dst)
 
static const unsigned char * seq_decode_op3 (SeqVideoContext *seq, const unsigned char *src, const unsigned char *src_end, unsigned char *dst)
 
static int seqvideo_decode (SeqVideoContext *seq, const unsigned char *data, int data_size)
 
static av_cold int seqvideo_decode_init (AVCodecContext *avctx)
 
static int seqvideo_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int seqvideo_decode_end (AVCodecContext *avctx)
 

Variables

AVCodec ff_tiertexseqvideo_decoder
 

Detailed Description

Tiertex Limited SEQ video decoder.

Definition in file tiertexseqv.c.

Macro Definition Documentation

#define BITSTREAM_READER_LE

Definition at line 28 of file tiertexseqv.c.

Typedef Documentation

Function Documentation

static const unsigned char* seq_decode_op1 ( SeqVideoContext seq,
const unsigned char *  src,
const unsigned char *  src_end,
unsigned char *  dst 
)
static

Definition at line 77 of file tiertexseqv.c.

Referenced by seqvideo_decode().

static const unsigned char* seq_decode_op2 ( SeqVideoContext seq,
const unsigned char *  src,
const unsigned char *  src_end,
unsigned char *  dst 
)
static

Definition at line 127 of file tiertexseqv.c.

Referenced by seqvideo_decode().

static const unsigned char* seq_decode_op3 ( SeqVideoContext seq,
const unsigned char *  src,
const unsigned char *  src_end,
unsigned char *  dst 
)
static

Definition at line 146 of file tiertexseqv.c.

Referenced by seqvideo_decode().

static const unsigned char* seq_unpack_rle_block ( const unsigned char *  src,
const unsigned char *  src_end,
unsigned char *  dst,
int  dst_size 
)
static

Definition at line 39 of file tiertexseqv.c.

Referenced by seq_decode_op1().

static int seqvideo_decode ( SeqVideoContext seq,
const unsigned char *  data,
int  data_size 
)
static

Definition at line 164 of file tiertexseqv.c.

Referenced by seqvideo_decode_frame().

static av_cold int seqvideo_decode_end ( AVCodecContext avctx)
static

Definition at line 248 of file tiertexseqv.c.

static int seqvideo_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 225 of file tiertexseqv.c.

static av_cold int seqvideo_decode_init ( AVCodecContext avctx)
static

Definition at line 213 of file tiertexseqv.c.

Variable Documentation

AVCodec ff_tiertexseqvideo_decoder
Initial value:
= {
.name = "tiertexseqvideo",
.priv_data_size = sizeof(SeqVideoContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ video"),
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int seqvideo_decode_end(AVCodecContext *avctx)
Definition: tiertexseqv.c:248
static av_cold int seqvideo_decode_init(AVCodecContext *avctx)
Definition: tiertexseqv.c:213
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
struct SeqVideoContext SeqVideoContext
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:375
static int seqvideo_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: tiertexseqv.c:225
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868

Definition at line 257 of file tiertexseqv.c.