Lines Matching refs:FILE
5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
61 /* We should use 32-bit file operations in WebM file format
62 * when building ARM executable file (.axf) with RVCT */
116 FILE *file;
129 stats->file = fopen(fpf, "wb");
132 res = (stats->file != NULL);
142 stats->file = fdopen(fd, "rb");
151 stats->file = fopen(fpf, "rb");
153 if (fseek(stats->file, 0, SEEK_END))
155 fprintf(stderr, "First-pass stats file must be seekable!\n");
159 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file);
160 rewind(stats->file);
171 nbytes = fread(stats->buf.buf, 1, stats->buf.sz, stats->file);
199 if (stats->file)
211 fclose(stats->file);
212 stats->file = NULL;
223 if (stats->file)
225 if(fwrite(pkt, 1, len, stats->file));
274 static int read_frame(FILE *f, vpx_image_t *img, unsigned int file_type,
348 unsigned int file_is_y4m(FILE *infile,
360 unsigned int file_is_ivf(FILE *infile,
372 /* See write_ivf_file_header() for more documentation on the file header
382 fprintf(stderr, "Error: Unrecognized IVF version! This file may not"
400 static void write_ivf_file_header(FILE *outfile,
428 static void write_ivf_frame_header(FILE *outfile,
460 FILE *stream;
871 "Input file is YV12 ");
873 "Input file is I420 (default)");
881 "First pass statistics file name");
1093 FILE *infile, *outfile;
1243 * from the file or set on the command line.
1381 die("Error: Output file is required (specify with -o)\n");
1391 /* Parse certain options from the input file, if possible */
1397 fprintf(stderr, "Failed to open input file\n");
1415 /* Use the frame rate from the file only if none was specified
1466 fprintf(stderr, "Source file: %s Format: %s\n", in_fn,
1468 fprintf(stderr, "Destination file: %s\n", out_fn);
1518 fprintf(stderr, "Failed to open output file\n");