Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 12 of 12) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dcq_test.cc69 size_t file_size() const { return file_size_; } in file_size() function in __anon3aeda7f30111::CQTest
92 static_cast<unsigned int>(file_size()) * 8 * 30 / (n_frames() * 1000); in TEST_P()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Dobj_int_extract.c784 long int file_size; in main() local
819 file_size = ftell(fp); in main()
820 file_buf = malloc(file_size); in main()
829 if (fread(file_buf, sizeof(char), file_size, fp) != file_size) { in main()
841 res = parse_macho(file_buf, file_size, mode); in main()
843 res = parse_elf(file_buf, file_size, mode); in main()
847 res = parse_coff(file_buf, file_size); in main()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c173 size_t file_size = 0; in mm_jpegdec_test_read() local
180 file_size = (size_t)ftell(fp); in mm_jpegdec_test_read()
184 __func__, __LINE__, file_size); in mm_jpegdec_test_read()
186 p_obj->input.size = file_size; in mm_jpegdec_test_read()
Dmm_jpeg_test.c223 size_t file_size = 0; in mm_jpeg_test_read() local
230 file_size = (size_t)ftell(fp); in mm_jpeg_test_read()
233 __func__, __LINE__, file_size, p_obj->input[idx].size); in mm_jpeg_test_read()
235 if (p_obj->input[idx].size > file_size) { in mm_jpeg_test_read()
/hardware/intel/common/libva/test/encode/
Dmpeg2vaenc.c575 long file_size; in parse_args() local
608 file_size = ftell(ctx->ifp); in parse_args()
611 if ((file_size < ctx->frame_size) || in parse_args()
612 (file_size % ctx->frame_size)) { in parse_args()
613 …err, "The input file size %ld isn't a multiple of the frame size %d\n", file_size, ctx->frame_size… in parse_args()
617 ctx->num_pictures = file_size / ctx->frame_size; in parse_args()
Dmpeg2enc.c575 long file_size; in parse_args() local
608 file_size = ftell(ctx->ifp); in parse_args()
611 if ((file_size < ctx->frame_size) || in parse_args()
612 (file_size % ctx->frame_size)) { in parse_args()
613 …err, "The input file size %ld isn't a multiple of the frame size %d\n", file_size, ctx->frame_size… in parse_args()
617 ctx->num_pictures = file_size / ctx->frame_size; in parse_args()
Davcenc.c1555 off_t file_size; in main() local
1619 file_size = ftello(yuv_fp); in main()
1622 if ( (file_size < frame_size) || (file_size % frame_size) ) { in main()
1627 frame_number = file_size / frame_size; in main()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c97 static int file_size(char *fname);
337 file_size(char *fname) in file_size() function
1268 if ((ret = file_size(fname)) < 0) in dhd_sprom()
1791 if ((fsize = file_size(fname)) < 0) { in dhd_download()
2017 if ((fsize = file_size(fname)) < 0) { in dhd_dldn()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c2200 size_t file_size = 0; in mm_jpeg_read_meta_keyfile() local
2207 file_size = (size_t)ftell(fp); in mm_jpeg_read_meta_keyfile()
2210 p_session->meta_enc_key = (uint8_t *) malloc((file_size + 1) * sizeof(uint8_t)); in mm_jpeg_read_meta_keyfile()
2217 fread(p_session->meta_enc_key, 1, file_size, fp); in mm_jpeg_read_meta_keyfile()
2220 p_session->meta_enc_keylen = file_size; in mm_jpeg_read_meta_keyfile()
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c487 long file_size; in signal_handler() local
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
Dgtest-all.cc8816 const size_t file_size = GetFileSize(file); in ReadEntireFile() local
8817 char* const buffer = new char[file_size]; in ReadEntireFile()
8827 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); in ReadEntireFile()
8829 } while (bytes_last_read > 0 && bytes_read < file_size); in ReadEntireFile()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp3209 long file_size; in encode_file() local