Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 1026) sorted by relevance

12345678910>>...42

/hardware/interfaces/media/omx/1.0/vts/functional/audio/
Dmedia_audio_hidl_test_common.cpp55 OMX_AUDIO_PARAM_ANDROID_PROFILETYPE param; in enumerateProfile() local
56 param.nProfileIndex = 0; in enumerateProfile()
61 portIndex, &param); in enumerateProfile()
63 arrProfile->push_back(static_cast<int32_t>(param.eProfile)); in enumerateProfile()
64 param.nProfileIndex++; in enumerateProfile()
65 if (param.nProfileIndex == 512) { in enumerateProfile()
67 EXPECT_LE(param.nProfileIndex, 512U) in enumerateProfile()
77 OMX_AUDIO_PARAM_PCMMODETYPE param; in setupPCMPort() local
79 status = getPortParam(omxNode, OMX_IndexParamAudioPcm, portIndex, &param); in setupPCMPort()
81 param.nChannels = nChannels; in setupPCMPort()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/video/
Dmedia_video_hidl_test_common.cpp57 OMX_VIDEO_PARAM_PROFILELEVELTYPE param; in enumerateProfileAndLevel() local
58 param.nProfileIndex = 0; in enumerateProfileAndLevel()
64 portIndex, &param); in enumerateProfileAndLevel()
66 arrProfile->push_back(static_cast<int32_t>(param.eProfile)); in enumerateProfileAndLevel()
67 arrLevel->push_back(static_cast<int32_t>(param.eLevel)); in enumerateProfileAndLevel()
68 param.nProfileIndex++; in enumerateProfileAndLevel()
69 if (param.nProfileIndex == 512) { in enumerateProfileAndLevel()
71 EXPECT_LE(param.nProfileIndex, 512U) in enumerateProfileAndLevel()
105 OMX_VIDEO_PARAM_AVCTYPE param; in setupAVCPort() local
108 status = getPortParam(omxNode, OMX_IndexParamVideoAvc, portIndex, &param); in setupAVCPort()
[all …]
/hardware/google/aemu/host-common/
DH264PingInfoParser.cpp57 InitContextParam& param) { in parseInitContextParams() argument
59 param.version = *(uint32_t*)xptr; in parseInitContextParams()
60 param.width = *(unsigned int*)(xptr + 8); in parseInitContextParams()
61 param.height = *(unsigned int*)(xptr + 16); in parseInitContextParams()
62 param.outputWidth = *(unsigned int*)(xptr + 24); in parseInitContextParams()
63 param.outputHeight = *(unsigned int*)(xptr + 32); in parseInitContextParams()
64 param.outputPixelFormat = static_cast<PixelFormat>(*(uint8_t*)(xptr + 40)); in parseInitContextParams()
65 param.pHostDecoderId = static_cast<uint64_t*>(getReturnAddress(ptr)); in parseInitContextParams()
76 DecodeFrameParam& param) { in parseDecodeFrameParams() argument
77 param.hostDecoderId = parseHostDecoderId(ptr); in parseDecodeFrameParams()
[all …]
DVpxPingInfoParser.cpp62 InitContextParam& param) { in parseInitContextParams() argument
63 param.id = parseId(ptr); in parseInitContextParams()
64 param.version = parseVersion(ptr); in parseInitContextParams()
68 DecodeFrameParam& param) { in parseDecodeFrameParams() argument
69 param.id = parseId(ptr); in parseDecodeFrameParams()
72 param.p_data = xptr + offset; in parseDecodeFrameParams()
73 param.size = *(size_t*)(xptr + 2 * 8); in parseDecodeFrameParams()
74 param.user_priv = *(uint64_t*)(xptr + 3 * 8); in parseDecodeFrameParams()
77 void VpxPingInfoParser::parseGetImageParams(void* ptr, GetImageParam& param) { in parseGetImageParams() argument
78 param.id = parseId(ptr); in parseGetImageParams()
[all …]
DMediaH264DecoderGeneric.cpp96 ResetParam param{}; in reset() local
97 mParser.parseResetParams(ptr, param); in reset()
98 initH264ContextInternal(param.width, param.height, param.outputWidth, in reset()
99 param.outputHeight, param.outputPixelFormat); in reset()
103 InitContextParam param{}; in initH264Context() local
104 mParser.parseInitContextParams(ptr, param); in initH264Context()
105 initH264ContextInternal(param.width, param.height, param.outputWidth, in initH264Context()
106 param.outputHeight, param.outputPixelFormat); in initH264Context()
220 DecodeFrameParam param{}; in decodeFrame() local
221 mParser.parseDecodeFrameParams(ptr, param); in decodeFrame()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
Dsubdecode.py32 def emit_param_decl_for_reading(param, cgen): argument
33 if param.staticArrExpr:
35 cgen.makeRichCTypeDecl(param.getForNonConstAccess()))
38 cgen.makeRichCTypeDecl(param))
40 if param.pointerIndirectionLevels > 0:
41 lenAccess = cgen.generalLengthAccess(param)
46 typeHere = "uint8_t*" if "void" == param.typeName else param.typeName
48 typeHere, "*" * (param.pointerIndirectionLevels - 1), param.paramName, arrSize))
51 def emit_unmarshal(typeInfo, param, cgen, output=False, destroy=False, noUnbox=False): argument
53 iterateVulkanType(typeInfo, param, VulkanReservedMarshalingCodegen(
[all …]
Dfunctable.py160 for param in api.parameters:
161 if param.isCreatedBy(api):
162 return param
166 for param in api.parameters:
167 if param.isDestroyedBy(api):
168 return param
196 def isAllocatorParam(param): argument
198 return (param.pointerIndirectionLevels == 1
199 and param.isConst
200 and param.typeName == ALLOCATOR_TYPE_NAME)
[all …]
/hardware/interfaces/keymaster/4.0/support/
Dkey_param_output.cpp42 ostream& operator<<(ostream& os, const KeyParameter& param) { in operator <<() argument
43 os << param.tag << ": "; in operator <<()
44 switch (typeFromTag(param.tag)) { in operator <<()
49 return os << param.f.integer; in operator <<()
52 switch (param.tag) { in operator <<()
54 return os << param.f.algorithm; in operator <<()
56 return os << param.f.blockMode; in operator <<()
58 return os << param.f.paddingMode; in operator <<()
60 return os << param.f.digest; in operator <<()
62 return os << (int)param.f.ecCurve; in operator <<()
[all …]
/hardware/nxp/keymint/KM200/
DJavacardKeyMintUtils.cpp25 KeyParameter kmEnumParam2Aidl(const keymaster_key_param_t& param) { in kmEnumParam2Aidl() argument
26 switch (param.tag) { in kmEnumParam2Aidl()
29 static_cast<KeyPurpose>(param.enumerated))}; in kmEnumParam2Aidl()
32 static_cast<Algorithm>(param.enumerated))}; in kmEnumParam2Aidl()
35 static_cast<BlockMode>(param.enumerated))}; in kmEnumParam2Aidl()
38 static_cast<Digest>(param.enumerated))}; in kmEnumParam2Aidl()
41 static_cast<PaddingMode>(param.enumerated))}; in kmEnumParam2Aidl()
44 static_cast<EcCurve>(param.enumerated))}; in kmEnumParam2Aidl()
48 static_cast<HardwareAuthenticatorType>(param.enumerated))}; in kmEnumParam2Aidl()
51 static_cast<KeyOrigin>(param.enumerated))}; in kmEnumParam2Aidl()
[all …]
/hardware/nxp/keymint/KM300/
DJavacardKeyMintUtils.cpp27 KeyParameter kmEnumParam2Aidl(const keymaster_key_param_t& param) { in kmEnumParam2Aidl() argument
28 switch (param.tag) { in kmEnumParam2Aidl()
31 static_cast<KeyPurpose>(param.enumerated))}; in kmEnumParam2Aidl()
34 static_cast<Algorithm>(param.enumerated))}; in kmEnumParam2Aidl()
37 static_cast<BlockMode>(param.enumerated))}; in kmEnumParam2Aidl()
40 static_cast<Digest>(param.enumerated))}; in kmEnumParam2Aidl()
43 static_cast<PaddingMode>(param.enumerated))}; in kmEnumParam2Aidl()
46 static_cast<EcCurve>(param.enumerated))}; in kmEnumParam2Aidl()
50 static_cast<HardwareAuthenticatorType>(param.enumerated))}; in kmEnumParam2Aidl()
53 static_cast<KeyOrigin>(param.enumerated))}; in kmEnumParam2Aidl()
[all …]
/hardware/qcom/display/msm8909w_3100/libqdutils/
DqdMetaData.cpp69 void *param) { in setMetaData() argument
74 paramType, param); in setMetaData()
78 void *param) { in setMetaDataVa() argument
82 if (!param) { in setMetaDataVa()
91 data->interlaced = *((int32_t *)param); in setMetaDataVa()
94 data->bufferDim = *((BufferDim_t *)param); in setMetaDataVa()
97 data->refreshrate = *((float *)param); in setMetaDataVa()
100 data->colorSpace = *((ColorSpace_t *)param); in setMetaDataVa()
103 data->mapSecureBuffer = *((int32_t *)param); in setMetaDataVa()
106 data->s3dFormat = *((uint32_t *)param); in setMetaDataVa()
[all …]
/hardware/qcom/display/msm8909/libqdutils/
DqdMetaData.cpp69 void *param) { in setMetaData() argument
74 paramType, param); in setMetaData()
78 void *param) { in setMetaDataVa() argument
82 if (!param) { in setMetaDataVa()
91 data->interlaced = *((int32_t *)param); in setMetaDataVa()
94 data->bufferDim = *((BufferDim_t *)param); in setMetaDataVa()
97 data->refreshrate = *((float *)param); in setMetaDataVa()
100 data->colorSpace = *((ColorSpace_t *)param); in setMetaDataVa()
103 data->mapSecureBuffer = *((int32_t *)param); in setMetaDataVa()
106 data->s3dFormat = *((uint32_t *)param); in setMetaDataVa()
[all …]
/hardware/qcom/display/msm8998/libqdutils/
DqdMetaData.cpp66 void *param) { in setMetaData() argument
73 if (!param) { in setMetaData()
82 data->interlaced = *((int32_t *)param); in setMetaData()
85 data->bufferDim = *((BufferDim_t *)param); in setMetaData()
88 data->refreshrate = *((float *)param); in setMetaData()
91 data->colorSpace = *((ColorSpace_t *)param); in setMetaData()
94 data->mapSecureBuffer = *((int32_t *)param); in setMetaData()
97 data->s3dFormat = *((uint32_t *)param); in setMetaData()
100 data->linearFormat = *((uint32_t *)param); in setMetaData()
103 data->igc = *((IGC_t *)param); in setMetaData()
[all …]
/hardware/qcom/display/msm8996/libqdutils/
DqdMetaData.cpp66 void *param) { in setMetaData() argument
73 if (!param) { in setMetaData()
82 data->interlaced = *((int32_t *)param); in setMetaData()
85 data->bufferDim = *((BufferDim_t *)param); in setMetaData()
88 data->refreshrate = *((float *)param); in setMetaData()
91 data->colorSpace = *((ColorSpace_t *)param); in setMetaData()
94 data->mapSecureBuffer = *((int32_t *)param); in setMetaData()
97 data->s3dFormat = *((uint32_t *)param); in setMetaData()
100 data->linearFormat = *((uint32_t *)param); in setMetaData()
103 data->igc = *((IGC_t *)param); in setMetaData()
[all …]
/hardware/qcom/display/msm8994/libqdutils/
DqdMetaData.cpp39 void *param) { in setMetaData() argument
48 if (!param) { in setMetaData()
63 memcpy((void *)&data->hsicData, param, sizeof(HSICData_t)); in setMetaData()
66 data->sharpness = *((int32_t *)param); in setMetaData()
69 data->video_interface = *((int32_t *)param); in setMetaData()
72 data->interlaced = *((int32_t *)param); in setMetaData()
75 memcpy((void *)&data->igcData, param, sizeof(IGCData_t)); in setMetaData()
78 memcpy((void *)&data->Sharp2Data, param, sizeof(Sharp2Data_t)); in setMetaData()
81 data->timestamp = *((int64_t *)param); in setMetaData()
84 memcpy((void *)&data->bufferDim, param, sizeof(BufferDim_t)); in setMetaData()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dvaliditygenerator.py296 def paramIsStaticArray(self, param): argument
298 tail = param.find('name').tail
301 def paramIsConst(self, param): argument
303 return param.text is not None and 'const' in param.text
305 def staticArrayLength(self, param): argument
307 paramenumsize = param.find('enum')
313 return param.find('name').tail[1:-1]
335 def isHandleOptional(self, param, params): argument
337 if param.get('optional') is not None:
341 if param.get('noautovalidity') is not None:
[all …]
/hardware/libhardware/include/hardware/
Dkeymaster_defs.h554 keymaster_key_param_t param; in keymaster_param_enum() local
555 memset(&param, 0, sizeof(param)); in keymaster_param_enum()
556 param.tag = tag; in keymaster_param_enum()
557 param.enumerated = value; in keymaster_param_enum()
558 return param; in keymaster_param_enum()
563 keymaster_key_param_t param; in keymaster_param_int() local
564 memset(&param, 0, sizeof(param)); in keymaster_param_int()
565 param.tag = tag; in keymaster_param_int()
566 param.integer = value; in keymaster_param_int()
567 return param; in keymaster_param_int()
[all …]
/hardware/libhardware/include_all/hardware/
Dkeymaster_defs.h554 keymaster_key_param_t param; in keymaster_param_enum() local
555 memset(&param, 0, sizeof(param)); in keymaster_param_enum()
556 param.tag = tag; in keymaster_param_enum()
557 param.enumerated = value; in keymaster_param_enum()
558 return param; in keymaster_param_enum()
563 keymaster_key_param_t param; in keymaster_param_int() local
564 memset(&param, 0, sizeof(param)); in keymaster_param_int()
565 param.tag = tag; in keymaster_param_int()
566 param.integer = value; in keymaster_param_int()
567 return param; in keymaster_param_int()
[all …]
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkey_param_output.cpp70 ::std::ostream& operator<<(::std::ostream& os, const KeyParameter& param) { in operator <<() argument
71 os << stringifyTag(param.tag) << ": "; in operator <<()
72 switch (typeFromTag(param.tag)) { in operator <<()
77 return os << param.f.integer; in operator <<()
80 switch (param.tag) { in operator <<()
82 return os << param.f.algorithm; in operator <<()
84 return os << param.f.blockMode; in operator <<()
86 return os << param.f.paddingMode; in operator <<()
88 return os << param.f.digest; in operator <<()
90 return os << (int)param.f.ecCurve; in operator <<()
[all …]
/hardware/nxp/uwb/halimpl/utils/
DphNxpConfig.cc63 uwbParam(const uwbParam& param);
64 uwbParam(uwbParam&& param);
503 auto &param = it.second; in dump() local
504 param.dump(key); in dump()
519 uwbParam::uwbParam(const uwbParam &param) : in uwbParam() argument
520 m_numValue(param.m_numValue), in uwbParam()
521 m_str_value(param.m_str_value), in uwbParam()
522 m_arrValue(param.m_arrValue), in uwbParam()
523 m_arrStrValue(param.m_arrStrValue), in uwbParam()
524 m_type(param.m_type) in uwbParam()
[all …]
/hardware/interfaces/renderscript/1.0/
DIContext.hal51 * @param type Type describing data layout
52 * @param baseAlloc Allocation
69 * @param alloc AllocationAdapter
70 * @param offsets Collection of offsets
80 * @param allocation Allocation
93 * @param type Type describing data layout
94 * @param mips AllocationMipmapControl specifies desired mipmap behavior for
96 * @param usage Bit field specifying how the Allocation is utilized
97 * @param ptr Pointer to client-side data
108 * @param type Type describing data layout
[all …]
/hardware/qcom/display/msm8226/libqdutils/
DqdMetaData.cpp39 void *param) { in setMetaData() argument
48 if (!param) { in setMetaData()
63 memcpy((void *)&data->hsicData, param, sizeof(HSICData_t)); in setMetaData()
66 data->sharpness = *((int32_t *)param); in setMetaData()
69 data->video_interface = *((int32_t *)param); in setMetaData()
72 data->interlaced = *((int32_t *)param); in setMetaData()
75 memcpy((void *)&data->igcData, param, sizeof(IGCData_t)); in setMetaData()
78 memcpy((void *)&data->Sharp2Data, param, sizeof(Sharp2Data_t)); in setMetaData()
81 data->timestamp = *((int64_t *)param); in setMetaData()
84 memcpy((void *)&data->bufferDim, param, sizeof(BufferDim_t)); in setMetaData()
[all …]
/hardware/qcom/display/msm8084/libqdutils/
DqdMetaData.cpp38 void *param) { in setMetaData() argument
47 if (!param) { in setMetaData()
62 memcpy((void *)&data->hsicData, param, sizeof(HSICData_t)); in setMetaData()
65 data->sharpness = *((int32_t *)param); in setMetaData()
68 data->video_interface = *((int32_t *)param); in setMetaData()
71 data->interlaced = *((int32_t *)param); in setMetaData()
74 memcpy((void *)&data->igcData, param, sizeof(IGCData_t)); in setMetaData()
77 memcpy((void *)&data->Sharp2Data, param, sizeof(Sharp2Data_t)); in setMetaData()
80 data->timestamp = *((int64_t *)param); in setMetaData()
83 memcpy((void *)&data->bufferDim, param, sizeof(BufferDim_t)); in setMetaData()
[all …]
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-hwapi.cpp148 return ParamNameFixup(info.param); in PrintParam()
187 return ParamNameFixup(std::get<0>(info.param)); in PrintParam()
197 auto param = GetParam(); in TEST_P() local
198 auto func = std::get<1>(param); in TEST_P()
204 auto param = GetParam(); in TEST_P() local
205 auto func = std::get<1>(param); in TEST_P()
220 auto param = GetParam(); in TEST_P() local
221 auto name = std::get<0>(param); in TEST_P()
222 auto func = std::get<1>(param); in TEST_P()
230 auto param = GetParam(); in TEST_P() local
[all …]
/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-hwapi.cpp135 return ParamNameFixup(std::get<0>(info.param)); in PrintParam()
145 auto param = GetParam(); in TEST_P() local
146 auto func = std::get<1>(param); in TEST_P()
152 auto param = GetParam(); in TEST_P() local
153 auto func = std::get<1>(param); in TEST_P()
170 auto param = GetParam(); in TEST_P() local
171 auto name = std::get<0>(param); in TEST_P()
172 auto func = std::get<1>(param); in TEST_P()
183 auto param = GetParam(); in TEST_P() local
184 auto name = std::get<0>(param); in TEST_P()
[all …]

12345678910>>...42