Searched refs:infile (Results 1 - 19 of 19) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Divfdec.h21 int ivf_read_frame(FILE *infile, uint8_t **buffer,
H A Divfdec.c72 int ivf_read_frame(FILE *infile, uint8_t **buffer, argument
77 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) {
78 if (!feof(infile))
101 if (!feof(infile)) {
102 if (fread(*buffer, 1, frame_size, infile) != frame_size) {
H A Dvpxdec.c172 static int raw_read_frame(FILE *infile, uint8_t **buffer, argument
177 if (fread(raw_hdr, RAW_FRAME_HDR_SZ, 1, infile) != 1) {
178 if (!feof(infile))
207 if (!feof(infile)) {
208 if (fread(*buffer, 1, frame_size, infile) != frame_size) {
492 FILE *infile; local
650 infile = strcmp(fn, "-") ? fopen(fn, "rb") : set_binary_mode(stdin);
652 if (!infile) {
665 input.vpx_input_ctx->file = infile;
968 fclose(infile);
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
H A Dsimple_encoder.c114 "Usage: %s <codec> <width> <height> <infile> <outfile> "
150 FILE *infile = NULL; local
227 if (!(infile = fopen(infile_arg, "rb")))
233 while (vpx_img_read(&raw, infile)) {
242 fclose(infile);
H A Dvp8cx_set_ref.c63 fprintf(stderr, "Usage: %s <width> <height> <infile> <outfile> <frame>\n",
96 FILE *infile = NULL; local
157 if (!(infile = fopen(argv[3], "rb")))
163 while (vpx_img_read(&raw, infile)) {
177 fclose(infile);
H A Ddecode_with_partial_drops.c196 FILE *infile, *outfile; local
212 die("Usage: %s <infile> <outfile> [-t <num threads>] <N-M|N/M|L,S>\n",
231 if(!(infile = fopen(argv[1], "rb")))
237 if(!(fread(file_hdr, 1, IVF_FILE_HDR_SZ, infile) == IVF_FILE_HDR_SZ
251 while(fread(frame_hdr, 1, IVF_FRAME_HDR_SZ, infile) == IVF_FRAME_HDR_SZ) {
260 if(fread(frame, 1, frame_sz, infile) != frame_sz)
326 fclose(infile);
H A Dset_maps.c59 fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n",
155 FILE *infile = NULL; local
212 if (!(infile = fopen(argv[4], "rb")))
218 while (vpx_img_read(&raw, infile)) {
233 fclose(infile);
H A Dtwopass_encoder.c64 fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n",
123 FILE *infile = NULL; local
193 if (!(infile = fopen(infile_arg, "rb")))
199 while (vpx_img_read(&raw, infile)) {
218 fclose(infile);
H A Dvp9_spatial_scalable_encoder.c296 FILE *infile = NULL; local
308 if (!(infile = fopen(app_input.input_filename, "rb")))
336 vpx_img_read(&raw, infile);
340 if (frame_cnt >= app_input.frames_to_code || !vpx_img_read(&raw, infile)) {
373 fclose(infile);
H A Dvp8_multi_resolution_encoder.c175 FILE *infile, *outfile[NUM_ENCODERS]; local
215 die("Usage: %s <width> <height> <infile> <outfile(s)> <output psnr?>\n",
227 if(!(infile = fopen(argv[3], "rb")))
369 frame_avail = read_frame_p(infile, &raw[0]);
434 fclose(infile);
H A Dvpx_temporal_scalable_patterns.c453 FILE *infile = NULL; local
460 die("Usage: %s <infile> <outfile> <codec_type(vp8/vp9)> <width> <height> "
546 if (!(infile = fopen(argv[1], "rb"))) {
608 frame_avail = vpx_img_read(&raw, infile);
651 fclose(infile);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
H A Domx_video_common.h90 FILE *infile; member in struct:venc_debug_cap
/hardware/intel/img/libdrm/
H A Dmissing297 infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
303 }' $infile`
305 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
H A DJPEGTest.c178 int ReadJpegSections (HANDLE infile, argument
181 int ReadJpegSections (FILE * infile,
190 lSize = GetFileSize(infile, NULL );
191 SetFilePointer(infile, 0, NULL, FILE_BEGIN);
193 fseek (infile , 0 , SEEK_END);
194 lSize = ftell (infile);
195 rewind (infile);
203 ReadFile(infile, &a, 1, &got, NULL);
205 a = fgetc(infile);
209 ReadFile(infile,
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device.cpp245 if (!m_debug.infile) {
254 m_debug.infile = fopen (m_debug.infile_name, "ab");
255 if (!m_debug.infile) {
256 DEBUG_PRINT_HIGH("Failed to open input file: %s for logging", m_debug.infile);
261 if (m_debug.infile && pbuffer && pbuffer->nFilledLen) {
282 if (m_debug.infile) {
283 fwrite((const char *)buf_addr, y_size, 1, m_debug.infile);
284 fwrite((const char *)(buf_addr + c_offset), (y_size>>1), 1, m_debug.infile);
291 if (m_debug.infile) {
300 fwrite((const char *)ptrbuffer, framelen, 1, m_debug.infile);
[all...]
H A Dvideo_encoder_device_v4l2.cpp694 if (!m_debug.infile) {
701 m_debug.infile = fopen (m_debug.infile_name, "ab");
702 if (!m_debug.infile) {
708 if (m_debug.infile && pbuffer && pbuffer->nFilledLen) {
722 fwrite(ptemp, m_sVenc_cfg.input_width, 1, m_debug.infile);
727 fwrite(ptemp, m_sVenc_cfg.input_width, 1, m_debug.infile);
737 fwrite(temp, m_sVenc_cfg.input_width, 1, m_debug.infile);
744 fwrite(temp, m_sVenc_cfg.input_width, 1, m_debug.infile);
1011 if (m_debug.infile) {
1012 fclose(m_debug.infile);
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
H A Domx_vdec.h301 FILE *infile; member in struct:debug_cap
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_msm8974.cpp1325 if (m_debug.in_buffer_log && !m_debug.infile) {
1353 m_debug.infile = fopen (m_debug.infile_name, "ab");
1354 if (!m_debug.infile) {
1382 sizeof(file_header),1,m_debug.infile);
1385 if (m_debug.infile && buffer_addr && buffer_len) {
1397 sizeof(vp8_frame_header),1,m_debug.infile);
1399 fwrite(buffer_addr, buffer_len, 1, m_debug.infile);
6259 if (m_debug.infile) {
6260 fclose(m_debug.infile);
6261 m_debug.infile
[all...]
H A Domx_vdec_hevc_swvdec.cpp1620 if (m_debug.in_buffer_log && !m_debug.infile) {
1627 m_debug.infile = fopen (m_debug.infile_name, "ab");
1628 if (!m_debug.infile) {
1634 if (m_debug.infile && buffer_addr && buffer_len) {
1635 fwrite(buffer_addr, buffer_len, 1, m_debug.infile);
6584 if (m_debug.infile) {
6585 fclose(m_debug.infile);
6586 m_debug.infile = NULL;

Completed in 284 milliseconds