Searched refs:nh (Results 1 – 5 of 5) sorted by relevance
1339 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocate() local1340 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() local1403 if (!nh) { in allocateMore()[all …]
1435 native_handle_t *nh = NULL; in video_stream_cb_routine() local1462 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() local1511 nh = const_cast<native_handle_t *>(packet->meta_handle); in video_stream_cb_routine()[all …]
606 NotificationThread(AppCallbackNotifier* nh) in NotificationThread() argument607 : Thread(false), mAppCallbackNotifier(nh) { } in NotificationThread()
741 NotificationThread(AppCallbackNotifier* nh) in NotificationThread() argument742 : Thread(false), mAppCallbackNotifier(nh) { } in NotificationThread()
5109 native_handle_t *nh = (native_handle_t *)bufferHdr->pBuffer; in free_input_buffer() local5110 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() local5440 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()5441 input->pBuffer = (OMX_U8 *)nh; in allocate_input_buffer()