|
libcaption
|
#include <inttypes.h>#include <stddef.h>#include <stdio.h>#include "avc.h"Go to the source code of this file.
Classes | |
| struct | flvtag_t |
Macros | |
| #define | FLV_HEADER_SIZE 13 |
| #define | FLV_FOOTER_SIZE 4 |
| #define | FLV_TAG_HEADER_SIZE 11 |
| #define | FLV_TAG_FOOTER_SIZE 4 |
Functions | |
| void | flvtag_init (flvtag_t *tag) |
| void | flvtag_free (flvtag_t *tag) |
| void | flvtag_swap (flvtag_t *tag1, flvtag_t *tag2) |
| static flvtag_type_t | flvtag_type (flvtag_t *tag) |
| static flvtag_soundformat_t | flvtag_soundformat (flvtag_t *tag) |
| static flvtag_codecid_t | flvtag_codecid (flvtag_t *tag) |
| static flvtag_frametype_t | flvtag_frametype (flvtag_t *tag) |
| static flvtag_avcpackettype_t | flvtag_avcpackettype (flvtag_t *tag) |
| static size_t | flvtag_size (flvtag_t *tag) |
| static uint32_t | flvtag_timestamp (flvtag_t *tag) |
| static uint32_t | flvtag_dts (flvtag_t *tag) |
| static uint32_t | flvtag_cts (flvtag_t *tag) |
| static uint32_t | flvtag_pts (flvtag_t *tag) |
| static double | flvtag_dts_seconds (flvtag_t *tag) |
| static double | flvtag_cts_seconds (flvtag_t *tag) |
| static double | flvtag_pts_seconds (flvtag_t *tag) |
| size_t | flvtag_header_size (flvtag_t *tag) |
| size_t | flvtag_payload_size (flvtag_t *tag) |
| uint8_t * | flvtag_payload_data (flvtag_t *tag) |
| FILE * | flv_open_read (const char *flv) |
| FILE * | flv_open_write (const char *flv) |
| FILE * | flv_close (FILE *flv) |
| static const uint8_t * | flvtag_raw_data (flvtag_t *tag) |
| static const size_t | flvtag_raw_size (flvtag_t *tag) |
| int | flv_read_tag (FILE *flv, flvtag_t *tag) |
| int | flv_write_tag (FILE *flv, flvtag_t *tag) |
| int | flv_read_header (FILE *flv, int *has_audio, int *has_video) |
| int | flv_write_header (FILE *flv, int has_audio, int has_video) |
| sei_t * | flv_read_sei (FILE *flv, flvtag_t *tag) |
| int | flvtag_initavc (flvtag_t *tag, uint32_t dts, int32_t cts, flvtag_frametype_t type) |
| int | flvtag_avcwritenal (flvtag_t *tag, uint8_t *data, size_t size) |
| int | flvtag_addcaption_scc (flvtag_t *tag, const scc_t *scc) |
| int | flvtag_addcaption_text (flvtag_t *tag, const utf8_char_t *text) |
| int | flvtag_amfcaption_708 (flvtag_t *tag, uint32_t timestamp, sei_message_t *msg) |
| int | flvtag_amfcaption_utf8 (flvtag_t *tag, uint32_t timestamp, const utf8_char_t *text) |
| #define FLV_FOOTER_SIZE 4 |
| #define FLV_HEADER_SIZE 13 |
| #define FLV_TAG_FOOTER_SIZE 4 |
| #define FLV_TAG_HEADER_SIZE 11 |
| enum flvtag_codecid_t |
| enum flvtag_frametype_t |
| enum flvtag_soundformat_t |
| enum flvtag_type_t |
| FILE * flv_close | ( | FILE * | flv | ) |
| FILE * flv_open_read | ( | const char * | flv | ) |
| FILE * flv_open_write | ( | const char * | flv | ) |
| int flv_read_header | ( | FILE * | flv, |
| int * | has_audio, | ||
| int * | has_video | ||
| ) |
| sei_t * flv_read_sei | ( | FILE * | flv, |
| flvtag_t * | tag | ||
| ) |
| int flv_read_tag | ( | FILE * | flv, |
| flvtag_t * | tag | ||
| ) |
| int flv_write_header | ( | FILE * | flv, |
| int | has_audio, | ||
| int | has_video | ||
| ) |
| int flv_write_tag | ( | FILE * | flv, |
| flvtag_t * | tag | ||
| ) |
| int flvtag_addcaption_scc | ( | flvtag_t * | tag, |
| const scc_t * | scc | ||
| ) |
| int flvtag_addcaption_text | ( | flvtag_t * | tag, |
| const utf8_char_t * | text | ||
| ) |
| int flvtag_amfcaption_708 | ( | flvtag_t * | tag, |
| uint32_t | timestamp, | ||
| sei_message_t * | msg | ||
| ) |
| int flvtag_amfcaption_utf8 | ( | flvtag_t * | tag, |
| uint32_t | timestamp, | ||
| const utf8_char_t * | text | ||
| ) |
|
inlinestatic |
| int flvtag_avcwritenal | ( | flvtag_t * | tag, |
| uint8_t * | data, | ||
| size_t | size | ||
| ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void flvtag_free | ( | flvtag_t * | tag | ) |
| size_t flvtag_header_size | ( | flvtag_t * | tag | ) |
| void flvtag_init | ( | flvtag_t * | tag | ) |
| int flvtag_initavc | ( | flvtag_t * | tag, |
| uint32_t | dts, | ||
| int32_t | cts, | ||
| flvtag_frametype_t | type | ||
| ) |
| uint8_t * flvtag_payload_data | ( | flvtag_t * | tag | ) |
| size_t flvtag_payload_size | ( | flvtag_t * | tag | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |