Home
last modified time | relevance | path

Searched refs:pParam (Results 1 – 22 of 22) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp516 QOMX_EXTNINDEX_VIDEO_PERFMODE pParam; in component_init() local
517 pParam.nPerfMode = perfmode; in component_init()
518 DEBUG_PRINT_LOW("Perfmode = 0x%x", pParam.nPerfMode); in component_init()
519 if (!handle->venc_set_config(&pParam, (OMX_INDEXTYPE)OMX_QcomIndexConfigVideoVencPerfMode)) in component_init()
520 DEBUG_PRINT_ERROR("Failed setting PerfMode to %d", pParam.nPerfMode); in component_init()
760 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
768 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
773 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
774 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
776 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
[all …]
Dvideo_encoder_device.cpp830 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local
831 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param()
834 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
835 if (!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) { in venc_set_param()
840 if (!venc_set_ratectrl_cfg(pParam->eControlRate)) { in venc_set_param()
852 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local
855 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param()
858 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
859 if (!venc_set_voptiming_cfg(pParam->nTimeIncRes)) { in venc_set_param()
867 if (!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) { in venc_set_param()
[all …]
Domx_video_base.cpp1537 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local
1540 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter()
1541 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter()
1552 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local
1554 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter()
1560 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local
1562 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter()
1568 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local
1570 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter()
1576 OMX_VIDEO_PARAM_VP8TYPE* pParam = (OMX_VIDEO_PARAM_VP8TYPE*)paramData; in get_parameter() local
[all …]
Dvideo_encoder_device_v4l2.cpp1433 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local
1434 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param()
1437 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
1438 if (!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) { in venc_set_param()
1443 if (!venc_set_ratectrl_cfg(pParam->eControlRate)) { in venc_set_param()
1455 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local
1458 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param()
1461 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
1462 if (!venc_set_voptiming_cfg(pParam->nTimeIncRes)) { in venc_set_param()
1470 if (!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) { in venc_set_param()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_encoder.cpp645 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
652 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
658 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
659 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
661 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
662 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
663 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
669 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in set_parameter() local
671 memcpy(&mp4_param, pParam, sizeof(struct OMX_VIDEO_PARAM_MPEG4TYPE)); in set_parameter()
673 if(pParam->eProfile == OMX_VIDEO_MPEG4ProfileAdvancedSimple) in set_parameter()
[all …]
Dvideo_encoder_device.cpp700 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local
701 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param()
704 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param()
706 if(!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) in venc_set_param()
711 if(!venc_set_ratectrl_cfg(pParam->eControlRate)) in venc_set_param()
725 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local
728 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param()
730 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param()
732 if(!venc_set_voptiming_cfg(pParam->nTimeIncRes)) in venc_set_param()
739 if(!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) in venc_set_param()
[all …]
Domx_video_base.cpp1617 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local
1620 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in get_parameter()
1622 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter()
1634 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local
1636 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter()
1641 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local
1643 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter()
1648 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local
1650 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter()
1655 OMX_VIDEO_PARAM_PROFILELEVELTYPE* pParam = (OMX_VIDEO_PARAM_PROFILELEVELTYPE*)paramData; in get_parameter() local
[all …]
Dvideo_encoder_device_copper.cpp774 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local
775 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param()
778 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param()
780 if(!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) in venc_set_param()
785 if(!venc_set_ratectrl_cfg(pParam->eControlRate)) in venc_set_param()
799 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local
802 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param()
804 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param()
806 if(!venc_set_voptiming_cfg(pParam->nTimeIncRes)) in venc_set_param()
813 if(!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) in venc_set_param()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp598 QOMX_EXTNINDEX_VIDEO_PERFMODE pParam; in component_init() local
599 pParam.nPerfMode = perfmode; in component_init()
600 DEBUG_PRINT_LOW("Perfmode = 0x%x", pParam.nPerfMode); in component_init()
601 if (!handle->venc_set_config(&pParam, (OMX_INDEXTYPE)OMX_QcomIndexConfigVideoVencPerfMode)) in component_init()
602 DEBUG_PRINT_ERROR("Failed setting PerfMode to %d", pParam.nPerfMode); in component_init()
836 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
844 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
849 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
850 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
852 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
[all …]
Domx_swvenc_hevc.cpp545 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
552 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
556 prop.uProperty.nFrameRate = pParam->nTargetBitrate; in set_parameter()
560 prop.uProperty.nRcOn = pParam->eControlRate; in set_parameter()
564 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
565 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
567 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
568 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
569 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
580 OMX_VIDEO_PARAM_HEVCTYPE* pParam = (OMX_VIDEO_PARAM_HEVCTYPE*)paramData; in set_parameter() local
[all …]
Domx_swvenc_mpeg4.cpp772 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
779 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
788 Ret = swvenc_set_bit_rate(pParam->nTargetBitrate); in set_parameter()
797 Ret = swvenc_set_rc_mode(pParam->eControlRate); in set_parameter()
805 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
806 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
807 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
808 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
809 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
816 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in set_parameter() local
[all …]
Domx_video_base.cpp1632 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local
1635 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter()
1636 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter()
1647 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local
1649 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter()
1655 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local
1657 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter()
1663 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local
1665 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter()
1671 OMX_VIDEO_PARAM_VP8TYPE* pParam = (OMX_VIDEO_PARAM_VP8TYPE*)paramData; in get_parameter() local
[all …]
Dvideo_encoder_device.cpp831 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local
832 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param()
835 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
836 if (!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) { in venc_set_param()
841 if (!venc_set_ratectrl_cfg(pParam->eControlRate)) { in venc_set_param()
853 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local
856 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param()
859 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
860 if (!venc_set_voptiming_cfg(pParam->nTimeIncRes)) { in venc_set_param()
868 if (!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) { in venc_set_param()
[all …]
Dvideo_encoder_device_v4l2.cpp1747 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local
1748 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param()
1751 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
1752 if (!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) { in venc_set_param()
1757 if (!venc_set_ratectrl_cfg(pParam->eControlRate)) { in venc_set_param()
1769 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local
1772 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param()
1775 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
1776 if (!venc_set_voptiming_cfg(pParam->nTimeIncRes)) { in venc_set_param()
1783 rc_off_level = (int)pParam->eLevel; in venc_set_param()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp628 QOMX_EXTNINDEX_VIDEO_PERFMODE pParam; in component_init() local
629 pParam.nPerfMode = perfmode; in component_init()
630 DEBUG_PRINT_LOW("Perfmode = 0x%x", pParam.nPerfMode); in component_init()
631 if (!handle->venc_set_config(&pParam, (OMX_INDEXTYPE)OMX_QcomIndexConfigVideoVencPerfMode)) in component_init()
632 DEBUG_PRINT_ERROR("Failed setting PerfMode to %d", pParam.nPerfMode); in component_init()
876 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
884 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
889 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
890 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
892 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
[all …]
Domx_swvenc_mpeg4.cpp768 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
775 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
784 Ret = swvenc_set_bit_rate(pParam->nTargetBitrate); in set_parameter()
793 Ret = swvenc_set_rc_mode(pParam->eControlRate); in set_parameter()
801 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
802 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
803 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
804 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
805 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
812 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in set_parameter() local
[all …]
Domx_video_base.cpp1654 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local
1657 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter()
1658 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter()
1669 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local
1671 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter()
1677 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local
1679 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter()
1685 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local
1687 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter()
1693 OMX_VIDEO_PARAM_VP8TYPE* pParam = (OMX_VIDEO_PARAM_VP8TYPE*)paramData; in get_parameter() local
[all …]
/hardware/nxp/nfc/halimpl/utils/
DphNxpConfig.cpp133 void add(const CNfcParam* pParam);
255 CNfcParam* pParam = NULL; in readConfig() local
372 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
374 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
375 add(pParam); in readConfig()
384 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
385 add(pParam); in readConfig()
465 const CNfcParam* pParam = find(name); in getValue() local
466 if (pParam == NULL) return false; in getValue()
468 if (pParam->str_len() > 0) { in getValue()
[all …]
/hardware/nxp/nfc/halimpl/tml/
DphTmlNfc.cc49 static void * phTmlNfc_TmlThread(void* pParam);
50 static void * phTmlNfc_TmlWriterThread(void* pParam);
299 static void * phTmlNfc_TmlThread(void* pParam) { in phTmlNfc_TmlThread() argument
310 UNUSED(pParam); in phTmlNfc_TmlThread()
414 static void * phTmlNfc_TmlWriterThread(void* pParam) { in phTmlNfc_TmlWriterThread() argument
426 UNUSED(pParam); in phTmlNfc_TmlWriterThread()
DphOsalNfc_Timer.cc379 pTimerHandle->tDeferedCallInfo.pParam = (void*)((intptr_t)(sv.sival_int)); in phOsalNfc_Timer_Expired()
/hardware/nxp/nfc/halimpl/common/
DphNfcCommon.h100 void* pParam; /* contains timer message specific details*/ member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp3938 … OMX_VIDEO_PARAM_PROFILELEVELTYPE* pParam = (OMX_VIDEO_PARAM_PROFILELEVELTYPE*)paramData; in get_parameter() local
3956 pParam->eProfile = OMX_VIDEO_AVCProfileBaseline; in get_parameter()
3959 pParam->eProfile = OMX_VIDEO_AVCProfileMain; in get_parameter()
3962 pParam->eProfile = OMX_VIDEO_AVCProfileExtended; in get_parameter()
3965 pParam->eProfile = OMX_VIDEO_AVCProfileHigh; in get_parameter()
3968 pParam->eProfile = OMX_VIDEO_AVCProfileHigh10; in get_parameter()
3971 pParam->eProfile = OMX_VIDEO_AVCProfileHigh422; in get_parameter()
3995 pParam->eLevel = OMX_VIDEO_AVCLevel1; in get_parameter()
3998 pParam->eLevel = OMX_VIDEO_AVCLevel1b; in get_parameter()
4001 pParam->eLevel = OMX_VIDEO_AVCLevel11; in get_parameter()
[all …]