/hardware/google/av/codec2/vndk/v4l2/ |
D | C2VdaBqBlockPool.cpp | 132 native_handle_t* nh = nullptr; in fetchGraphicBlock() local 135 android::conversion::wrapAs(&fenceHandle, &nh, *fence); in fetchGraphicBlock() 140 native_handle_delete(nh); in fetchGraphicBlock() 151 native_handle_delete(nh); in fetchGraphicBlock() 157 native_handle_delete(nh); in fetchGraphicBlock() 174 native_handle_delete(nh); in fetchGraphicBlock() 177 native_handle_delete(nh); in fetchGraphicBlock() 294 native_handle_t* nh = nullptr; in cancelAllBuffers() local 296 android::conversion::wrapAs(&fenceHandle, &nh, *fence); in cancelAllBuffers() 298 native_handle_delete(nh); in cancelAllBuffers()
|
/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/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()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_base.h | 160 native_handle_t *nh; member
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 6528 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local 6529 native_handle_close(nh); in free_input_buffer() 6530 native_handle_delete(nh); in free_input_buffer() 6892 native_handle_t *nh = native_handle_create(1 /*numFds*/, 0 /*numInts*/); in allocate_input_buffer() local 6893 if (!nh) { in allocate_input_buffer() 6897 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer() 6898 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()
|