Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp1350 native_handle_t *nh = mNativeHandle[i]; in allocate() local
1351 if (!nh) { in allocate()
1357 updateNativeHandle(nh, 0, mMemInfo[i].fd, (int)mMemInfo[i].size); in allocate()
1412 native_handle_t *nh = mNativeHandle[i]; in allocateMore() local
1413 if (!nh) { in allocateMore()
1419 MetaBufferUtil::setFdAt(nh, 0, -1); in allocateMore()
1420 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_OFFSET, 0); in allocateMore()
1421 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_SIZE, 0); in allocateMore()
1422 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_USAGE, mUsage); in allocateMore()
1423 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_TIMESTAMP, 0); in allocateMore()
[all …]
DQCamera2HWICallbacks.cpp1519 native_handle_t *nh = NULL; in video_stream_cb_routine() local
1536 nh = videoMemObj->getNativeHandle(stream->mCurMetaIndex); in video_stream_cb_routine()
1537 if (video_mem == NULL || nh == NULL) { in video_stream_cb_routine()
1560 videoMemObj->updateNativeHandle(nh, index, //native_handle in video_stream_cb_routine()
1580 native_handle_t *nh = NULL; in video_stream_cb_routine() local
1584 nh = videoMemObj->getNativeHandle(frame->buf_idx); in video_stream_cb_routine()
1589 if (nh != NULL) { in video_stream_cb_routine()
1602 videoMemObj->updateNativeHandle(nh, i, in video_stream_cb_routine()
DQCameraMem.h263 int32_t updateNativeHandle(native_handle_t *nh,
/hardware/interfaces/tests/foo/1.0/default/
DFoo.cpp343 native_handle_t* nh = native_handle_create(0, 10); in createMyHandle() local
346 memcpy(nh->data, data, sizeof(data)); in createMyHandle()
347 mHandles.push_back(nh); in createMyHandle()
351 h.h = nh; in createMyHandle()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp2417 native_handle_t *nh = NULL; in async_message_process() local
2513 native_handle_t *nh = (native_handle_t *)(omxhdr->pBuffer); in async_message_process() local
2514 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process()
2515 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process()
2521 native_handle_t *nh = meta_buf->nh; in async_message_process() local
2522 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process()
2523 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process()
Domx_video_base.cpp3178 handle = ((output_metabuffer *)m_pOutput_pmem[index].buffer)->nh; in free_output_buffer()
3530 native_handle_t *nh = native_handle_create(1 /*numFds*/, 3 /*numInts*/); in allocate_output_buffer() local
3531 if (!nh) { in allocate_output_buffer()
3535 nh->data[0] = m_pOutput_pmem[i].fd; in allocate_output_buffer()
3536 nh->data[1] = 0; in allocate_output_buffer()
3537 nh->data[2] = 0; in allocate_output_buffer()
3538 nh->data[3] = ALIGN(m_sOutPortDef.nBufferSize, 4096); in allocate_output_buffer()
3539 m_pOutput_pmem[i].buffer = (OMX_U8 *)nh; in allocate_output_buffer()
3558 buffer->nh = handle; in allocate_output_buffer()
Dvideo_encoder_device_v4l2.cpp3328 native_handle_t *handle_t = meta_buf->nh; in venc_fill_buf()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp2735 native_handle_t *nh = NULL; in async_message_process() local
2831 native_handle_t *nh = (native_handle_t *)(omxhdr->pBuffer); in async_message_process() local
2832 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process()
2833 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process()
2839 native_handle_t *nh = meta_buf->nh; in async_message_process() local
2840 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process()
2841 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process()
Domx_video_base.cpp3328 handle = ((output_metabuffer *)m_pOutput_pmem[index].buffer)->nh; in free_output_buffer()
3680 native_handle_t *nh = native_handle_create(1 /*numFds*/, 3 /*numInts*/); in allocate_output_buffer() local
3681 if (!nh) { in allocate_output_buffer()
3685 nh->data[0] = m_pOutput_pmem[i].fd; in allocate_output_buffer()
3686 nh->data[1] = 0; in allocate_output_buffer()
3687 nh->data[2] = 0; in allocate_output_buffer()
3688 nh->data[3] = ALIGN(m_sOutPortDef.nBufferSize, 4096); in allocate_output_buffer()
3689 m_pOutput_pmem[i].buffer = (OMX_U8 *)nh; in allocate_output_buffer()
3710 buffer->nh = handle; in allocate_output_buffer()
Dvideo_encoder_device_v4l2.cpp4914 native_handle_t *handle_t = meta_buf->nh; in venc_fill_buf()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp2647 native_handle_t *nh = NULL; in async_message_process() local
2743 native_handle_t *nh = (native_handle_t *)(omxhdr->pBuffer); in async_message_process() local
2744 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process()
2745 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process()
2751 native_handle_t *nh = meta_buf->nh; in async_message_process() local
2752 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process()
2753 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process()
Domx_video_base.cpp3494 native_handle_t *nh = native_handle_create(1 /*numFds*/, 3 /*numInts*/); in allocate_output_buffer() local
3495 if (!nh) { in allocate_output_buffer()
3499 nh->data[0] = m_pOutput_pmem[i].fd; in allocate_output_buffer()
3500 nh->data[1] = 0; in allocate_output_buffer()
3501 nh->data[2] = 0; in allocate_output_buffer()
3502 nh->data[3] = ALIGN(m_sOutPortDef.nBufferSize, 4096); in allocate_output_buffer()
3503 m_pOutput_pmem[i].buffer = (OMX_U8 *)nh; in allocate_output_buffer()
3522 buffer->nh = handle; in allocate_output_buffer()
Dvideo_encoder_device_v4l2.cpp4441 native_handle_t *handle_t = meta_buf->nh; in venc_fill_buf()
/hardware/google/camera/common/hal/aidl_service/
Daidl_utils.cc342 const native_handle_t* nh) { in makeToAidlIfNotNull() argument
343 if (nh == nullptr) { in makeToAidlIfNotNull()
346 return makeToAidl(nh); in makeToAidlIfNotNull()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h160 native_handle_t *nh; member
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h161 native_handle_t *nh; member
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h160 native_handle_t *nh; member
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp4096 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local
4097 native_handle_close(nh); in free_input_buffer()
4098 native_handle_delete(nh); in free_input_buffer()
4351 native_handle_t *nh = native_handle_create(1 /*numFds*/, 0 /*numInts*/); in allocate_input_buffer() local
4352 if (!nh) { in allocate_input_buffer()
4356 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
4357 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_msm8974.cpp5171 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local
5172 native_handle_close(nh); in free_input_buffer()
5173 native_handle_delete(nh); in free_input_buffer()
5505 native_handle_t *nh = native_handle_create(1 /*numFds*/, 0 /*numInts*/); in allocate_input_buffer() local
5506 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
5507 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp6529 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local
6530 native_handle_close(nh); in free_input_buffer()
6531 native_handle_delete(nh); in free_input_buffer()
6896 native_handle_t *nh = native_handle_create(1 /*numFds*/, 0 /*numInts*/); in allocate_input_buffer() local
6897 if (!nh) { in allocate_input_buffer()
6901 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
6902 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp6423 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local
6424 native_handle_close(nh); in free_input_buffer()
6425 native_handle_delete(nh); in free_input_buffer()
6749 native_handle_t *nh = native_handle_create(1 /*numFds*/, 0 /*numInts*/); in allocate_input_buffer() local
6750 if (!nh) { in allocate_input_buffer()
6754 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
6755 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp6017 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local
6018 native_handle_close(nh); in free_input_buffer()
6019 native_handle_delete(nh); in free_input_buffer()
6368 native_handle_t *nh = native_handle_create(1 /*numFds*/, 0 /*numInts*/); in allocate_input_buffer() local
6369 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
6370 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()
/hardware/interfaces/tv/tuner/assets/
Dtuner_frontend_input.es2354 …l9H%4���3�� ���O��|YXC�Њ5.x}��[�^ñ�$PƤ�z�,4>�����M����!}�j}zw���nh���0-���(�}|�X�˸…
2463 …��(��{����} &�t�ݲ��Y9�7ؑ�+=_�/ͷ���-�?���c��;����,(�� �2D�V�ϯE��EW�nhʯ�����X�;���f5�?��W�…
4629 …�!4�������2bgmP�!��W}�A�[��]�{ �g��+��@� �㡁� ���~��a<���y��XZA��� `nh���e�g��1�ߤ���U�3)��…
5475 ����Z��ł]�o]��D�j0!�@7��nh������:G��ۣܐ �CªE�J$�\)] �q #�_,��dL����† Z� ���갘nDN��C:Κ��ֿ�…