/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_helper.c | 45 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); in mm_camera_dump_image() local 47 if (file_fd < 0) { in mm_camera_dump_image() 51 write(file_fd, addr, size); in mm_camera_dump_image() 52 close(file_fd); in mm_camera_dump_image()
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Rdi.cpp | 103 int file_fd; in dumpFrameToFile() local 117 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() 118 if (file_fd < 0) { in dumpFrameToFile() 124 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); in dumpFrameToFile() 125 write(file_fd, (const void *)(cbcr_off), in dumpFrameToFile() 127 close(file_fd); in dumpFrameToFile()
|
D | QCameraHWI.cpp | 2703 int file_fd; in dumpFrameToFile() local 2708 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() 2709 write(file_fd, data, size); in dumpFrameToFile() 2710 close(file_fd); in dumpFrameToFile() 2739 int file_fd; in dumpFrameToFile() local 2745 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() 2751 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() 2757 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() 2766 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() 2772 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() [all …]
|
D | QCameraHWI_Preview.cpp | 556 int file_fd; in dumpFrameToFile() local 571 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() 573 rc = write(file_fd, (const void *)addr, len); in dumpFrameToFile() 576 close(file_fd); in dumpFrameToFile()
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 62 int file_fd; in dumpRdi() local 68 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpRdi() 69 if (file_fd < 0) { in dumpRdi() 78 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); in dumpRdi() 79 write(file_fd, (const void *)(cbcr_off), in dumpRdi() 81 close(file_fd); in dumpRdi()
|
D | mm_qcamera_preview.c | 190 int file_fd; in dumpFrameToFile() local 195 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() 196 if (file_fd < 0) { in dumpFrameToFile() 205 write(file_fd, (const void *)(y_off), (w * h)); in dumpFrameToFile() 207 write(file_fd, (const void *)(cbcr_off), (w * h/2 * main_422)); in dumpFrameToFile() 209 close(file_fd); in dumpFrameToFile()
|
D | mm_qcamera_snapshot.c | 111 int file_fd; in mm_app_dump_jpeg_frame() local 116 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in mm_app_dump_jpeg_frame() 117 write(file_fd, data, size); in mm_app_dump_jpeg_frame() 118 close(file_fd); in mm_app_dump_jpeg_frame()
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 41 int file_fd; in mm_app_rdi_dump_frame() local 45 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_rdi_dump_frame() 46 if (file_fd < 0) { in mm_app_rdi_dump_frame() 50 write(file_fd, in mm_app_rdi_dump_frame() 55 close(file_fd); in mm_app_rdi_dump_frame()
|
D | mm_qcamera_app.c | 241 int file_fd; in mm_app_dump_frame() local 245 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_dump_frame() 246 if (file_fd < 0) { in mm_app_dump_frame() 250 write(file_fd, in mm_app_dump_frame() 255 close(file_fd); in mm_app_dump_frame() 264 int file_fd; in mm_app_dump_jpeg_frame() local 268 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in mm_app_dump_jpeg_frame() 269 write(file_fd, data, size); in mm_app_dump_jpeg_frame() 270 close(file_fd); in mm_app_dump_jpeg_frame()
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 41 int file_fd; in mm_app_rdi_dump_frame() local 45 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_rdi_dump_frame() 46 if (file_fd < 0) { in mm_app_rdi_dump_frame() 50 write(file_fd, in mm_app_rdi_dump_frame() 55 close(file_fd); in mm_app_rdi_dump_frame()
|
D | mm_qcamera_app.c | 241 int file_fd; in mm_app_dump_frame() local 245 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_dump_frame() 246 if (file_fd < 0) { in mm_app_dump_frame() 250 write(file_fd, in mm_app_dump_frame() 255 close(file_fd); in mm_app_dump_frame() 264 int file_fd; in mm_app_dump_jpeg_frame() local 268 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in mm_app_dump_jpeg_frame() 269 write(file_fd, data, size); in mm_app_dump_jpeg_frame() 270 close(file_fd); in mm_app_dump_jpeg_frame()
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 41 int file_fd; in mm_app_rdi_dump_frame() local 47 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_rdi_dump_frame() 48 if (file_fd < 0) { in mm_app_rdi_dump_frame() 52 write(file_fd, in mm_app_rdi_dump_frame() 57 close(file_fd); in mm_app_rdi_dump_frame()
|
D | mm_qcamera_app.c | 242 int file_fd; in mm_app_dump_frame() local 247 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_dump_frame() 248 if (file_fd < 0) { in mm_app_dump_frame() 254 write(file_fd, in mm_app_dump_frame() 260 close(file_fd); in mm_app_dump_frame() 269 int file_fd; in mm_app_dump_jpeg_frame() local 273 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in mm_app_dump_jpeg_frame() 274 write(file_fd, data, size); in mm_app_dump_jpeg_frame() 275 close(file_fd); in mm_app_dump_jpeg_frame()
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 1546 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpJpegToFile() local 1547 if (file_fd > 0) { in dumpJpegToFile() 1548 int written_len = write(file_fd, data, size); in dumpJpegToFile() 1551 close(file_fd); in dumpJpegToFile() 1604 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile() local 1605 if (file_fd > 0) { in dumpMetadataToFile() 1609 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 1612 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 1615 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 1618 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() [all …]
|
D | QCameraPostProc.cpp | 1948 int file_fd = open(saveName, O_RDWR | O_CREAT, 0655); in dataSaveRoutine() local 1949 if (file_fd > 0) { in dataSaveRoutine() 1950 size_t written_len = write(file_fd, in dataSaveRoutine() 1962 close(file_fd); in dataSaveRoutine()
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraStream_Preview.cpp | 189 int file_fd; in dumpFrameToFile() local 200 file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() 202 rc = write(file_fd, (const void *)addr, len); in dumpFrameToFile() 205 close(file_fd); in dumpFrameToFile()
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3Channel.cpp | 480 int file_fd = open(buf, O_RDWR| O_CREAT, 0644); in dumpYUV() local 481 if (file_fd >= 0) { in dumpYUV() 482 int written_len = write(file_fd, frame->buffer, offset.frame_len); in dumpYUV() 484 close(file_fd); in dumpYUV() 1001 int file_fd = open(buf, O_RDWR| O_CREAT, 0644); in dumpRawSnapshot() local 1002 if (file_fd >= 0) { in dumpRawSnapshot() 1003 int written_len = write(file_fd, frame->buffer, offset.frame_len); in dumpRawSnapshot() 1005 close(file_fd); in dumpRawSnapshot() 1174 int file_fd = open(buf, O_RDWR| O_CREAT, 0777); in dumpRawSnapshot() local 1175 if (file_fd >= 0) { in dumpRawSnapshot() [all …]
|
D | QCamera3HWI.cpp | 3706 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile() local 3707 if (file_fd >= 0) { in dumpMetadataToFile() 3711 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3714 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3717 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3720 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3723 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3727 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3730 written_len += write(file_fd, data, total_size); in dumpMetadataToFile() 3733 written_len += write(file_fd, data, total_size); in dumpMetadataToFile() [all …]
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 898 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() local 899 if (file_fd > 0) { in dumpFrameToFile() 900 int written_len = write(file_fd, data, size); in dumpFrameToFile() 902 close(file_fd); in dumpFrameToFile()
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 898 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); in dumpFrameToFile() local 899 if (file_fd > 0) { in dumpFrameToFile() 900 int written_len = write(file_fd, data, size); in dumpFrameToFile() 902 close(file_fd); in dumpFrameToFile()
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3Channel.cpp | 911 int file_fd = open(buf, O_RDWR| O_CREAT, 0777); in dumpRawSnapshot() local 912 if (file_fd >= 0) { in dumpRawSnapshot() 913 int written_len = write(file_fd, frame->buffer, offset.frame_len); in dumpRawSnapshot() 915 close(file_fd); in dumpRawSnapshot()
|
D | QCamera3HWI.cpp | 3000 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile() local 3001 if (file_fd >= 0) { in dumpMetadataToFile() 3005 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3008 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3011 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3014 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3017 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile() 3020 written_len += write(file_fd, data, total_size); in dumpMetadataToFile() 3023 written_len += write(file_fd, data, total_size); in dumpMetadataToFile() 3026 written_len += write(file_fd, data, total_size); in dumpMetadataToFile() [all …]
|