Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dvideo_writer.c19 FILE *file; member
23 static void write_header(FILE *file, const VpxVideoInfo *info, in write_header() argument
31 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count); in write_header()
39 FILE *const file = fopen(filename, "wb"); in vpx_video_writer_open() local
40 if (!file) in vpx_video_writer_open()
49 writer->file = file; in vpx_video_writer_open()
51 write_header(writer->file, info, 0); in vpx_video_writer_open()
62 rewind(writer->file); in vpx_video_writer_close()
63 write_header(writer->file, &writer->info, writer->frame_count); in vpx_video_writer_close()
65 fclose(writer->file); in vpx_video_writer_close()
[all …]
Dvpxstats.c24 stats->file = fopen(fpf, "wb"); in stats_open_file()
27 res = (stats->file != NULL); in stats_open_file()
34 stats->file = fdopen(fd, "rb"); in stats_open_file()
42 stats->file = fopen(fpf, "rb"); in stats_open_file()
44 if (fseek(stats->file, 0, SEEK_END)) in stats_open_file()
47 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file); in stats_open_file()
48 rewind(stats->file); in stats_open_file()
56 nbytes = fread(stats->buf.buf, 1, stats->buf.sz, stats->file); in stats_open_file()
80 if (stats->file) { in stats_close()
89 fclose(stats->file); in stats_close()
[all …]
Dvideo_reader.c23 FILE *file; member
32 FILE *const file = fopen(filename, "rb"); in vpx_video_reader_open() local
33 if (!file) in vpx_video_reader_open()
36 if (fread(header, 1, 32, file) != 32) in vpx_video_reader_open()
49 reader->file = file; in vpx_video_reader_open()
61 fclose(reader->file); in vpx_video_reader_close()
68 return !ivf_read_frame(reader->file, &reader->buffer, &reader->frame_size, in vpx_video_reader_read_frame()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dand_constructor.c36 FILE *file; member
126 if (inv_construct.file == NULL) { in inv_playback()
127 inv_construct.file = fopen(playback_filename, "rb"); in inv_playback()
128 if (!inv_construct.file) { in inv_playback()
136 r = fread(&type, sizeof(type), 1, inv_construct.file); in inv_playback()
140 fclose(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()
[all …]
/hardware/bsp/intel/peripheral/libupm/doxy/node/
Dtolower.js60 return fs.readdirSync(directory).map(function (file) { argument
61 return path.join(directory, file);
62 }).filter(function (file) { argument
63 return fs.statSync(file).isFile();
64 }).filter(function (file) { argument
65 return path.extname(file).toLowerCase() == ".html";
73 files.forEach(function (file) argument
75 var originalName = path.basename(file);
77 var directory = path.dirname(file);
80 fs.renameSync(file, directory + "/" + newFileName); //, function(err)
[all …]
/hardware/ti/omap4-aah/domx/mm_osal/src/
Dtimm_osal_trace.c82 static const char *simplify_path(const char *file) in simplify_path() argument
84 while (file) in simplify_path()
86 char c = file[0]; in simplify_path()
89 file++; in simplify_path()
91 return file; in simplify_path()
142 ALOGD("%s:%d\t%s()\t", simplify_path(loc->file), loc->line, in __TIMM_OSAL_TraceFunction()
147 ALOGD("%s:%d\t%s()\t", simplify_path(loc->file), loc->line, in __TIMM_OSAL_TraceFunction()
159 printf("%s:%d\t%s()\t", simplify_path(loc->file), loc->line, in __TIMM_OSAL_TraceFunction()
164 printf("%s:%d\t%s()\t", simplify_path(loc->file), loc->line, in __TIMM_OSAL_TraceFunction()
/hardware/ti/omap4xxx/domx/mm_osal/src/
Dtimm_osal_trace.c81 static const char *simplify_path(const char *file) in simplify_path() argument
83 while (file) in simplify_path()
85 char c = file[0]; in simplify_path()
88 file++; in simplify_path()
90 return file; in simplify_path()
112 ALOGD("%s:%d\t%s()\t", simplify_path(loc->file), loc->line, in __TIMM_OSAL_TraceFunction()
122 printf("%s:%d\t%s()\t", simplify_path(loc->file), loc->line, in __TIMM_OSAL_TraceFunction()
/hardware/libhardware/modules/thermal/
Dthermal.c41 FILE *file; in get_temperatures() local
59 file = fopen(file_name, "r"); in get_temperatures()
60 if (file == NULL) { in get_temperatures()
63 if (1 != fscanf(file, "%f", &temp)) { in get_temperatures()
64 fclose(file); in get_temperatures()
78 fclose(file); in get_temperatures()
95 FILE *file = fopen(CPU_USAGE_FILE, "r"); in get_cpu_usages() local
97 if (file == NULL) { in get_cpu_usages()
102 while ((read = getline(&line, &len, file)) != -1) { in get_cpu_usages()
119 fclose(file); in get_cpu_usages()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
DAndroid.mk94 $$(call get-src-file-target-cflags,$(2)) \
105 $$(eval $$(call ev-build-file))
144 LOCAL_SRC_FILES += $(foreach file, $(LOCAL_CODEC_SRCS_C), libvpx/$(file))
145 LOCAL_SRC_FILES += $(foreach file, $(LOCAL_NEON_SRCS_C), libvpx/$(file).neon)
185 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vp8_rtcd.h
188 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vp9_rtcd.h
190 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_scale_rtcd.h
Dgen_msvs_sln.sh22 This script generates a Visual Studio 2005 solution file from a list of project
27 --out=outfile Redirect output to a file
57 local file=$1
59 local name=`grep Name "$file" | awk 'BEGIN {FS="\""}{if (NR==1) print $2}'`
60 local guid=`grep ProjectGUID "$file" | awk 'BEGIN {FS="\""}{if (NR==1) print $2}'`
62 local name=`grep RootNamespace "$file" | sed 's,.*<.*>\(.*\)</.*>.*,\1,'`
63 local guid=`grep ProjectGuid "$file" | sed 's,.*<.*>\(.*\)</.*>.*,\1,'`
69 var=${file##*/}
76 cur_config_list=`grep -A1 '<Configuration' $file |
79 cur_config_list=`grep -B1 'Label="Configuration"' $file |
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/
Dvpx_mem_tracker.c81 static void memory_tracker_check_integrity(char *file, unsigned int line);
83 char *file, unsigned int line,
124 FILE *file; member
233 if (!g_logging.type && g_logging.file && g_logging.file != stderr) { in vpx_memory_tracker_destroy()
234 fclose(g_logging.file); in vpx_memory_tracker_destroy()
235 g_logging.file = NULL; in vpx_memory_tracker_destroy()
255 char *file, unsigned int line, in vpx_memory_tracker_add() argument
257 memory_tracker_add(addr, size, file, line, padded); in vpx_memory_tracker_add()
311 void vpx_memory_tracker_check_integrity(char *file, unsigned int line) { in vpx_memory_tracker_check_integrity() argument
313 memory_tracker_check_integrity(file, line); in vpx_memory_tracker_check_integrity()
[all …]
Dvpx_mem.h123 extern void vpx_memory_tracker_check_integrity(char *file, unsigned int line);
139 void *xvpx_memalign(size_t align, size_t size, char *file, int line);
140 void *xvpx_malloc(size_t size, char *file, int line);
141 void *xvpx_calloc(size_t num, size_t size, char *file, int line);
142 void *xvpx_realloc(void *memblk, size_t size, char *file, int line);
143 void xvpx_free(void *memblk, char *file, int line);
144 void *xvpx_mem_alloc(int id, size_t size, size_t align, char *file, int line);
145 void xvpx_mem_free(int id, void *mem, size_t size, char *file, int line);
Dvpx_mem.c204 void *xvpx_memalign(size_t align, size_t size, char *file, int line) { in xvpx_memalign() argument
255 vpx_memory_tracker_add((size_t)x, (unsigned int)size, file, line, 1); in xvpx_memalign()
260 void *xvpx_malloc(size_t size, char *file, int line) { in xvpx_malloc() argument
261 return xvpx_memalign(DEFAULT_ALIGNMENT, size, file, line); in xvpx_malloc()
264 void *xvpx_calloc(size_t num, size_t size, char *file, int line) { in xvpx_calloc() argument
265 void *x = xvpx_memalign(DEFAULT_ALIGNMENT, num * size, file, line); in xvpx_calloc()
273 void *xvpx_realloc(void *memblk, size_t size, char *file, int line) { in xvpx_realloc() argument
301 orig_file = p->file; in xvpx_realloc()
306 vpx_memory_tracker_check_integrity(file, line); in xvpx_realloc()
344 vpx_memory_tracker_add((size_t)x, (unsigned int)size, file, line, 1); in xvpx_realloc()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_debugmodes.c25 static void print_mi_data(VP9_COMMON *cm, FILE *file, const char *descriptor, in print_mi_data() argument
35 log_frame_info(cm, descriptor, file); in print_mi_data()
38 fprintf(file, "%c ", prefix); in print_mi_data()
40 fprintf(file, "%2d ", in print_mi_data()
45 fprintf(file, "\n"); in print_mi_data()
48 fprintf(file, "\n"); in print_mi_data()
50 void vp9_print_modes_and_motion_vectors(VP9_COMMON *cm, const char *file) { in vp9_print_modes_and_motion_vectors() argument
54 FILE *mvs = fopen(file, "a"); in vp9_print_modes_and_motion_vectors()
/hardware/ti/omap4xxx/domx/omx_core/inc/
DOMX_DebugMem.h40 const char* file, const char* func, int line);
42 const char* file, const char* func, int line);
44 const char* file, const char* func, int line);
46 const char* file, const char* func, int line);
48 const char* file, const char* func, int line);
50 void OMX_DebugMem_dump(const char *file, const char *func, int line);
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
DOMX_DebugMem.h16 const char* file, const char* func, int line);
18 const char* file, const char* func, int line);
20 const char* file, const char* func, int line);
22 const char* file, const char* func, int line);
24 const char* file, const char* func, int line);
26 void OMX_DebugMem_dump(const char *file, const char *func, int line);
/hardware/ti/omap4-aah/domx/omx_core/inc/
DOMX_DebugMem.h40 const char* file, const char* func, int line);
42 const char* file, const char* func, int line);
44 const char* file, const char* func, int line);
46 const char* file, const char* func, int line);
48 const char* file, const char* func, int line);
50 void OMX_DebugMem_dump(const char *file, const char *func, int line);
/hardware/intel/common/libva/doc/
DMakefile.am51 for file in `ls html-out/` ; do \
52 if test -f html-out/$$file ; then \
53 install -m 0644 html-out/$$file $(DESTDIR)$(docdir)/html ; \
55 install -d $(DESTDIR)$(docdir)/html/$$file ; \
56 install -m 0644 html-out/$$file/* $(DESTDIR)$(docdir)/html/$$file; \
/hardware/bsp/intel/peripheral/libmraa/tests/
Dcheck_samplenames.py28 for file in os.listdir(cSamplesDir):
29 if file == cSampleName:
38 for file in os.listdir(cppSamplesDir):
39 if file == cSampleName:
49 for file in os.listdir(javaSamplesDir):
50 if file == javaSampleName:
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.c52 FILE *file; member
67 void inv_turn_on_data_logging(FILE *file) in inv_turn_on_data_logging() argument
70 inv_data_builder.file = file; in inv_turn_on_data_logging()
81 inv_data_builder.file = NULL; in inv_turn_off_data_logging()
249 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
250 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
251 fwrite(&sensitivity, sizeof(sensitivity), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
266 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_gyro_sample_rate()
267 fwrite(&sample_rate_us, sizeof(sample_rate_us), 1, inv_data_builder.file); in inv_set_gyro_sample_rate()
285 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_accel_sample_rate()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Ddata_builder.c53 FILE *file; member
68 void inv_turn_on_data_logging(FILE *file) in inv_turn_on_data_logging() argument
71 inv_data_builder.file = file; in inv_turn_on_data_logging()
82 inv_data_builder.file = NULL; in inv_turn_off_data_logging()
250 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
251 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
252 fwrite(&sensitivity, sizeof(sensitivity), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
267 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_gyro_sample_rate()
268 fwrite(&sample_rate_us, sizeof(sample_rate_us), 1, inv_data_builder.file); in inv_set_gyro_sample_rate()
286 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_accel_sample_rate()
[all …]
/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/
DOMX_TI_Debug.h189 #define OMX_DBG_INITALL(dbg, tag_str, file) \ argument
206 if (file && !strncmp(ptr, "_ERR", 4) && isspace(ptr[4])) { \
210 } else if (file && !strncmp(ptr, "_OUT", 4) && isspace(ptr[4])) { \
221 if (file) { \
290 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ argument
292 … if ((file) && (OMX_U32) (level * domain) >= (OMX_U32) ((mask) & (domain * OMX_DBG_MAX_LEVEL))) \
297 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ argument
299 … if ((file) && (OMX_U32) (level * domain) >= (OMX_U32) ((mask) & (domain * OMX_DBG_MAX_LEVEL))) { \
300 if (file == stderr || file == stdout) { \
304 fprintf((file), \
[all …]
/hardware/bsp/intel/peripheral/libupm/cmake/modules/
DGetGitRevisionDescription.cmake.in2 # Internal file for GetGitRevisionDescription.cmake
13 # (See accompanying file LICENSE_1_0.txt or copy at
18 file(READ "@HEAD_FILE@" HEAD_CONTENTS LIMIT 1024)
36 file(READ "@GIT_DATA@/head-ref" HEAD_HASH LIMIT 1024)
/hardware/bsp/intel/peripheral/libmraa/cmake/modules/
DGetGitRevisionDescription.cmake.in2 # Internal file for GetGitRevisionDescription.cmake
13 # (See accompanying file LICENSE_1_0.txt or copy at
18 file(READ "@HEAD_FILE@" HEAD_CONTENTS LIMIT 1024)
36 file(READ "@GIT_DATA@/head-ref" HEAD_HASH LIMIT 1024)
/hardware/intel/common/libmix/mix_common/src/
Dmixlog.c100 void mix_log_func(const gchar* comp, gint level, const gchar *file, in mix_log_func() argument
123 if (g_hash_table_lookup(g_defile_ht, file)) { in mix_log_func()
141 g_print("%s : %s : %s : ", loglevel[level - 1], file, func); in mix_log_func()
193 void mix_log_func(const gchar* comp, gint level, const gchar *file, in mix_log_func() argument
228 if (mix_shall_delog(file, MIX_DELOG_FILES)) { in mix_log_func()
244 g_print("%s : %s : %s : ", loglevel[level - 1], file, func); in mix_log_func()

12345678910>>...16