utvideo.h File Reference

Common Ut Video header. More...

#include "libavutil/common.h"
#include "avcodec.h"
#include "dsputil.h"
Include dependency graph for utvideo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  UtvideoContext
 
struct  HuffEntry
 

Typedefs

typedef struct UtvideoContext UtvideoContext
 
typedef struct HuffEntry HuffEntry
 

Enumerations

enum  { PRED_NONE = 0, PRED_LEFT, PRED_GRADIENT, PRED_MEDIAN }
 
enum  { COMP_NONE = 0, COMP_HUFF }
 
enum  { UTVIDEO_RGB = MKTAG(0x00, 0x00, 0x01, 0x18), UTVIDEO_RGBA = MKTAG(0x00, 0x00, 0x02, 0x18), UTVIDEO_420 = MKTAG('Y', 'V', '1', '2'), UTVIDEO_422 = MKTAG('Y', 'U', 'Y', '2') }
 

Functions

int ff_ut_huff_cmp_len (const void *a, const void *b)
 

Variables

const int ff_ut_pred_order [5]
 
const int ff_ut_rgb_order [4]
 

Detailed Description

Common Ut Video header.

Definition in file utvideo.h.

Typedef Documentation

typedef struct HuffEntry HuffEntry

Enumeration Type Documentation

anonymous enum
Enumerator
PRED_NONE 
PRED_LEFT 
PRED_GRADIENT 
PRED_MEDIAN 

Definition at line 34 of file utvideo.h.

anonymous enum
Enumerator
COMP_NONE 
COMP_HUFF 

Definition at line 41 of file utvideo.h.

anonymous enum
Enumerator
UTVIDEO_RGB 
UTVIDEO_RGBA 
UTVIDEO_420 
UTVIDEO_422 

Definition at line 53 of file utvideo.h.

Function Documentation

int ff_ut_huff_cmp_len ( const void a,
const void b 
)

Definition at line 35 of file utvideo.c.

Referenced by build_huff(), and calculate_codes().

Variable Documentation

const int ff_ut_pred_order[5]

Definition at line 29 of file utvideo.c.

Referenced by utvideo_encode_init().

const int ff_ut_rgb_order[4]

Definition at line 33 of file utvideo.c.

Referenced by decode_frame().