#include <stdio.h>
#include <time.h>
#include <string.h>
#include "qtime.h"
Include dependency graph for qtime.c:
Go to the source code of this file.
Defines | |
#define | D(x) |
Functions | |
D (FILE *dbg) | |
void | putBigEndian (unsigned long d, int l) |
int | parse_special (void) |
int | parse (int top) |
int | qtime (const char *inFileName, const char *outFileName, int i_width, int i_height, int i_nframes, int i_sample_dur, int i_samplesPerChunk, int i_framesize, int i_timescale, int *i_sizes) |
Variables | |
FILE * | infile |
FILE * | outfile |
const char | hexStr [] = "0123456789abcdef" |
char | comStr [1024] |
int | width = 1280 |
int | height = 1024 |
int | nframes = 100 |
int | sample_dur = 80 |
int | samplesPerChunk = 10 |
int | framesize = 80000 |
int | timescale = 600 |
int * | sizes |
long | headerSize = 0 |
D | ( | FILE * | dbg | ) |
Definition at line 95 of file qtime.c.
References comStr, D, hexStr, infile, outfile, parse(), parse_special(), and putBigEndian().
int parse_special | ( | void | ) |
Definition at line 38 of file qtime.c.
References D, framesize, headerSize, height, infile, nframes, putBigEndian(), sample_dur, samplesPerChunk, sizes, time, timescale, and width.
void putBigEndian | ( | unsigned long | d, | |
int | l | |||
) |
int qtime | ( | const char * | inFileName, | |
const char * | outFileName, | |||
int | i_width, | |||
int | i_height, | |||
int | i_nframes, | |||
int | i_sample_dur, | |||
int | i_samplesPerChunk, | |||
int | i_framesize, | |||
int | i_timescale, | |||
int * | i_sizes | |||
) |
Definition at line 165 of file qtime.c.
References D, framesize, headerSize, height, infile, nframes, outfile, parse(), sample_dur, samplesPerChunk, sizes, timescale, and width.
Referenced by send_quicktime(), and send_quicktime_clip().
long headerSize = 0 |
FILE* infile |
FILE* outfile |
Definition at line 9 of file qtime.c.
Referenced by dma2bmp(), dma2jpeg(), parse(), putBigEndian(), and qtime().
int sample_dur = 80 |
int samplesPerChunk = 10 |