Home
last modified time | relevance | path

Searched refs:file_fd (Results 1 – 7 of 7) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraHALPP.cpp322 int file_fd = open(name, O_RDWR | O_CREAT, 0777); in dumpYUVtoFile() local
323 if (file_fd > 0) { in dumpYUVtoFile()
324 fchmod(file_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in dumpYUVtoFile()
326 writen_bytes = write(file_fd, pBuf, buf_len); in dumpYUVtoFile()
327 close(file_fd); in dumpYUVtoFile()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c46 int file_fd; in mm_app_rdi_dump_frame() local
52 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_rdi_dump_frame()
53 if (file_fd < 0) { in mm_app_rdi_dump_frame()
57 write(file_fd, in mm_app_rdi_dump_frame()
62 close(file_fd); in mm_app_rdi_dump_frame()
Dmm_qcamera_app.c252 int file_fd; in mm_app_dump_frame() local
258 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_dump_frame()
259 if (file_fd < 0) { in mm_app_dump_frame()
266 write(file_fd, in mm_app_dump_frame()
272 close(file_fd); in mm_app_dump_frame()
282 int file_fd; in mm_app_dump_jpeg_frame() local
287 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in mm_app_dump_jpeg_frame()
288 write(file_fd, data, size); in mm_app_dump_jpeg_frame()
289 close(file_fd); in mm_app_dump_jpeg_frame()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp2763 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpJpegToFile() local
2764 if (file_fd >= 0) { in dumpJpegToFile()
2765 ssize_t written_len = write(file_fd, data, size); in dumpJpegToFile()
2766 fchmod(file_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in dumpJpegToFile()
2769 close(file_fd); in dumpJpegToFile()
2826 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile() local
2827 if (file_fd >= 0) { in dumpMetadataToFile()
2831 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
2834 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
2837 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
[all …]
DQCameraPostProc.cpp3083 int file_fd = open(saveName, O_RDWR | O_CREAT, 0655); in dataSaveRoutine() local
3084 if (file_fd >= 0) { in dataSaveRoutine()
3085 ssize_t written_len = write(file_fd, job_data->out_data.buf_vaddr, in dataSaveRoutine()
3097 close(file_fd); in dataSaveRoutine()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.cpp562 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpYUV() local
564 if (file_fd >= 0) { in dumpYUV()
566 fchmod(file_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in dumpYUV()
568 written_len = write(file_fd, frame->buffer, frame->frame_len); in dumpYUV()
578 written_len += write(file_fd, data, in dumpYUV()
587 close(file_fd); in dumpYUV()
2420 int file_fd = open(buf, O_RDWR| O_CREAT, 0644); in dumpRawSnapshot() local
2421 if (file_fd >= 0) { in dumpRawSnapshot()
2422 ssize_t written_len = write(file_fd, frame->buffer, frame->frame_len); in dumpRawSnapshot()
2425 close(file_fd); in dumpRawSnapshot()
[all …]
DQCamera3HWI.cpp8969 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile() local
8970 if (file_fd >= 0) { in dumpMetadataToFile()
8974 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8977 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8980 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8983 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8986 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8990 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8993 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
8996 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
[all …]