/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | ivfdec.h | 21 int ivf_read_frame(FILE *infile, uint8_t **buffer,
|
H A D | ivfdec.c | 72 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 D | vpxdec.c | 172 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 D | simple_encoder.c | 114 "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 D | vp8cx_set_ref.c | 63 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 D | decode_with_partial_drops.c | 196 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 D | set_maps.c | 59 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 D | twopass_encoder.c | 64 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 D | vp9_spatial_scalable_encoder.c | 296 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 D | vp8_multi_resolution_encoder.c | 175 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 D | vpx_temporal_scalable_patterns.c | 453 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 D | omx_video_common.h | 90 FILE *infile; member in struct:venc_debug_cap
|
/hardware/intel/img/libdrm/ |
H A D | missing | 297 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 D | JPEGTest.c | 178 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 D | video_encoder_device.cpp | 245 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 D | video_encoder_device_v4l2.cpp | 694 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 D | omx_vdec.h | 301 FILE *infile; member in struct:debug_cap
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_msm8974.cpp | 1325 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 D | omx_vdec_hevc_swvdec.cpp | 1620 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;
|