Home
last modified time | relevance | path

Searched refs:infile (Results 1 – 21 of 21) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Divfdec.c72 int ivf_read_frame(FILE *infile, uint8_t **buffer, in ivf_read_frame() argument
77 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { in ivf_read_frame()
78 if (!feof(infile)) in ivf_read_frame()
101 if (!feof(infile)) { in ivf_read_frame()
102 if (fread(*buffer, 1, frame_size, infile) != frame_size) { in ivf_read_frame()
Dvpxdec.c172 static int raw_read_frame(FILE *infile, uint8_t **buffer, in raw_read_frame() argument
177 if (fread(raw_hdr, RAW_FRAME_HDR_SZ, 1, infile) != 1) { in raw_read_frame()
178 if (!feof(infile)) in raw_read_frame()
207 if (!feof(infile)) { in raw_read_frame()
208 if (fread(*buffer, 1, frame_size, infile) != frame_size) { in raw_read_frame()
492 FILE *infile; in main_loop() local
650 infile = strcmp(fn, "-") ? fopen(fn, "rb") : set_binary_mode(stdin); in main_loop()
652 if (!infile) { in main_loop()
665 input.vpx_input_ctx->file = infile; in main_loop()
968 fclose(infile); in main_loop()
Divfdec.h21 int ivf_read_frame(FILE *infile, uint8_t **buffer,
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Ddecode_with_partial_drops.c196 FILE *infile, *outfile; in main() local
231 if(!(infile = fopen(argv[1], "rb"))) in main()
237 if(!(fread(file_hdr, 1, IVF_FILE_HDR_SZ, infile) == IVF_FILE_HDR_SZ in main()
251 while(fread(frame_hdr, 1, IVF_FRAME_HDR_SZ, infile) == IVF_FRAME_HDR_SZ) { in main()
260 if(fread(frame, 1, frame_sz, infile) != frame_sz) in main()
326 fclose(infile); in main()
Dvp8cx_set_ref.c96 FILE *infile = NULL; in main() local
157 if (!(infile = fopen(argv[3], "rb"))) in main()
163 while (vpx_img_read(&raw, infile)) { in main()
177 fclose(infile); in main()
Dsimple_encoder.c150 FILE *infile = NULL; in main() local
227 if (!(infile = fopen(infile_arg, "rb"))) in main()
233 while (vpx_img_read(&raw, infile)) { in main()
242 fclose(infile); in main()
Dtwopass_encoder.c123 FILE *infile = NULL; in main() local
193 if (!(infile = fopen(infile_arg, "rb"))) in main()
199 while (vpx_img_read(&raw, infile)) { in main()
218 fclose(infile); in main()
Dset_maps.c155 FILE *infile = NULL; in main() local
212 if (!(infile = fopen(argv[4], "rb"))) in main()
218 while (vpx_img_read(&raw, infile)) { in main()
233 fclose(infile); in main()
Dvp9_spatial_scalable_encoder.c296 FILE *infile = NULL; in main() local
308 if (!(infile = fopen(app_input.input_filename, "rb"))) in main()
336 vpx_img_read(&raw, infile); in main()
340 if (frame_cnt >= app_input.frames_to_code || !vpx_img_read(&raw, infile)) { in main()
373 fclose(infile); in main()
Dvp8_multi_resolution_encoder.c175 FILE *infile, *outfile[NUM_ENCODERS]; in main() local
227 if(!(infile = fopen(argv[3], "rb"))) in main()
369 frame_avail = read_frame_p(infile, &raw[0]); in main()
434 fclose(infile); in main()
Dvpx_temporal_scalable_patterns.c453 FILE *infile = NULL; in main() local
546 if (!(infile = fopen(argv[1], "rb"))) { in main()
608 frame_avail = vpx_img_read(&raw, infile); in main()
651 fclose(infile); in main()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
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, &b, 1, &got, NULL);
[all …]
/hardware/intel/img/libdrm/
Dmissing297 infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
303 }' $infile`
305 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_script.cpp1055 FILE *infile; in load_script() local
1065 infile = fopen(config, "r"); in load_script()
1097 if( (NULL == infile)){ in load_script()
1102 fseek(infile, 0, SEEK_END); in load_script()
1103 fileSize = ftell(infile); in load_script()
1104 fseek(infile, 0, SEEK_SET); in load_script()
1114 if ((nRead = fread(script, 1, fileSize, infile)) != fileSize) { in load_script()
1118 fclose(infile); in load_script()
1122 fclose(infile); in load_script()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_common.h90 FILE *infile; member
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_script.cpp1588 FILE *infile; in load_script() local
1593 infile = fopen(config, "r"); in load_script()
1601 if( (NULL == infile)){ in load_script()
1606 fseek(infile, 0, SEEK_END); in load_script()
1607 fileSize = ftell(infile); in load_script()
1608 fseek(infile, 0, SEEK_SET); in load_script()
1620 if ((nRead = fread(script, 1, fileSize, infile)) != fileSize) { in load_script()
1624 fclose(infile); in load_script()
1628 fclose(infile); in load_script()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp245 if (!m_debug.infile) { in venc_input_log_buffers()
254 m_debug.infile = fopen (m_debug.infile_name, "ab"); in venc_input_log_buffers()
255 if (!m_debug.infile) { in venc_input_log_buffers()
256 DEBUG_PRINT_HIGH("Failed to open input file: %s for logging", m_debug.infile); in venc_input_log_buffers()
261 if (m_debug.infile && pbuffer && pbuffer->nFilledLen) { in venc_input_log_buffers()
282 if (m_debug.infile) { in venc_input_log_buffers()
283 fwrite((const char *)buf_addr, y_size, 1, m_debug.infile); in venc_input_log_buffers()
284 fwrite((const char *)(buf_addr + c_offset), (y_size>>1), 1, m_debug.infile); in venc_input_log_buffers()
291 if (m_debug.infile) { in venc_input_log_buffers()
300 fwrite((const char *)ptrbuffer, framelen, 1, m_debug.infile); in venc_input_log_buffers()
[all …]
Dvideo_encoder_device_v4l2.cpp694 if (!m_debug.infile) { in venc_input_log_buffers()
701 m_debug.infile = fopen (m_debug.infile_name, "ab"); in venc_input_log_buffers()
702 if (!m_debug.infile) { in venc_input_log_buffers()
708 if (m_debug.infile && pbuffer && pbuffer->nFilledLen) { in venc_input_log_buffers()
722 fwrite(ptemp, m_sVenc_cfg.input_width, 1, m_debug.infile); in venc_input_log_buffers()
727 fwrite(ptemp, m_sVenc_cfg.input_width, 1, m_debug.infile); in venc_input_log_buffers()
737 fwrite(temp, m_sVenc_cfg.input_width, 1, m_debug.infile); in venc_input_log_buffers()
744 fwrite(temp, m_sVenc_cfg.input_width, 1, m_debug.infile); in venc_input_log_buffers()
1011 if (m_debug.infile) { in venc_close()
1012 fclose(m_debug.infile); in venc_close()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h301 FILE *infile; member
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_msm8974.cpp1325 if (m_debug.in_buffer_log && !m_debug.infile) { in log_input_buffers()
1353 m_debug.infile = fopen (m_debug.infile_name, "ab"); in log_input_buffers()
1354 if (!m_debug.infile) { in log_input_buffers()
1382 sizeof(file_header),1,m_debug.infile); in log_input_buffers()
1385 if (m_debug.infile && buffer_addr && buffer_len) { in log_input_buffers()
1397 sizeof(vp8_frame_header),1,m_debug.infile); in log_input_buffers()
1399 fwrite(buffer_addr, buffer_len, 1, m_debug.infile); in log_input_buffers()
6259 if (m_debug.infile) { in component_deinit()
6260 fclose(m_debug.infile); in component_deinit()
6261 m_debug.infile = NULL; in component_deinit()
Domx_vdec_hevc_swvdec.cpp1620 if (m_debug.in_buffer_log && !m_debug.infile) { in log_input_buffers()
1627 m_debug.infile = fopen (m_debug.infile_name, "ab"); in log_input_buffers()
1628 if (!m_debug.infile) { in log_input_buffers()
1634 if (m_debug.infile && buffer_addr && buffer_len) { in log_input_buffers()
1635 fwrite(buffer_addr, buffer_len, 1, m_debug.infile); in log_input_buffers()
6584 if (m_debug.infile) { in component_deinit()
6585 fclose(m_debug.infile); in component_deinit()
6586 m_debug.infile = NULL; in component_deinit()