#include <stdio.h>#include <stdlib.h>#include <inttypes.h>#include <string.h>Go to the source code of this file.
Defines | |
| #define | BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) |
| #define | BE_32(x) |
| #define | BE_64(x) |
| #define | BE_FOURCC(ch0, ch1, ch2, ch3) |
| #define | QT_ATOM BE_FOURCC |
| #define | FREE_ATOM QT_ATOM('f', 'r', 'e', 'e') |
| #define | JUNK_ATOM QT_ATOM('j', 'u', 'n', 'k') |
| #define | MDAT_ATOM QT_ATOM('m', 'd', 'a', 't') |
| #define | MOOV_ATOM QT_ATOM('m', 'o', 'o', 'v') |
| #define | PNOT_ATOM QT_ATOM('p', 'n', 'o', 't') |
| #define | SKIP_ATOM QT_ATOM('s', 'k', 'i', 'p') |
| #define | WIDE_ATOM QT_ATOM('w', 'i', 'd', 'e') |
| #define | PICT_ATOM QT_ATOM('P', 'I', 'C', 'T') |
| #define | FTYP_ATOM QT_ATOM('f', 't', 'y', 'p') |
| #define | UUID_ATOM QT_ATOM('u', 'u', 'i', 'd') |
| #define | CMOV_ATOM QT_ATOM('c', 'm', 'o', 'v') |
| #define | STCO_ATOM QT_ATOM('s', 't', 'c', 'o') |
| #define | CO64_ATOM QT_ATOM('c', 'o', '6', '4') |
| #define | ATOM_PREAMBLE_SIZE 8 |
| #define | COPY_BUFFER_SIZE 1024 |
Functions | |
| int | main (int argc, char *argv[]) |
| #define ATOM_PREAMBLE_SIZE 8 |
| #define BE_16 | ( | x | ) | ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) |
Definition at line 37 of file qt-faststart.c.
| #define BE_32 | ( | x | ) |
Value:
((((uint8_t*)(x))[0] << 24) | \
(((uint8_t*)(x))[1] << 16) | \
(((uint8_t*)(x))[2] << 8) | \
((uint8_t*)(x))[3])
Definition at line 39 of file qt-faststart.c.
Referenced by main().
| #define BE_64 | ( | x | ) |
Value:
(((uint64_t)(((uint8_t*)(x))[0]) << 56) | \
((uint64_t)(((uint8_t*)(x))[1]) << 48) | \
((uint64_t)(((uint8_t*)(x))[2]) << 40) | \
((uint64_t)(((uint8_t*)(x))[3]) << 32) | \
((uint64_t)(((uint8_t*)(x))[4]) << 24) | \
((uint64_t)(((uint8_t*)(x))[5]) << 16) | \
((uint64_t)(((uint8_t*)(x))[6]) << 8) | \
((uint64_t)( (uint8_t*)(x))[7]))
Definition at line 44 of file qt-faststart.c.
Referenced by main().
| #define BE_FOURCC | ( | ch0, | |||
| ch1, | |||||
| ch2, | |||||
| ch3 | ) |
Value:
( (uint32_t)(unsigned char)(ch3) | \ ((uint32_t)(unsigned char)(ch2) << 8) | \ ((uint32_t)(unsigned char)(ch1) << 16) | \ ((uint32_t)(unsigned char)(ch0) << 24) )
Definition at line 53 of file qt-faststart.c.
| #define CMOV_ATOM QT_ATOM('c', 'm', 'o', 'v') |
| #define CO64_ATOM QT_ATOM('c', 'o', '6', '4') |
| #define COPY_BUFFER_SIZE 1024 |
| #define FREE_ATOM QT_ATOM('f', 'r', 'e', 'e') |
| #define FTYP_ATOM QT_ATOM('f', 't', 'y', 'p') |
| #define JUNK_ATOM QT_ATOM('j', 'u', 'n', 'k') |
| #define MDAT_ATOM QT_ATOM('m', 'd', 'a', 't') |
| #define MOOV_ATOM QT_ATOM('m', 'o', 'o', 'v') |
| #define PICT_ATOM QT_ATOM('P', 'I', 'C', 'T') |
| #define PNOT_ATOM QT_ATOM('p', 'n', 'o', 't') |
| #define QT_ATOM BE_FOURCC |
Definition at line 59 of file qt-faststart.c.
| #define SKIP_ATOM QT_ATOM('s', 'k', 'i', 'p') |
| #define UUID_ATOM QT_ATOM('u', 'u', 'i', 'd') |
| #define WIDE_ATOM QT_ATOM('w', 'i', 'd', 'e') |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 79 of file qt-faststart.c.
1.5.8