#include "avcodec.h"
#include "bytestream.h"
#include <assert.h>
Go to the source code of this file.
|
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, const AVSubtitle *sub) |
|
Value:
*q++ = bitbuf | ((val) & 0x0f);\
else\
bitbuf = (val) << 4;\
} while(0)
if(!(ptr_align%ac->ptr_align)&&samples_align >=aligned_len)
Definition at line 28 of file dvdsubenc.c.
Referenced by dvd_encode_rle().
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 encode_dvd_subtitles |
( |
uint8_t * |
outbuf, |
|
|
int |
outbuf_size, |
|
|
const AVSubtitle * |
h |
|
) |
| |
|
static |
Initial value:= {
.name = "dvdsub",
}
static int dvdsub_encode(AVCodecContext *avctx, unsigned char *buf, int buf_size, const AVSubtitle *sub)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition at line 218 of file dvdsubenc.c.