/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraHALPP.cpp | 322 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/ |
D | mm_qcamera_rdi.c | 46 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()
|
D | mm_qcamera_app.c | 252 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/ |
D | QCamera2HWICallbacks.cpp | 2763 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 …]
|
D | QCameraPostProc.cpp | 3083 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/ |
D | QCamera3Channel.cpp | 562 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 …]
|
D | QCamera3HWI.cpp | 8974 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile() local 8975 if (file_fd >= 0) { in dumpMetadataToFile() 8979 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 8982 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 8985 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 8988 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 8991 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 8995 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 8998 written_len += write(file_fd, data, total_size); in dumpMetadataToFile() 9001 written_len += write(file_fd, data, total_size); in dumpMetadataToFile() [all …]
|