Go to the source code of this file.
Classes | |
| struct | exc__state |
| struct | _Png4File |
| struct | _BoundStr |
Typedefs | |
| typedef unsigned char | bool8 |
| typedef int8_t | ei8 |
| typedef uint8_t | eu8 |
| typedef int16_t | ei16 |
| typedef uint16_t | eu16 |
| typedef int32_t | ei32 |
| typedef uint32_t | eu32 |
| typedef int_least8_t | li8 |
| typedef uint_least8_t | lu8 |
| typedef int_least16_t | li16 |
| typedef uint_least16_t | lu16 |
| typedef int_least32_t | li32 |
| typedef uint_least32_t | lu32 |
| typedef int_fast8_t | fi8 |
| typedef uint_fast8_t | fu8 |
| typedef int_fast16_t | fi16 |
| typedef uint_fast16_t | fu16 |
| typedef int_fast32_t | fi32 |
| typedef uint_fast32_t | fu32 |
| typedef struct _Png4File | Png4File |
| typedef struct _BoundStr | BoundStr |
Enumerations | |
| enum | bool { false = 0, true = 1 } |
| enum | { MiscError = 1, EOFIndicator, IndexError } |
Functions | |
| static void | __exc_throw (int type) |
| static void | exc_throw (int type, const char *format,...) |
| static eu8 * | xxfread (FILE *stream, eu8 *ptr, size_t size) |
| static void | xxfwrite (FILE *stream, const eu8 *ptr, size_t size) |
| static void | yuv2rgb (int y, int cr, int cb, eu8 *r, eu8 *g, eu8 *b) |
| static void | rgb2yuv (eu8 r, eu8 g, eu8 b, eu8 *y, eu8 *cr, eu8 *cb) |
| static FILE * | xfopen (const char *filename, const char *mode) |
| static void | xfseek0 (FILE *stream, long offset) |
| static void | xmkdir (const char *path, int mode) |
| static bool | fexists (const char *filename) |
| static bool | dexists (char *filename) |
| static fu32 | get_uint32_be (const eu8 *bytes) |
| static fu16 | get_uint16_be (const eu8 *bytes) |
| static fu32 | get_uint32_le (const eu8 *bytes) |
| static fu32 | get_uint16_le (const eu8 *bytes) |
| static void | set_uint32_be (eu8 *ptr, eu32 value) |
| static void | set_uint16_be (eu8 *ptr, eu32 value) |
| static void | set_uint32_le (eu8 *ptr, eu32 value) |
| static void | set_uint16_le (eu8 *ptr, eu16 value) |
| static void | xxfwrite_uint32_be (FILE *fh, eu32 value) |
| static void | ifopalette (const char *filename, eu8 yuvpalette[16][3], eu8 rgbpalette[16][3]) |
| static void | set2palettes (int value, eu8 *yuvpalpart, eu8 *rgbpalpart) |
| static void | argpalette (const char *arg, eu8 yuvpalette[16][3], eu8 rgbpalette[16][3]) |
| static void | png4file_init (Png4File *self, eu8 palette[16][3]) |
| static void | png4file_open (Png4File *self, const char *filename, int height, int width) |
| static void | png4file_flush (Png4File *self) |
| static void | png4file_addpixel (Png4File *self, eu8 pixel) |
| static void | png4file_endrow (Png4File *self) |
| static void | png4file_close (Png4File *self) |
| static eu8 | getnibble (eu8 **data, int *nibble) |
| static void | _getline (eu8 **data, int width, Png4File *picfile) |
| static void | makebitmap (eu8 *data, int w, int h, int top, int bot, char *filename, eu8 palette[16][3]) |
| static char * | pts2ts (fu32 pts, char *rvbuf, bool is_png_filename) |
| static void | boundstr_init (BoundStr *bs, eu8 *p, int l) |
| static eu8 * | boundstr_read (BoundStr *bs, int l) |
| static void | pxsubtitle (const char *supfile, FILE *ofh, eu8 palette[16][3], bool createpics, int delay_ms, char *fnbuf, char *fnbuf_fp) |
| static bool | samepalette (char *filename, eu8 palette[16][3]) |
| int | sup2dast (const char *supfile, const char *ifofile, int delay_ms) |
Variables | |
| struct { | |
| struct exc__state * last | |
| char msgbuf [1024] | |
| int buflen | |
| } | EXC |
| typedef unsigned char bool8 |
Definition at line 24 of file pxsup2dast.c.
Definition at line 44 of file pxsup2dast.c.
| typedef uint8_t eu8 |
Definition at line 44 of file pxsup2dast.c.
Definition at line 45 of file pxsup2dast.c.
| typedef uint16_t eu16 |
Definition at line 45 of file pxsup2dast.c.
Definition at line 46 of file pxsup2dast.c.
Definition at line 46 of file pxsup2dast.c.
| typedef int_least8_t li8 |
Definition at line 48 of file pxsup2dast.c.
| typedef uint_least8_t lu8 |
Definition at line 48 of file pxsup2dast.c.
| typedef int_least16_t li16 |
Definition at line 49 of file pxsup2dast.c.
| typedef uint_least16_t lu16 |
Definition at line 49 of file pxsup2dast.c.
| typedef int_least32_t li32 |
Definition at line 50 of file pxsup2dast.c.
| typedef uint_least32_t lu32 |
Definition at line 50 of file pxsup2dast.c.
| typedef int_fast8_t fi8 |
Definition at line 52 of file pxsup2dast.c.
| typedef uint_fast8_t fu8 |
Definition at line 52 of file pxsup2dast.c.
| typedef int_fast16_t fi16 |
Definition at line 53 of file pxsup2dast.c.
| typedef uint_fast16_t fu16 |
Definition at line 53 of file pxsup2dast.c.
| typedef int_fast32_t fi32 |
Definition at line 54 of file pxsup2dast.c.
| typedef uint_fast32_t fu32 |
Definition at line 54 of file pxsup2dast.c.
Definition at line 103 of file pxsup2dast.c.
Definition at line 104 of file pxsup2dast.c.
| enum bool |
| anonymous enum |
| static void __exc_throw | ( | int | type | ) | [static] |
| static void exc_throw | ( | int | type, | |
| const char * | format, | |||
| ... | ||||
| ) | [static] |
Definition at line 150 of file pxsup2dast.c.
Referenced by argpalette(), boundstr_read(), ifopalette(), pxsubtitle(), sup2dast(), xfopen(), xfseek0(), xmkdir(), xxfread(), and xxfwrite().
| static void xxfwrite | ( | FILE * | stream, | |
| const eu8 * | ptr, | |||
| size_t | size | |||
| ) | [static] |
Definition at line 208 of file pxsup2dast.c.
Referenced by png4file_close(), png4file_flush(), png4file_open(), and xxfwrite_uint32_be().
Definition at line 221 of file pxsup2dast.c.
| static FILE* xfopen | ( | const char * | filename, | |
| const char * | mode | |||
| ) | [static] |
Definition at line 264 of file pxsup2dast.c.
Referenced by ifopalette(), png4file_open(), pxsubtitle(), samepalette(), and sup2dast().
| static void xfseek0 | ( | FILE * | stream, | |
| long | offset | |||
| ) | [static] |
| static void xmkdir | ( | const char * | path, | |
| int | mode | |||
| ) | [static] |
| static bool fexists | ( | const char * | filename | ) | [static] |
| static bool dexists | ( | char * | filename | ) | [static] |
Definition at line 320 of file pxsup2dast.c.
Definition at line 325 of file pxsup2dast.c.
Referenced by png4file_close(), png4file_init(), png4file_open(), and xxfwrite_uint32_be().
Definition at line 331 of file pxsup2dast.c.
Definition at line 334 of file pxsup2dast.c.
| static void xxfwrite_uint32_be | ( | FILE * | fh, | |
| eu32 | value | |||
| ) | [static] |
| static void png4file_open | ( | Png4File * | self, | |
| const char * | filename, | |||
| int | height, | |||
| int | width | |||
| ) | [static] |
| static void png4file_flush | ( | Png4File * | self | ) | [static] |
Definition at line 469 of file pxsup2dast.c.
Referenced by png4file_addpixel(), and png4file_close().
| static void png4file_endrow | ( | Png4File * | self | ) | [static] |
| static void png4file_close | ( | Png4File * | self | ) | [static] |
| int sup2dast | ( | const char * | supfile, | |
| const char * | ifofile, | |||
| int | delay_ms | |||
| ) |
| struct exc__state* last |
Definition at line 119 of file pxsup2dast.c.
Referenced by av_find_stream_info(), avcodec_default_release_buffer(), avs_decode_frame(), bit8x8_c(), NuppelVideoPlayer::CheckTVChain(), decode_cabac_residual_internal(), decode_scaling_list(), decode_significance_8x8_x86(), decode_user_data(), decode_vol_header(), decodeSpectrum(), do_a_deblock_C(), doHorizLowPass_C(), doVertLowPass(), MHIDLA::DrawPoly(), edgeDetector::edge_mark(), encode_picture_ls(), encode_residual(), ff_find_best_tables(), ff_jpegls_decode_picture(), ff_msmpeg4_decode_block(), ff_msmpeg4_encode_block(), ff_msmpeg4_encode_init(), findPastSurface(), for(), get_bits_diff(), get_block_rate(), DisplayRes::GetAspectRatio(), DisplayRes::GetHeight(), GLSingleView::GetNearestGLTextureSize(), DisplayRes::GetPhysicalHeight(), DisplayRes::GetPhysicalWidth(), DisplayRes::GetRefreshRate(), DisplayRes::GetWidth(), h261_encode_block(), h263_decode_block(), h263_encode_block(), if(), init_rl(), init_uni_h263_rl_tab(), init_uni_mpeg4_rl_tab(), load_input_picture(), main(), mpc8_decode_frame(), mpeg4_decode_block(), mpeg4_encode_block(), MythOpenGLPainter::NearestGLTextureSize(), ParentalLevel::operator++(), pullup_get_buffer(), pxsubtitle(), rd8x8_c(), ready_codebook(), PTSOffsetQueue::SetNextPos(), NuppelVideoPlayer::ShowText(), slice_non_intra_DCT(), IvtvDecoder::StepFrames(), template_alloc(), tm2_hi_res_block(), tm2_low_res_block(), tm2_med_res_block(), tm2_motion_block(), tm2_null_res_block(), tm2_still_block(), tm2_update_block(), vc1_decode_i_block(), vc1_decode_i_block_adv(), vc1_decode_intra_block(), vc1_decode_p_block(), vorbis_floor0_decode(), vorbis_parse_setup_hdr_codebooks(), while(), write_quant_table(), wv_unpack_mono(), wv_unpack_stereo(), and XVMC_field_start().
| char msgbuf[1024] |
Definition at line 120 of file pxsup2dast.c.
| int buflen |
Definition at line 121 of file pxsup2dast.c.
Referenced by copy(), read_line_from_input(), and sub_read_line_subrip().
| struct { ... } EXC |
Referenced by __exc_throw(), exc_throw(), and sup2dast().
1.5.5