Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 13 of 13) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_helper.c43 int mm_camera_dump_image(void *addr, uint32_t size, char *filename) in mm_camera_dump_image() argument
45 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); in mm_camera_dump_image()
53 CDBG("%s: %s, size=%d\n", __func__, filename, size); in mm_camera_dump_image()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c50 #define DUMP_TO_FILE(filename, p_addr, len) ({ \ argument
51 FILE *fp = fopen(filename, "w+"); \
63 char *filename; member
71 char *filename; member
173 fp = fopen(p_obj->filename, "rb"); in mm_jpegdec_test_read()
237 p_obj->filename = p_input->filename; in decode_init()
343 p_test->filename = optarg; in mm_jpegdec_test_get_input()
344 fprintf(stderr, "%-25s%s\n", "Input image path", p_test->filename); in mm_jpegdec_test_get_input()
367 if (!p_test->filename || !p_test->filename || !p_test->width || in mm_jpegdec_test_get_input()
409 p_input->filename, p_input->out_filename, in decode_test()
Dmm_jpeg_test.c44 #define DUMP_TO_FILE(filename, p_addr, len) ({ \ argument
45 FILE *fp = fopen(filename, "w+"); \
63 char *filename; member
103 char *filename[MAX_NUM_BUFS]; member
224 fp = fopen(p_obj->filename[idx], "rb"); in mm_jpeg_test_read()
255 p_obj->filename[i] = p_in->filename; in encode_init()
301 } while((++p_in)->filename); in encode_init()
568 p_test->filename = in_files[i]; in mm_jpeg_test_get_input()
/device/asus/fugu/recovery/
Drecovery_updater.c287 char *filename = NULL; in FlashIfwiFuguFn() local
296 if (ReadArgs(state, argv, 1, &filename) < 0) { in FlashIfwiFuguFn()
301 if (filename == NULL || strlen(filename) == 0) { in FlashIfwiFuguFn()
306 if ((f = fopen(filename,"rb")) == NULL) { in FlashIfwiFuguFn()
307 ErrorAbort(state, "Unable to open file %s: %s ", filename, strerror(errno)); in FlashIfwiFuguFn()
336 if (filename) in FlashIfwiFuguFn()
337 free(filename); in FlashIfwiFuguFn()
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c42 #define DUMP_TO_FILE(filename, p_addr, len) ({ \ argument
44 FILE *fp = fopen(filename, "w+"); \
56 char *filename; member
67 char *filename; member
146 fp = fopen(p_obj->filename, "rb"); in mm_jpeg_test_read()
174 p_obj->filename = p_input->filename; in encode_init()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c42 #define DUMP_TO_FILE(filename, p_addr, len) ({ \ argument
43 FILE *fp = fopen(filename, "w+"); \
55 char *filename; member
66 char *filename; member
144 fp = fopen(p_obj->filename, "rb"); in mm_jpeg_test_read()
172 p_obj->filename = p_input->filename; in encode_init()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h79 #define DUMP_TO_FILE(filename, p_addr, len) ({ \ argument
81 FILE *fp = fopen(filename, "w+"); \
87 CDBG_ERROR("%s:%d] open %s failed", __func__, __LINE__, filename); \
98 #define DUMP_TO_FILE2(filename, p_addr1, len1, paddr2, len2) ({ \ argument
100 FILE *fp = fopen(filename, "w+"); \
107 CDBG_ERROR("%s:%d] open %s failed", __func__, __LINE__, filename); \
/device/moto/shamu/
Dreleasetools.py255 filename = "%s.img" % image.name
257 filename = "%s.%s" % (group_name,filename)
265 common.ZipWriteStr(info.output_zip, filename, image.data)
268 (filename, device))
/device/moto/shamu/camera/QCamera2/stack/common/
Dcam_types.h60 char filename[CAM_FN_CNT]; \
62 snprintf(filename, CAM_FN_CNT-1, "%s/%s%d.%s", path, name, index, extn); \
64 snprintf(filename, CAM_FN_CNT-1, "%s/%s.%s", path, name, extn); \
65 FILE *fp = fopen(filename, "w+"); \
71 ALOGE("%s:%d] open %s failed", __func__, __LINE__, filename); \
/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp114 char *filename; in find_type_by_name() local
139 filename = (char *)malloc(size); in find_type_by_name()
141 if (filename == NULL) in find_type_by_name()
144 snprintf(filename, size, in find_type_by_name()
148 int fd = open(filename, O_RDONLY); in find_type_by_name()
149 free(filename); in find_type_by_name()
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c56 #define DUMP_TO_FILE(filename, p_addr, len) ({ \ argument
58 FILE *fp = fopen(filename, "w+"); \
64 CDBG_ERROR("%s:%d] open %s failed", __func__, __LINE__, filename); \
75 #define DUMP_TO_FILE2(filename, p_addr1, len1, paddr2, len2) ({ \ argument
77 FILE *fp = fopen(filename, "w+"); \
84 CDBG_ERROR("%s:%d] open %s failed", __func__, __LINE__, filename); \
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c58 #define DUMP_TO_FILE(filename, p_addr, len) ({ \ argument
60 FILE *fp = fopen(filename, "w+"); \
66 CDBG_ERROR("%s:%d] open %s failed", __func__, __LINE__, filename); \
77 #define DUMP_TO_FILE2(filename, p_addr1, len1, paddr2, len2) ({ \ argument
79 FILE *fp = fopen(filename, "w+"); \
86 CDBG_ERROR("%s:%d] open %s failed", __func__, __LINE__, filename); \
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1449 char filename[256]; in mm_jpeg_session_encode() local
1450 snprintf(filename, 255, "/data/jpeg/mm_jpeg_int%d.yuv", p_session->ebd_count); in mm_jpeg_session_encode()
1451 DUMP_TO_FILE(filename, in mm_jpeg_session_encode()
1468 DUMP_TO_FILE(filename, in mm_jpeg_session_encode()
2062 static int32_t mm_jpeg_read_meta_keyfile(mm_jpeg_job_session_t *p_session, const char *filename) in mm_jpeg_read_meta_keyfile() argument
2067 fp = fopen(filename, "r"); in mm_jpeg_read_meta_keyfile()