Home
last modified time | relevance | path

Searched refs:nh (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/camera/QCamera2/HAL/
DQCameraMem.cpp1339 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocate() local
1340 if (!nh) { in allocate()
1345 nh->data[0] = mMemInfo[i].fd; in allocate()
1346 nh->data[1] = 0; in allocate()
1347 nh->data[2] = (int)mMemInfo[i].size; in allocate()
1348 nh->data[3] = mUsage; in allocate()
1349 nh->data[4] = 0; //dummy value for timestamp in non-batch mode in allocate()
1350 nh->data[5] = mFormat; in allocate()
1402 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocateMore() local
1403 if (!nh) { in allocateMore()
[all …]
DQCamera2HWICallbacks.cpp1435 native_handle_t *nh = NULL; in video_stream_cb_routine() local
1462 nh = const_cast<native_handle_t *>(packet->meta_handle); in video_stream_cb_routine()
1484 nh->data[index] = videoMemObj->getFd(frame->buf_idx); in video_stream_cb_routine()
1485 nh->data[index + fd_cnt] = 0; in video_stream_cb_routine()
1486 nh->data[index + (fd_cnt * 2)] = (int)videoMemObj->getSize(frame->buf_idx); in video_stream_cb_routine()
1487 nh->data[index + (fd_cnt * 3)] = videoMemObj->getUsage(); in video_stream_cb_routine()
1488 nh->data[index + (fd_cnt * 4)] = (int)(frame_ts - stream->mFirstTimeStamp); in video_stream_cb_routine()
1489 nh->data[index + (fd_cnt * 5)] = videoMemObj->getFormat(); in video_stream_cb_routine()
1504 native_handle_t *nh = NULL; in video_stream_cb_routine() local
1511 nh = const_cast<native_handle_t *>(packet->meta_handle); in video_stream_cb_routine()
[all …]
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h606 NotificationThread(AppCallbackNotifier* nh) in NotificationThread() argument
607 : Thread(false), mAppCallbackNotifier(nh) { } in NotificationThread()
/hardware/ti/omap4-aah/camera/inc/
DCameraHal.h741 NotificationThread(AppCallbackNotifier* nh) in NotificationThread() argument
742 : Thread(false), mAppCallbackNotifier(nh) { } in NotificationThread()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_msm8974.cpp5109 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local
5110 native_handle_close(nh); in free_input_buffer()
5111 native_handle_delete(nh); in free_input_buffer()
5439 native_handle_t *nh = native_handle_create(1 /*numFds*/, 0 /*numInts*/); in allocate_input_buffer() local
5440 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
5441 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()