47 #define AUDIO_FORMAT_SIGNED 401
75 v = strtol(s, NULL, 10);
119 if (!strcmp(name,
"__NUM_I_TRACKS")) {
121 }
else if (!strcmp(name,
"__NUM_A_TRACKS")) {
123 }
else if (!strcmp(name,
"COMMENT") || !strcmp(name,
"TITLE")) {
125 }
else if (!strcmp(name,
"LOOP_MODE") || !strcmp(name,
"NUM_LOOPS") ||
126 !strcmp(name,
"OPTIMIZED")) {
143 if (!strcmp(name,
"__DIR_COUNT")) {
145 }
else if (!strcmp(name,
"AUDIO_FORMAT")) {
147 }
else if (!strcmp(name,
"COMPRESSION")) {
149 }
else if (!strcmp(name,
"DEFAULT_VOL")) {
151 }
else if (!strcmp(name,
"NUM_CHANNELS")) {
153 }
else if (!strcmp(name,
"SAMPLE_RATE")) {
156 }
else if (!strcmp(name,
"SAMPLE_WIDTH")) {
172 if (!strcmp(name,
"__DIR_COUNT")) {
174 }
else if (!strcmp(name,
"COMPRESSION")) {
178 if (!strcmp(str,
"1")) {
180 }
else if (!strcmp(str,
"2")) {
183 }
else if (!strcmp(str,
"3")) {
185 }
else if (!strcmp(str,
"10")) {
187 }
else if (!strcmp(str,
"MVC2")) {
193 }
else if (!strcmp(name,
"FPS")) {
197 }
else if (!strcmp(name,
"HEIGHT")) {
199 }
else if (!strcmp(name,
"PIXEL_ASPECT")) {
204 }
else if (!strcmp(name,
"WIDTH")) {
206 }
else if (!strcmp(name,
"ORIENTATION")) {
211 }
else if (!strcmp(name,
"Q_SPATIAL") || !strcmp(name,
"Q_TEMPORAL")) {
213 }
else if (!strcmp(name,
"INTERLACING") || !strcmp(name,
"PACKING")) {
230 for (i = 0; i <
count; i++) {
234 name[
sizeof(
name) - 1] = 0;
236 if (
parse(avctx, st, name, size) < 0) {
245 uint64_t timestamp = 0;
286 vst->avg_frame_rate =
av_inv_q(vst->time_base);
301 vst->codec->codec_tag = 0;
326 for (i = 0; i < vst->nb_frames; i++) {
335 }
else if (!version &&
avio_rb16(pb) == 3) {
355 "Audio compression %i (format %i, sr %i)",
400 if (frame < st->nb_index_entries) {
403 if (index->
pos > pos)
405 else if (index->
pos < pos) {
439 int64_t timestamp,
int flags)
456 mv->
frame[i] = frame;