/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Record.cpp | 93 struct encoder_media_buffer_type * packet = in putBuf() local 95 native_handle_delete(const_cast<native_handle_t *>(packet->meta_handle)); in putBuf() 221 struct encoder_media_buffer_type * packet = in getBuf() local 223 packet->meta_handle = native_handle_create(1, 2); //1 fd, 1 offset and 1 size in getBuf() 224 packet->buffer_type = kMetadataBufferTypeCameraSource; in getBuf() 225 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in getBuf()
|
D | QCameraHWI.cpp | 3265 cam_sock_packet_t packet; in doHdrProcessing() local 3267 memset(&packet, 0, sizeof(cam_sock_packet_t)); in doHdrProcessing() 3268 packet.msg_type = CAM_SOCK_MSG_TYPE_HDR_START; in doHdrProcessing() 3270 packet.payload.hdr_pkg.cookie = (long unsigned int) this; in doHdrProcessing() 3271 packet.payload.hdr_pkg.num_hdr_frames = mHdrInfo.num_frame; in doHdrProcessing() 3274 packet.payload.hdr_pkg.hdr_main_idx[i] = in doHdrProcessing() 3276 packet.payload.hdr_pkg.hdr_thm_idx[i] = in doHdrProcessing() 3278 packet.payload.hdr_pkg.exp[i] = mHdrInfo.exp[i]; in doHdrProcessing() 3280 packet.payload.hdr_pkg.hdr_main_idx[i], in doHdrProcessing() 3281 packet.payload.hdr_pkg.hdr_thm_idx[i], in doHdrProcessing() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 820 cam_sock_packet_t packet; in mm_camera_intf_send_native_cmd() local 821 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_intf_send_native_cmd() 822 memcpy(&packet.payload.frame_fd_map, cmd, sizeof(mm_camera_frame_map_type)); in mm_camera_intf_send_native_cmd() 823 if(packet.payload.frame_fd_map.is_hist) { in mm_camera_intf_send_native_cmd() 824 packet.msg_type = CAM_SOCK_MSG_TYPE_HIST_MAPPING; in mm_camera_intf_send_native_cmd() 826 packet.msg_type = CAM_SOCK_MSG_TYPE_FD_MAPPING; in mm_camera_intf_send_native_cmd() 828 rc = mm_camera_util_sendmsg(my_obj, &packet, in mm_camera_intf_send_native_cmd() 830 packet.payload.frame_fd_map.fd); in mm_camera_intf_send_native_cmd() 834 cam_sock_packet_t packet; in mm_camera_intf_send_native_cmd() local 835 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_intf_send_native_cmd() [all …]
|
D | mm_camera.c | 1869 cam_sock_packet_t packet; in mm_camera_map_buf() local 1870 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_map_buf() 1871 packet.msg_type = CAM_SOCK_MSG_TYPE_FD_MAPPING; in mm_camera_map_buf() 1872 packet.payload.frame_fd_map.ext_mode = ext_mode; in mm_camera_map_buf() 1873 packet.payload.frame_fd_map.frame_idx = idx; in mm_camera_map_buf() 1874 packet.payload.frame_fd_map.fd = fd; in mm_camera_map_buf() 1875 packet.payload.frame_fd_map.size = size; in mm_camera_map_buf() 1877 return mm_camera_util_sendmsg(my_obj, &packet, in mm_camera_map_buf() 1879 packet.payload.frame_fd_map.fd); in mm_camera_map_buf() 1886 cam_sock_packet_t packet; in mm_camera_unmap_buf() local [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 1543 cam_sock_packet_t packet; in mm_camera_map_buf() local 1544 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_map_buf() 1545 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_camera_map_buf() 1546 packet.payload.buf_map.type = buf_type; in mm_camera_map_buf() 1547 packet.payload.buf_map.fd = fd; in mm_camera_map_buf() 1548 packet.payload.buf_map.size = size; in mm_camera_map_buf() 1550 &packet, in mm_camera_map_buf() 1577 cam_sock_packet_t packet; in mm_camera_unmap_buf() local 1578 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_unmap_buf() 1579 packet.msg_type = CAM_MAPPING_TYPE_FD_UNMAPPING; in mm_camera_unmap_buf() [all …]
|
D | mm_camera_stream.c | 1259 cam_sock_packet_t packet; in mm_stream_map_buf() local 1260 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_stream_map_buf() 1261 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_stream_map_buf() 1262 packet.payload.buf_map.type = buf_type; in mm_stream_map_buf() 1263 packet.payload.buf_map.fd = fd; in mm_stream_map_buf() 1264 packet.payload.buf_map.size = size; in mm_stream_map_buf() 1265 packet.payload.buf_map.stream_id = my_obj->server_stream_id; in mm_stream_map_buf() 1266 packet.payload.buf_map.frame_idx = frame_idx; in mm_stream_map_buf() 1267 packet.payload.buf_map.plane_idx = plane_idx; in mm_stream_map_buf() 1269 &packet, in mm_stream_map_buf() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 1545 cam_sock_packet_t packet; in mm_camera_map_buf() local 1546 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_map_buf() 1547 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_camera_map_buf() 1548 packet.payload.buf_map.type = buf_type; in mm_camera_map_buf() 1549 packet.payload.buf_map.fd = fd; in mm_camera_map_buf() 1550 packet.payload.buf_map.size = size; in mm_camera_map_buf() 1552 &packet, in mm_camera_map_buf() 1579 cam_sock_packet_t packet; in mm_camera_unmap_buf() local 1580 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_unmap_buf() 1581 packet.msg_type = CAM_MAPPING_TYPE_FD_UNMAPPING; in mm_camera_unmap_buf() [all …]
|
D | mm_camera_stream.c | 1251 cam_sock_packet_t packet; in mm_stream_map_buf() local 1252 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_stream_map_buf() 1253 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_stream_map_buf() 1254 packet.payload.buf_map.type = buf_type; in mm_stream_map_buf() 1255 packet.payload.buf_map.fd = fd; in mm_stream_map_buf() 1256 packet.payload.buf_map.size = size; in mm_stream_map_buf() 1257 packet.payload.buf_map.stream_id = my_obj->server_stream_id; in mm_stream_map_buf() 1258 packet.payload.buf_map.frame_idx = frame_idx; in mm_stream_map_buf() 1259 packet.payload.buf_map.plane_idx = plane_idx; in mm_stream_map_buf() 1261 &packet, in mm_stream_map_buf() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 1649 cam_sock_packet_t packet; in mm_camera_map_buf() local 1650 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_map_buf() 1651 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_camera_map_buf() 1652 packet.payload.buf_map.type = buf_type; in mm_camera_map_buf() 1653 packet.payload.buf_map.fd = fd; in mm_camera_map_buf() 1654 packet.payload.buf_map.size = size; in mm_camera_map_buf() 1656 &packet, in mm_camera_map_buf() 1683 cam_sock_packet_t packet; in mm_camera_unmap_buf() local 1684 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_unmap_buf() 1685 packet.msg_type = CAM_MAPPING_TYPE_FD_UNMAPPING; in mm_camera_unmap_buf() [all …]
|
D | mm_camera_stream.c | 1283 cam_sock_packet_t packet; in mm_stream_map_buf() local 1284 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_stream_map_buf() 1285 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_stream_map_buf() 1286 packet.payload.buf_map.type = buf_type; in mm_stream_map_buf() 1287 packet.payload.buf_map.fd = fd; in mm_stream_map_buf() 1288 packet.payload.buf_map.size = size; in mm_stream_map_buf() 1289 packet.payload.buf_map.stream_id = my_obj->server_stream_id; in mm_stream_map_buf() 1290 packet.payload.buf_map.frame_idx = frame_idx; in mm_stream_map_buf() 1291 packet.payload.buf_map.plane_idx = plane_idx; in mm_stream_map_buf() 1293 &packet, in mm_stream_map_buf() [all …]
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 1113 struct encoder_media_buffer_type * packet = in allocate() local 1115 packet->meta_handle = native_handle_create(1, 2); //1 fd, 1 offset and 1 size in allocate() 1116 packet->buffer_type = kMetadataBufferTypeCameraSource; in allocate() 1117 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocate() 1159 struct encoder_media_buffer_type * packet = in allocateMore() local 1161 packet->meta_handle = native_handle_create(1, 2); //1 fd, 1 offset and 1 size in allocateMore() 1162 packet->buffer_type = kMetadataBufferTypeCameraSource; in allocateMore() 1163 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocateMore() 1184 struct encoder_media_buffer_type * packet = in deallocate() local 1186 if (NULL != packet) { in deallocate() [all …]
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 815 struct encoder_media_buffer_type * packet = in allocate() local 817 packet->meta_handle = native_handle_create(1, 2); //1 fd, 1 offset and 1 size in allocate() 818 packet->buffer_type = kMetadataBufferTypeCameraSource; in allocate() 819 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocate()
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 815 struct encoder_media_buffer_type * packet = in allocate() local 817 packet->meta_handle = native_handle_create(1, 2); //1 fd, 1 offset and 1 size in allocate() 818 packet->buffer_type = kMetadataBufferTypeCameraSource; in allocate() 819 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocate()
|
/device/lge/bullhead/wifi/ |
D | WCNSS_qcom_cfg.ini | 507 # RX packet handling options 608 # (idle packet count and RSSI) is met. 617 # when teardown criteria (idle packet count and RSSI) is met. However,
|
/device/google/accessory/demokit/firmware/demokit/ |
D | demokit.pde | 156 // assumes only one command per packet
|
/device/moto/shamu/ |
D | init.shamu.rc | 228 # an ack packet comes out of order
|