#include <stdlib.h>#include <stdio.h>#include "hb.h"Classes | |
| struct | StyleRecord |
Defines | |
| #define | NUM_FACE_STYLE_FLAGS 3 |
| #define | MAX_OPEN_TAG_SIZE 3 |
| #define | MAX_CLOSE_TAG_SIZE 4 |
| #define | READ_U8() *pos; pos += 1; |
| #define | READ_U16() (pos[0] << 8) | pos[1]; pos += 2; |
| #define | READ_U32() (pos[0] << 24) | (pos[1] << 16) | (pos[2] << 8) | pos[3]; pos += 4; |
| #define | READ_ARRAY(n) pos; pos += n; |
| #define | SKIP_ARRAY(n) pos += n; |
| #define | WRITE_CHAR(c) {dst[0]=c; dst += 1;} |
| #define | WRITE_START_TAG(c) {dst[0]='<'; dst[1]=c; dst[2]='>'; dst += 3;} |
| #define | WRITE_END_TAG(c) {dst[0]='<'; dst[1]='/'; dst[2]=c; dst[3]='>'; dst += 4;} |
| #define | FOURCC(str) |
| #define | IS_10xxxxxx(c) ((c & 0xC0) == 0x80) |
Enumerations | |
| enum | FaceStyleFlag { BOLD = 0x1, ITALIC = 0x2, UNDERLINE = 0x4 } |
Variables | |
| hb_work_object_t | hb_dectx3gsub |
| #define FOURCC | ( | str | ) |
| #define IS_10xxxxxx | ( | c | ) | ((c & 0xC0) == 0x80) |
| #define MAX_CLOSE_TAG_SIZE 4 |
| #define MAX_OPEN_TAG_SIZE 3 |
| #define NUM_FACE_STYLE_FLAGS 3 |
| #define READ_ARRAY | ( | n | ) | pos; pos += n; |
| #define READ_U16 | ( | ) | (pos[0] << 8) | pos[1]; pos += 2; |
| #define READ_U32 | ( | ) | (pos[0] << 24) | (pos[1] << 16) | (pos[2] << 8) | pos[3]; pos += 4; |
| #define READ_U8 | ( | ) | *pos; pos += 1; |
| #define SKIP_ARRAY | ( | n | ) | pos += n; |
| enum FaceStyleFlag |
{
WORK_DECTX3GSUB,
"TX3G Subtitle Decoder",
dectx3gInit,
dectx3gWork,
dectx3gClose
}
1.7.1