Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 58) sorted by relevance

123

/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/common/src/
Dvidc_vendor_extensions.cpp51 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) const { in copyInfoTo()
54 strlcpy((char *)ext->cName, mName.c_str(), OMX_MAX_STRINGNAME_SIZE); in copyInfoTo()
55 ext->eDir = mPortDir; in copyInfoTo()
56 ext->nParamCount = paramCount(); in copyInfoTo()
60 if (ext->nParamSizeUsed < ext->nParamCount) { in copyInfoTo()
66 strlcpy((char *)ext->nParam[i].cKey, p.name(), OMX_MAX_STRINGNAME_SIZE); in copyInfoTo()
67 ext->nParam[i].bSet = mIsSet ? OMX_TRUE : OMX_FALSE; in copyInfoTo()
68 ext->nParam[i].eValueType = p.type(); in copyInfoTo()
75 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey, in setParamInt32() argument
78 if (!_isParamAccessTypeOK(ext, paramIndex, OMX_AndroidVendorValueInt32)) { in setParamInt32()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/
Dvidc_vendor_extensions.cpp51 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) const { in copyInfoTo()
54 strncpy((char *)ext->cName, mName.c_str(), OMX_MAX_STRINGNAME_SIZE); in copyInfoTo()
55 ext->eDir = mPortDir; in copyInfoTo()
56 ext->nParamCount = paramCount(); in copyInfoTo()
60 if (ext->nParamSizeUsed < ext->nParamCount) { in copyInfoTo()
66 strncpy((char *)ext->nParam[i].cKey, p.name(), OMX_MAX_STRINGNAME_SIZE); in copyInfoTo()
67 ext->nParam[i].bSet = mIsSet ? OMX_TRUE : OMX_FALSE; in copyInfoTo()
68 ext->nParam[i].eValueType = p.type(); in copyInfoTo()
75 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey, in setParamInt32() argument
78 if (!_isParamAccessTypeOK(ext, paramIndex, OMX_AndroidVendorValueInt32)) { in setParamInt32()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
Dvidc_vendor_extensions.cpp51 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) const { in copyInfoTo()
54 strncpy((char *)ext->cName, mName.c_str(), OMX_MAX_STRINGNAME_SIZE); in copyInfoTo()
55 ext->eDir = mPortDir; in copyInfoTo()
56 ext->nParamCount = paramCount(); in copyInfoTo()
60 if (ext->nParamSizeUsed < ext->nParamCount) { in copyInfoTo()
66 strncpy((char *)ext->nParam[i].cKey, p.name(), OMX_MAX_STRINGNAME_SIZE); in copyInfoTo()
67 ext->nParam[i].bSet = mIsSet ? OMX_TRUE : OMX_FALSE; in copyInfoTo()
68 ext->nParam[i].eValueType = p.type(); in copyInfoTo()
75 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey, in setParamInt32() argument
78 if (!_isParamAccessTypeOK(ext, paramIndex, OMX_AndroidVendorValueInt32)) { in setParamInt32()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_extensions.hpp144 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) { in get_vendor_extension_config() argument
145 if (ext->nIndex >= mVendorExtensionStore.size()) { in get_vendor_extension_config()
149 const VendorExtension& vExt = mVendorExtensionStore[ext->nIndex]; in get_vendor_extension_config()
150 DEBUG_PRINT_LOW("VendorExt: getConfig: index=%u (%s)", ext->nIndex, vExt.name()); in get_vendor_extension_config()
152 vExt.copyInfoTo(ext); in get_vendor_extension_config()
153 if (ext->nParamSizeUsed < vExt.paramCount()) { in get_vendor_extension_config()
166 setStatus &= vExt.setParamInt32(ext, "angle", m_sConfigFrameRotation.nRotation); in get_vendor_extension_config()
171 setStatus &= vExt.setParamInt32(ext, "flip", m_sConfigFrameMirror.eMirror); in get_vendor_extension_config()
176 if (vExt.isConfigKey(ext, "qti-ext-enc-avc-intra-period")) { in get_vendor_extension_config()
177 setStatus &= vExt.setParamInt32(ext, "n-pframes", m_sIntraperiod.nPFrames); in get_vendor_extension_config()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_extensions.hpp53 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) { in get_vendor_extension_config() argument
54 if (ext->nIndex >= mVendorExtensionStore.size()) { in get_vendor_extension_config()
58 const VendorExtension& vExt = mVendorExtensionStore[ext->nIndex]; in get_vendor_extension_config()
59 DEBUG_PRINT_LOW("VendorExt: getConfig: index=%u (%s)", ext->nIndex, vExt.name()); in get_vendor_extension_config()
61 vExt.copyInfoTo(ext); in get_vendor_extension_config()
62 if (ext->nParamSizeUsed < vExt.paramCount()) { in get_vendor_extension_config()
75 setStatus &= vExt.setParamInt32(ext, "angle", m_sConfigFrameRotation.nRotation); in get_vendor_extension_config()
80 setStatus &= vExt.setParamInt32(ext, "n-pframes", m_sConfigAVCIDRPeriod.nPFrames); in get_vendor_extension_config()
81 setStatus &= vExt.setParamInt32(ext, "n-idr-period", m_sConfigAVCIDRPeriod.nIDRPeriod); in get_vendor_extension_config()
87 setStatus &= vExt.setParamInt32(ext, in get_vendor_extension_config()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_extensions.hpp53 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) { in get_vendor_extension_config() argument
54 if (ext->nIndex >= mVendorExtensionStore.size()) { in get_vendor_extension_config()
58 const VendorExtension& vExt = mVendorExtensionStore[ext->nIndex]; in get_vendor_extension_config()
59 DEBUG_PRINT_LOW("VendorExt: getConfig: index=%u (%s)", ext->nIndex, vExt.name()); in get_vendor_extension_config()
61 vExt.copyInfoTo(ext); in get_vendor_extension_config()
62 if (ext->nParamSizeUsed < vExt.paramCount()) { in get_vendor_extension_config()
75 setStatus &= vExt.setParamInt32(ext, "angle", m_sConfigFrameRotation.nRotation); in get_vendor_extension_config()
80 setStatus &= vExt.setParamInt32(ext, "n-pframes", m_sConfigAVCIDRPeriod.nPFrames); in get_vendor_extension_config()
81 setStatus &= vExt.setParamInt32(ext, "n-idr-period", m_sConfigAVCIDRPeriod.nIDRPeriod); in get_vendor_extension_config()
87 setStatus &= vExt.setParamInt32(ext, in get_vendor_extension_config()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_extensions.hpp40 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) { in get_vendor_extension_config() argument
41 if (ext->nIndex >= mVendorExtensionStore.size()) { in get_vendor_extension_config()
45 const VendorExtension& vExt = mVendorExtensionStore[ext->nIndex]; in get_vendor_extension_config()
46 DEBUG_PRINT_LOW("VendorExt: getConfig: index=%u (%s)", ext->nIndex, vExt.name()); in get_vendor_extension_config()
48 vExt.copyInfoTo(ext); in get_vendor_extension_config()
49 if (ext->nParamSizeUsed < vExt.paramCount()) { in get_vendor_extension_config()
62 setStatus &= vExt.setParamInt32(ext, "enable", m_decode_order_mode); in get_vendor_extension_config()
74 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) { in set_vendor_extension_config() argument
77 if (ext->nIndex >= mVendorExtensionStore.size()) { in set_vendor_extension_config()
79 ext->nIndex, mVendorExtensionStore.size()); in set_vendor_extension_config()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_extensions.hpp40 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) { in get_vendor_extension_config() argument
41 if (ext->nIndex >= mVendorExtensionStore.size()) { in get_vendor_extension_config()
45 const VendorExtension& vExt = mVendorExtensionStore[ext->nIndex]; in get_vendor_extension_config()
46 DEBUG_PRINT_LOW("VendorExt: getConfig: index=%u (%s)", ext->nIndex, vExt.name()); in get_vendor_extension_config()
48 vExt.copyInfoTo(ext); in get_vendor_extension_config()
49 if (ext->nParamSizeUsed < vExt.paramCount()) { in get_vendor_extension_config()
62 setStatus &= vExt.setParamInt32(ext, "enable", m_decode_order_mode); in get_vendor_extension_config()
74 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) { in set_vendor_extension_config() argument
77 if (ext->nIndex >= mVendorExtensionStore.size()) { in set_vendor_extension_config()
79 ext->nIndex, mVendorExtensionStore.size()); in set_vendor_extension_config()
[all …]
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp154 config->ext.device.hwModule = halConfig.ext.device.hw_module; in audioPortConfigFromHal()
155 config->ext.device.type = AudioDevice(halConfig.ext.device.type); in audioPortConfigFromHal()
156 memcpy(config->ext.device.address.data(), halConfig.ext.device.address, in audioPortConfigFromHal()
161 config->ext.mix.hwModule = halConfig.ext.mix.hw_module; in audioPortConfigFromHal()
162 config->ext.mix.ioHandle = halConfig.ext.mix.handle; in audioPortConfigFromHal()
164 config->ext.mix.useCase.stream = AudioStreamType(halConfig.ext.mix.usecase.stream); in audioPortConfigFromHal()
166 config->ext.mix.useCase.source = AudioSource(halConfig.ext.mix.usecase.source); in audioPortConfigFromHal()
171 config->ext.session.session = halConfig.ext.session.session; in audioPortConfigFromHal()
192 halConfig->ext.device.hw_module = config.ext.device.hwModule; in audioPortConfigToHal()
193 halConfig->ext.device.type = static_cast<audio_devices_t>(config.ext.device.type); in audioPortConfigToHal()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_extensions.hpp49 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) { in get_vendor_extension_config() argument
50 if (ext->nIndex >= mVendorExtensionStore.size()) { in get_vendor_extension_config()
54 const VendorExtension& vExt = mVendorExtensionStore[ext->nIndex]; in get_vendor_extension_config()
55 DEBUG_PRINT_LOW("VendorExt: getConfig: index=%u (%s)", ext->nIndex, vExt.name()); in get_vendor_extension_config()
57 vExt.copyInfoTo(ext); in get_vendor_extension_config()
58 if (ext->nParamSizeUsed < vExt.paramCount()) { in get_vendor_extension_config()
71 setStatus &= vExt.setParamInt32(ext, "enable", m_decode_order_mode); in get_vendor_extension_config()
76 … setStatus &= vExt.setParamInt32(ext, "enable", m_sParamLowLatency.bEnableLowLatencyMode); in get_vendor_extension_config()
92 setStatus &= vExt.setParamString(ext, "types", exType); in get_vendor_extension_config()
98 setStatus &= vExt.setParamInt32(ext, "number", 65536); in get_vendor_extension_config()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/common/inc/
Dvidc_vendor_extensions.h133 OMX_ERRORTYPE copyInfoTo(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) const;
138 bool setParamInt32(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
140 bool setParamInt64(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
142 bool setParamString(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
147 bool readParamInt32(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
149 bool readParamInt64(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
151 bool readParamString(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
158 OMX_ERRORTYPE isConfigValid(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) const;
161 bool isConfigKey(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey) const;
182 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, int paramIndex) const;
[all …]
Dvidc_debug.h92 #define VALIDATE_OMX_VENDOR_EXTENSION_PARAM_DATA(ext) \ argument
94 if (ext->nParamSizeUsed < 1 || ext->nParamSizeUsed > OMX_MAX_ANDROID_VENDOR_PARAMCOUNT) { \
96 ext->nParamSizeUsed, 1, OMX_MAX_ANDROID_VENDOR_PARAMCOUNT); \
100 ((ext->nParamSizeUsed - 1) * (OMX_U32)sizeof(OMX_CONFIG_ANDROID_VENDOR_PARAMTYPE));\
101 if (ext->nSize < expectedSize) { \
103 ext->nSize, expectedSize); \
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/inc/
Dvidc_vendor_extensions.h133 OMX_ERRORTYPE copyInfoTo(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) const;
138 bool setParamInt32(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
140 bool setParamInt64(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
142 bool setParamString(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
147 bool readParamInt32(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
149 bool readParamInt64(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
151 bool readParamInt64(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
158 OMX_ERRORTYPE isConfigValid(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) const;
179 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, int paramIndex) const;
183 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, int paramIndex,
Dvidc_debug.h92 #define VALIDATE_OMX_VENDOR_EXTENSION_PARAM_DATA(ext) \ argument
94 if (ext->nParamSizeUsed < 1 || ext->nParamSizeUsed > OMX_MAX_ANDROID_VENDOR_PARAMCOUNT) { \
96 ext->nParamSizeUsed, 1, OMX_MAX_ANDROID_VENDOR_PARAMCOUNT); \
100 ((ext->nParamSizeUsed - 1) * (OMX_U32)sizeof(OMX_CONFIG_ANDROID_VENDOR_PARAMTYPE));\
101 if (ext->nSize < expectedSize) { \
103 ext->nSize, expectedSize); \
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/inc/
Dvidc_vendor_extensions.h133 OMX_ERRORTYPE copyInfoTo(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) const;
138 bool setParamInt32(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
140 bool setParamInt64(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
142 bool setParamString(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
147 bool readParamInt32(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
149 bool readParamInt64(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
151 bool readParamInt64(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, const char *paramKey,
158 OMX_ERRORTYPE isConfigValid(OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext) const;
179 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, int paramIndex) const;
183 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, int paramIndex,
Dvidc_debug.h89 #define VALIDATE_OMX_VENDOR_EXTENSION_PARAM_DATA(ext) \ argument
91 if (ext->nParamSizeUsed < 1 || ext->nParamSizeUsed > OMX_MAX_ANDROID_VENDOR_PARAMCOUNT) { \
93 ext->nParamSizeUsed, 1, OMX_MAX_ANDROID_VENDOR_PARAMCOUNT); \
97 ((ext->nParamSizeUsed - 1) * (OMX_U32)sizeof(OMX_CONFIG_ANDROID_VENDOR_PARAMTYPE));\
98 if (ext->nSize < expectedSize) { \
100 ext->nSize, expectedSize); \
/hardware/interfaces/broadcastradio/1.0/default/
DUtils.cpp157 config->ext.fm.deemphasis = static_cast<Deemphasis>(halConfig->fm.deemphasis); in convertBandConfigFromHal()
158 config->ext.fm.stereo = halConfig->fm.stereo; in convertBandConfigFromHal()
159 config->ext.fm.rds = static_cast<Rds>(halConfig->fm.rds); in convertBandConfigFromHal()
160 config->ext.fm.ta = halConfig->fm.ta; in convertBandConfigFromHal()
161 config->ext.fm.af = halConfig->fm.af; in convertBandConfigFromHal()
162 config->ext.fm.ea = halConfig->fm.ea; in convertBandConfigFromHal()
164 config->ext.am.stereo = halConfig->am.stereo; in convertBandConfigFromHal()
211 halConfig->fm.deemphasis = static_cast<radio_deemphasis_t>(config->ext.fm.deemphasis); in convertBandConfigToHal()
212 halConfig->fm.stereo = config->ext.fm.stereo; in convertBandConfigToHal()
213 halConfig->fm.rds = static_cast<radio_rds_t>(config->ext.fm.rds); in convertBandConfigToHal()
[all …]
/hardware/interfaces/broadcastradio/1.1/default/
DBroadcastRadio.cpp183 dst.ext.am.stereo = true; in getAmFmBands()
185 dst.ext.fm.deemphasis = static_cast<Deemphasis>(Deemphasis::D50 | Deemphasis::D75); in getAmFmBands()
186 dst.ext.fm.stereo = true; in getAmFmBands()
187 dst.ext.fm.rds = static_cast<Rds>(Rds::WORLD | Rds::US); in getAmFmBands()
188 dst.ext.fm.ta = true; in getAmFmBands()
189 dst.ext.fm.af = true; in getAmFmBands()
190 dst.ext.fm.ea = true; in getAmFmBands()
/hardware/interfaces/broadcastradio/common/utils1x/
DUtils.cpp237 return l.ext.am == r.ext.am; in operator ==()
239 return l.ext.fm == r.ext.fm; in operator ==()
/hardware/interfaces/tests/extension/light/2.0/default/
Dandroid.hardware.tests.extension.light@2.0-service.rc1 service vendor.light-ext-2-0 /vendor/bin/hw/android.hardware.tests.extension.light@2.0-service
/hardware/interfaces/camera/provider/2.4/default/
Dandroid.hardware.camera.provider@2.4-external-service.rc1 service vendor.camera-provider-2-4-ext /vendor/bin/hw/android.hardware.camera.provider@2.4-external…
/hardware/interfaces/camera/provider/2.5/default/
Dandroid.hardware.camera.provider@2.5-external-service.rc1 service vendor.camera-provider-2-5-ext /vendor/bin/hw/android.hardware.camera.provider@2.5-external…
/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp282 return l.ext.am == r.ext.am; in operator ==()
284 return l.ext.fm == r.ext.fm; in operator ==()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Config.cpp773 if(prop->ext[i].ip == IPA_IP_v4) in SetExtProp()
780 …memcpy(&ext_prop_v4.prop[ext_prop_v4.num_ext_props], &prop->ext[i], sizeof(struct ipa_ioc_ext_intf… in SetExtProp()
783 else if(prop->ext[i].ip == IPA_IP_v6) in SetExtProp()
790 …memcpy(&ext_prop_v6.prop[ext_prop_v6.num_ext_props], &prop->ext[i], sizeof(struct ipa_ioc_ext_intf… in SetExtProp()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Config.cpp813 if(prop->ext[i].ip == IPA_IP_v4) in SetExtProp()
820 …memcpy(&ext_prop_v4.prop[ext_prop_v4.num_ext_props], &prop->ext[i], sizeof(struct ipa_ioc_ext_intf… in SetExtProp()
823 else if(prop->ext[i].ip == IPA_IP_v6) in SetExtProp()
830 …memcpy(&ext_prop_v6.prop[ext_prop_v6.num_ext_props], &prop->ext[i], sizeof(struct ipa_ioc_ext_intf… in SetExtProp()

123