Home
last modified time | relevance | path

Searched refs:fread (Results 1 – 25 of 133) sorted by relevance

123456

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dand_constructor.c136 r = fread(&type, sizeof(type), 1, inv_construct.file); in inv_playback()
146 r = fread(gyro, sizeof(gyro[0]), 3, inv_construct.file); in inv_playback()
147 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback()
155 r = fread(buffer, sizeof(buffer[0]), 3, inv_construct.file); in inv_playback()
156 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback()
166 r = fread(buffer, sizeof(buffer[0]), 3, inv_construct.file); in inv_playback()
167 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback()
175 r = fread(buffer, sizeof(buffer[0]), 1, inv_construct.file); in inv_playback()
176 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback()
184 r = fread(buffer, sizeof(buffer[0]), 4, inv_construct.file); in inv_playback()
[all …]
/hardware/intel/img/psb_video/fw/topazsc/
Dfwinfo.c154 fread(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main()
169 fread(&read_data, 1, 4, fp); in main()
177 fread(&read_data, 1, 4, fp); in main()
205 fread(&fw, sizeof(fw), 1, fp); in main()
216 fread(&fw, sizeof(fw), 1, fp); in main()
/hardware/intel/img/psb_video/fw/topazhp/
Dfwinfo.c154 fread(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main()
169 fread(&read_data, 1, 4, fp); in main()
177 fread(&read_data, 1, 4, fp); in main()
205 fread(&fw, sizeof(fw), 1, fp); in main()
216 fread(&fw, sizeof(fw), 1, fp); in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Divfdec.c44 if (fread(raw_hdr, 1, 32, input_ctx->file) == 32) { in file_is_ivf()
77 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { in ivf_read_frame()
102 if (fread(*buffer, 1, frame_size, infile) != frame_size) { in ivf_read_frame()
Dvideo_reader.c36 if (fread(header, 1, 32, file) != 32) in vpx_video_reader_open()
Dtools_common.c122 shortread |= (fread(ptr + buf_position, 1, needed, f) < needed); in read_yuv_frame()
248 if (fread(buf, 1, w, file) != w) in vpx_img_read()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Divf_video_source.h61 ASSERT_EQ(kIvfFileHdrSize, fread(file_hdr, 1, kIvfFileHdrSize, input_file_)) in Begin()
79 if (fread(frame_hdr, 1, kIvfFrameHdrSize, input_file_) in FillFrame()
89 fread(compressed_frame_buf_, 1, frame_sz_, input_file_)) in FillFrame()
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dssr.c171 fread(ssrmod.real_coeffs[0], sizeof(int16), FILT_SIZE, flt1r); in ssr_read_coeffs_from_file()
174 fread(ssrmod.real_coeffs[1], sizeof(int16), FILT_SIZE, flt2r); in ssr_read_coeffs_from_file()
177 fread(ssrmod.real_coeffs[2], sizeof(int16), FILT_SIZE, flt3r); in ssr_read_coeffs_from_file()
180 fread(ssrmod.real_coeffs[3], sizeof(int16), FILT_SIZE, flt4r); in ssr_read_coeffs_from_file()
185 fread(ssrmod.imag_coeffs[0], sizeof(int16), FILT_SIZE, flt1i); in ssr_read_coeffs_from_file()
188 fread(ssrmod.imag_coeffs[1], sizeof(int16), FILT_SIZE, flt2i); in ssr_read_coeffs_from_file()
191 fread(ssrmod.imag_coeffs[2], sizeof(int16), FILT_SIZE, flt3i); in ssr_read_coeffs_from_file()
194 fread(ssrmod.imag_coeffs[3], sizeof(int16), FILT_SIZE, flt4i); in ssr_read_coeffs_from_file()
/hardware/intel/img/psb_video/fw/msvdx/
Dmsvdx_bin.c105 fread(buf, 1, LINKED_LIST_SIZE, fp_ll_dma); in main()
140 fread(buf1, 1, LINKED_LIST_SIZE, fp_ll_dma); in main()
181 fread(buf2, 1, LINKED_LIST_SIZE, fp_ll_dma); in main()
220 fread(buf3, 1, LINKED_LIST_SIZE + FIP_SIZE, fp_ll_dma); in main()
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/test/
Dmm_lib2d_test.c230 i = fread(y_ptr, 1, y_size, fp); in lib2d_test_load_input_yuv_data()
231 i = fread(crcb_ptr, 1, crcb_size, fp); in lib2d_test_load_input_yuv_data()
282 i = fread(y_ptr, 1, (input_yuv_stride * height), fp); in lib2d_test_load_input_yuv_data_linebyline()
284 i = fread(crcb_ptr, 1, (input_yuv_stride * height / 2), fp); in lib2d_test_load_input_yuv_data_linebyline()
289 i = fread(y_ptr, 1, input_yuv_stride, fp); in lib2d_test_load_input_yuv_data_linebyline()
293 i = fread(crcb_ptr, 1, input_yuv_stride, fp); in lib2d_test_load_input_yuv_data_linebyline()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXDccDataSave.cpp176 if (fread(&dccFileIDword, sizeof(OMX_U32), 1, pFile) != 1) { in parseDCCsubDir()
260 if (fread(&dccNumUseCases, sizeof(OMX_U32), 1, pFile) != 1 || in fseekDCCuseCasePos()
268 if (fread(dccUseCaseData, sizeof(OMX_U32), 3, pFile) != 3) { in fseekDCCuseCasePos()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ducode_download.c153 tmp_len = fread(&main_trx_hdr, sizeof(uint8), maintrx_hdr_len, fp); in proc_ucode_download()
176 status = fread(ucode_trx_hdr, sizeof(uint8), in proc_ucode_download()
193 tmp_len = fread(ucodetrx_buf, sizeof(uint8), in proc_ucode_download()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Ddecode_with_partial_drops.c237 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()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamInALSA.cpp826 fread(mRealCoeffs[0], sizeof(int16), FILT_SIZE, flt1r); in readCoeffsFromFile()
829 fread(mRealCoeffs[1], sizeof(int16), FILT_SIZE, flt2r); in readCoeffsFromFile()
832 fread(mRealCoeffs[2], sizeof(int16), FILT_SIZE, flt3r); in readCoeffsFromFile()
835 fread(mRealCoeffs[3], sizeof(int16), FILT_SIZE, flt4r); in readCoeffsFromFile()
840 fread(mImagCoeffs[0], sizeof(int16), FILT_SIZE, flt1i); in readCoeffsFromFile()
843 fread(mImagCoeffs[1], sizeof(int16), FILT_SIZE, flt2i); in readCoeffsFromFile()
846 fread(mImagCoeffs[2], sizeof(int16), FILT_SIZE, flt3i); in readCoeffsFromFile()
849 fread(mImagCoeffs[3], sizeof(int16), FILT_SIZE, flt4i); in readCoeffsFromFile()
DAudioUtil.cpp144 fread(data, 1, size, fpaudiocaps); in getHDMIAudioSinkCaps()
224 fread(data,1,size,fpspkrfile); in getSpeakerAllocation()
/hardware/qcom/display/msm8084/libqdutils/
Dqd_utils.cpp47 fread(fbType, sizeof(char), MAX_FRAME_BUFFER_NAME_SIZE, in getHDMINode()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_load_dmp.c262 i = fread(dmp_img, 1, dmpSize, fp); in read_dmp_img()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
Dmkvreader.cpp120 const size_t size = fread(buffer, 1, len, m_file); in Read()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c1646 nRead = fread(pBuf->pBuffer, 1, 70, fIn); in fill_data()
1651 nRead += fread(pBuf->pBuffer + byteOffset, 1, 5, fIn); in fill_data()
1656 nRead += fread(pBuf->pBuffer + byteOffset, 1, packetSize, fIn); in fill_data()
1662 fread(&temp,5,1,fIn); // moving file 5 bytes in fill_data()
1665 nRead = fread(pBuf->pBuffer, 1, payload, fIn); in fill_data()
1705 nRead = fread(pBuf->pBuffer, 1,75 , fIn); in fill_data_tc7()
1707 fread(tempBuffer, 1, 19500, fIn); in fill_data_tc7()
1711 nRead += fread(pBufferOffset, 1, pBuf->nAllocLen-75, fIn); in fill_data_tc7()
1715 nRead = fread(pBuf->pBuffer, 1, pBuf->nAllocLen , fIn); in fill_data_tc7()
1741 nRead = fread(pBuffer, 1, 70, fIn); in calc_buff_size()
[all …]
/hardware/intel/common/libva/test/decode/
Dloadjpeg.c77 fread(buf, length_of_file, 1, fp); in convert_one_image()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_load_dmp.c297 i = fread(dmp_img, 1, dmpSize, fp); in read_dmp_img()
/hardware/intel/common/utils/ISV/profile/
Disv_profile.cpp327 int len = (int)::fread(pBuf, 1, mBufSize, fp); in getDataFromXmlFile()
372 if (fread(xml_buf, 1, MAX_BUF_SIZE, config_handle) <= 0) { in getGlobalStatus()
395 if(fread(buf, 1, MAXLEN, setting_handle) <= 0) { in getGlobalStatus()
/hardware/qcom/display/msm8226/libqdutils/
Dqd_utils.cpp48 fread(fbType, sizeof(char), MAX_FRAME_BUFFER_NAME_SIZE, in getHDMINode()
/hardware/qcom/display/msm8994/libqdutils/
Dqd_utils.cpp47 fread(fbType, sizeof(char), MAX_FRAME_BUFFER_NAME_SIZE, in getHDMINode()
/hardware/qcom/display/msm8909/libqdutils/
Dqd_utils.cpp47 fread(fbType, sizeof(char), MAX_FRAME_BUFFER_NAME_SIZE, in getHDMINode()

123456