/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 1350 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 …]
|
D | QCamera2HWICallbacks.cpp | 1519 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()
|
D | QCameraMem.h | 263 int32_t updateNativeHandle(native_handle_t *nh,
|
/hardware/interfaces/tests/foo/1.0/default/ |
D | Foo.cpp | 343 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/google/av/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 218 native_handle_t* nh = nullptr; in fetchFromIgbp_l() local 221 android::conversion::wrapAs(&fenceHandle, &nh, *fence); in fetchFromIgbp_l()
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 2410 native_handle_t *nh = NULL; in async_message_process() local 2506 native_handle_t *nh = (native_handle_t *)(omxhdr->pBuffer); in async_message_process() local 2507 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process() 2508 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process() 2514 native_handle_t *nh = meta_buf->nh; in async_message_process() local 2515 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process() 2516 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process()
|
D | omx_video_base.cpp | 3158 handle = ((output_metabuffer *)m_pOutput_pmem[index].buffer)->nh; in free_output_buffer() 3538 native_handle_t *nh = native_handle_create(1 /*numFds*/, 3 /*numInts*/); in allocate_output_buffer() local 3539 if (!nh) { in allocate_output_buffer() 3543 nh->data[0] = m_pOutput_pmem[i].fd; in allocate_output_buffer() 3544 nh->data[1] = 0; in allocate_output_buffer() 3545 nh->data[2] = 0; in allocate_output_buffer() 3546 nh->data[3] = ALIGN(m_sOutPortDef.nBufferSize, 4096); in allocate_output_buffer() 3547 m_pOutput_pmem[i].buffer = (OMX_U8 *)nh; in allocate_output_buffer() 3566 buffer->nh = handle; in allocate_output_buffer()
|
D | video_encoder_device_v4l2.cpp | 4513 native_handle_t *handle_t = meta_buf->nh; in venc_fill_buf()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 2647 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()
|
D | omx_video_base.cpp | 3494 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()
|
D | video_encoder_device_v4l2.cpp | 4441 native_handle_t *handle_t = meta_buf->nh; in venc_fill_buf()
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 2648 native_handle_t *nh = NULL; in async_message_process() local 2744 native_handle_t *nh = (native_handle_t *)(omxhdr->pBuffer); in async_message_process() local 2745 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process() 2746 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process() 2752 native_handle_t *nh = meta_buf->nh; in async_message_process() local 2753 nh->data[1] = m_sVenc_msg->buf.offset; in async_message_process() 2754 nh->data[2] = m_sVenc_msg->buf.len; in async_message_process()
|
D | omx_video_base.cpp | 3311 handle = ((output_metabuffer *)m_pOutput_pmem[index].buffer)->nh; in free_output_buffer() 3663 native_handle_t *nh = native_handle_create(1 /*numFds*/, 3 /*numInts*/); in allocate_output_buffer() local 3664 if (!nh) { in allocate_output_buffer() 3668 nh->data[0] = m_pOutput_pmem[i].fd; in allocate_output_buffer() 3669 nh->data[1] = 0; in allocate_output_buffer() 3670 nh->data[2] = 0; in allocate_output_buffer() 3671 nh->data[3] = ALIGN(m_sOutPortDef.nBufferSize, 4096); in allocate_output_buffer() 3672 m_pOutput_pmem[i].buffer = (OMX_U8 *)nh; in allocate_output_buffer() 3691 buffer->nh = handle; in allocate_output_buffer()
|
D | video_encoder_device_v4l2.cpp | 4826 native_handle_t *handle_t = meta_buf->nh; in venc_fill_buf()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_base.h | 160 native_handle_t *nh; member
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_base.h | 159 native_handle_t *nh; member
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_base.h | 169 native_handle_t *nh; member
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_msm8974.cpp | 5171 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/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 6323 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local 6324 native_handle_close(nh); in free_input_buffer() 6325 native_handle_delete(nh); in free_input_buffer() 6649 native_handle_t *nh = native_handle_create(1 /*numFds*/, 0 /*numInts*/); in allocate_input_buffer() local 6650 if (!nh) { in allocate_input_buffer() 6654 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer() 6655 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 6045 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local 6046 native_handle_close(nh); in free_input_buffer() 6047 native_handle_delete(nh); in free_input_buffer() 6303 native_handle_t *nh = native_handle_create(1 /*numFds*/, 0 /*numInts*/); in allocate_input_buffer() local 6304 if (!nh) { in allocate_input_buffer() 6308 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer() 6309 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 6529 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/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 6017 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()
|