Searched defs:file_fd (Results 1 - 25 of 30) sorted by relevance

12

/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
H A Dmm_camera_helper.c45 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); local
47 if (file_fd < 0) {
51 write(file_fd, addr, size);
52 close(file_fd);
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_rdi.c41 int file_fd; local
45 file_fd = open(file_name, O_RDWR | O_CREAT, 0777);
46 if (file_fd < 0) {
50 write(file_fd,
55 close(file_fd);
H A Dmm_qcamera_app.c241 int file_fd; local
245 file_fd = open(file_name, O_RDWR | O_CREAT, 0777);
246 if (file_fd < 0) {
250 write(file_fd,
255 close(file_fd);
264 int file_fd; local
268 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
269 write(file_fd, data, size);
270 close(file_fd);
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_rdi.c41 int file_fd; local
45 file_fd = open(file_name, O_RDWR | O_CREAT, 0777);
46 if (file_fd < 0) {
50 write(file_fd,
55 close(file_fd);
H A Dmm_qcamera_app.c241 int file_fd; local
245 file_fd = open(file_name, O_RDWR | O_CREAT, 0777);
246 if (file_fd < 0) {
250 write(file_fd,
255 close(file_fd);
264 int file_fd; local
268 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
269 write(file_fd, data, size);
270 close(file_fd);
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
H A Dmm_camera_helper.c169 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); local
171 if (file_fd < 0) {
175 write(file_fd, addr, size);
176 close(file_fd);
/device/lge/mako/camera/mm-camera-interface/
H A Dmm_camera_helper.c169 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); local
171 if (file_fd < 0) {
175 write(file_fd, addr, size);
176 close(file_fd);
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_rdi.c41 int file_fd; local
47 file_fd = open(file_name, O_RDWR | O_CREAT, 0777);
48 if (file_fd < 0) {
52 write(file_fd,
57 close(file_fd);
/device/moto/shamu/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Rdi.cpp103 int file_fd; local
117 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
118 if (file_fd < 0) {
124 write(file_fd, (const void *)(y_off), newFrame->planes[0].length);
125 write(file_fd, (const void *)(cbcr_off),
127 close(file_fd);
H A DQCameraHWI_Preview.cpp556 int file_fd; local
571 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
573 rc = write(file_fd, (const void *)addr, len);
576 close(file_fd);
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
H A Dmm_qcamera_rdi.c62 int file_fd; local
68 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
69 if (file_fd < 0) {
78 write(file_fd, (const void *)(y_off), newFrame->planes[0].length);
79 write(file_fd, (const void *)(cbcr_off),
81 close(file_fd);
H A Dmm_qcamera_preview.c190 int file_fd; local
195 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
196 if (file_fd < 0) {
205 write(file_fd, (const void *)(y_off), (w * h));
207 write(file_fd, (const void *)(cbcr_off), (w * h/2 * main_422));
209 close(file_fd);
H A Dmm_qcamera_snapshot.c111 int file_fd; local
116 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
117 write(file_fd, data, size);
118 close(file_fd);
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
H A Dmm_qcamera_preview.c127 int file_fd; local
134 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
135 if (file_fd < 0) {
139 write(file_fd, (const void *)(newFrame->buffer+newFrame->y_off), w * h);
140 write(file_fd, (const void *)
142 close(file_fd);
150 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
151 if (file_fd < 0) {
160 write(file_fd, (const void *)(y_off), newFrame->planes[0].length);
161 write(file_fd, (cons
[all...]
H A Dmm_qcamera_snapshot.c96 int file_fd; local
101 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
102 write(file_fd, data, size);
103 close(file_fd);
/device/lge/mako/camera/
H A DQCameraHWI_Preview_7x27A.cpp489 int file_fd; local
504 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
506 rc = write(file_fd, (const void *)addr, len);
509 close(file_fd);
/device/moto/shamu/camera/QCamera/HAL2/core/src/
H A DQCameraStream_Preview.cpp189 int file_fd; local
200 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
202 rc = write(file_fd, (const void *)addr, len);
205 close(file_fd);
/device/asus/flo/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp898 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local
899 if (file_fd > 0) {
900 int written_len = write(file_fd, data, size);
902 close(file_fd);
/device/lge/hammerhead/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp898 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local
899 if (file_fd > 0) {
900 int written_len = write(file_fd, data, size);
902 close(file_fd);
/device/lge/mako/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Preview.cpp788 int file_fd; local
803 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
805 rc = write(file_fd, (const void *)addr, len);
808 close(file_fd);
H A DQCameraHWI.cpp1983 int file_fd; local
1988 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
1989 write(file_fd, data, size);
1990 close(file_fd);
2018 int file_fd; local
2024 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
2030 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
2036 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
2045 file_fd = open(buf, O_RDWR | O_CREAT, 0777);
2049 file_fd
[all...]
/device/moto/shamu/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp1546 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local
1547 if (file_fd > 0) {
1548 int written_len = write(file_fd, data, size);
1551 close(file_fd);
1604 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local
1605 if (file_fd > 0) {
1609 written_len += write(file_fd, data, sizeof(uint32_t));
1612 written_len += write(file_fd, data, sizeof(uint32_t));
1615 written_len += write(file_fd, data, sizeof(uint32_t));
1618 written_len += write(file_fd, dat
1767 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local
[all...]
H A DQCameraPostProc.cpp1948 int file_fd = open(saveName, O_RDWR | O_CREAT, 0655); local
1949 if (file_fd > 0) {
1950 size_t written_len = write(file_fd,
1962 close(file_fd);
/device/lge/hammerhead/camera/QCamera2/HAL3/
H A DQCamera3Channel.cpp913 int file_fd = open(buf, O_RDWR| O_CREAT, 0777); local
914 if (file_fd >= 0) {
915 int written_len = write(file_fd, frame->buffer, offset.frame_len);
917 close(file_fd);
/device/moto/shamu/camera/QCamera2/HAL3/
H A DQCamera3Channel.cpp480 int file_fd = open(buf, O_RDWR| O_CREAT, 0644); local
481 if (file_fd >= 0) {
482 int written_len = write(file_fd, frame->buffer, offset.frame_len);
484 close(file_fd);
1026 int file_fd = open(buf, O_RDWR| O_CREAT, 0644); local
1027 if (file_fd >= 0) {
1028 int written_len = write(file_fd, frame->buffer, offset.frame_len);
1030 close(file_fd);
1199 int file_fd = open(buf, O_RDWR| O_CREAT, 0777); local
1200 if (file_fd >
[all...]

Completed in 860 milliseconds

12