#include "avcodec.h"
#include "bytestream.h"
#include <assert.h>
Go to the source code of this file.
Functions |
static void | dvd_encode_rle (uint8_t **pq, const uint8_t *bitmap, int linesize, int w, int h, const int cmap[256]) |
static int | encode_dvd_subtitles (uint8_t *outbuf, int outbuf_size, const AVSubtitle *h) |
static int | dvdsub_encode (AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) |
Macro Definition Documentation
Value:do {\
if (ncnt++ & 1)\
*q++ = bitbuf | ((val) & 0x0f);\
else\
bitbuf = (val) << 4;\
} while(0)
Definition at line 28 of file dvdsubenc.c.
Referenced by dvd_encode_rle().
Function Documentation
static void dvd_encode_rle |
( |
uint8_t ** |
pq, |
|
|
const uint8_t * |
bitmap, |
|
|
int |
linesize, |
|
|
int |
w, |
|
|
int |
h, |
|
|
const int |
cmap[256] |
|
) |
| |
|
static |
static int dvdsub_encode |
( |
AVCodecContext * |
avctx, |
|
|
unsigned char * |
buf, |
|
|
int |
buf_size, |
|
|
void * |
data |
|
) |
| |
|
static |
static int encode_dvd_subtitles |
( |
uint8_t * |
outbuf, |
|
|
int |
outbuf_size, |
|
|
const AVSubtitle * |
h |
|
) |
| |
|
static |
Variable Documentation