Home
last modified time | relevance | path

Searched refs:cfgStruct (Results 1 – 16 of 16) sorted by relevance

/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecsetconfighdi_fuzzer/
Dcodecsetconfig_fuzzer.cpp24 int8_t *cfgStruct; member
53 std::vector<int8_t> cfgStruct; in CodecSetConfig() local
54 ObjectToVector(params.cfgStruct, cfgStruct); in CodecSetConfig()
56 int32_t ret = g_component->SetConfig(params.index, cfgStruct); in CodecSetConfig()
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecgetconfigomx_fuzzer/
Dcodecgetconfig_fuzzer.cpp24 int8_t *cfgStruct; member
43 params.cfgStruct = reinterpret_cast<int8_t *>(rawData); in CodecGetConfig()
46 params.cfgStruct = reinterpret_cast<int8_t *>(rawData); in CodecGetConfig()
56 …int32_t ret = g_component->GetConfig(g_component, params.index, params.cfgStruct, params.cfgStruct… in CodecGetConfig()
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecsetconfigomx_fuzzer/
Dcodecsetconfig_fuzzer.cpp24 int8_t *cfgStruct; member
43 params.cfgStruct = reinterpret_cast<int8_t *>(rawData); in CodecSetConfig()
46 params.cfgStruct = reinterpret_cast<int8_t *>(rawData); in CodecSetConfig()
56 …int32_t ret = g_component->SetConfig(g_component, params.index, params.cfgStruct, params.cfgStruct… in CodecSetConfig()
/drivers/peripheral/codec/hal/src/
Dcodec_component_type_stub.c213 int8_t *cfgStruct = NULL; in SerStubGetConfig() local
225 cfgStruct = (int8_t*)OsalMemCalloc(sizeof(int8_t) * (cfgStructLen)); in SerStubGetConfig()
226 if (cfgStruct == NULL) { in SerStubGetConfig()
232 if (!HdfSbufReadInt8(data, &cfgStruct[i])) { in SerStubGetConfig()
234 FreeMem(cfgStruct, cfgStructLen); in SerStubGetConfig()
239 ret = serviceImpl->GetConfig(serviceImpl, index, cfgStruct, cfgStructLen); in SerStubGetConfig()
242 FreeMem(cfgStruct, cfgStructLen); in SerStubGetConfig()
247 if (!HdfSbufWriteInt8(reply, cfgStruct[i])) { in SerStubGetConfig()
249 FreeMem(cfgStruct, cfgStructLen); in SerStubGetConfig()
254 FreeMem(cfgStruct, cfgStructLen); in SerStubGetConfig()
[all …]
Dcodec_component_type_service.c74 uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in CodecComponentTypeGetConfig() argument
79 int32_t err = OmxAdapterGetConfig(service->codecNode, index, cfgStruct, cfgStructLen); in CodecComponentTypeGetConfig()
87 uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in CodecComponentTypeSetConfig() argument
92 int32_t err = OmxAdapterSetConfig(service->codecNode, index, cfgStruct, cfgStructLen); in CodecComponentTypeSetConfig()
Dcodec_component_type_proxy.c257 uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in CodecComponentTypeProxyGetConfig() argument
288 if (!HdfSbufWriteInt8(data, cfgStruct[i])) { in CodecComponentTypeProxyGetConfig()
303 if (!HdfSbufReadInt8(reply, &cfgStruct[i])) { in CodecComponentTypeProxyGetConfig()
315 uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in CodecComponentTypeProxySetConfig() argument
345 if (!HdfSbufWriteInt8(data, cfgStruct[i])) { in CodecComponentTypeProxySetConfig()
/drivers/peripheral/codec/test/fuzztest/adapter_fuzzer/codecgetconfigadapter_fuzzer/
Dcodecgetconfig_fuzzer.cpp23 int8_t *cfgStruct; member
48 …int32_t ret = g_component->GetConfig(g_component, params.index, params.cfgStruct, params.cfgStruct… in CodecGetConfig()
/drivers/peripheral/codec/test/fuzztest/adapter_fuzzer/codecsetconfigadapter_fuzzer/
Dcodecsetconfig_fuzzer.cpp23 int8_t *cfgStruct; member
48 …int32_t ret = g_component->SetConfig(g_component, params.index, params.cfgStruct, params.cfgStruct… in CodecSetConfig()
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecgetconfighdi_fuzzer/
Dcodecgetconfig_fuzzer.cpp24 int8_t *cfgStruct; member
54 ObjectToVector(params.cfgStruct, inCfgStruct); in CodecGetConfig()
/drivers/peripheral/codec/interfaces/include/
Dcodec_component_if.h156 …int32_t (*GetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t …
174 …int32_t (*SetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t …
/drivers/peripheral/codec/hal/passthrough/src/
Dcodec_component_if.c68 struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in ComponentTypeGetConfig() argument
75 return CodecAdapterGetConfig(info->codecNode, index, cfgStruct, cfgStructLen); in ComponentTypeGetConfig()
79 struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in ComponentTypeSetConfig() argument
86 return CodecAdapterSetConfig(info->codecNode, index, cfgStruct, cfgStructLen); in ComponentTypeSetConfig()
/drivers/peripheral/codec/hal/idl_service/src/
Dcodec_component_service.cpp92 int32_t CodecComponentService::SetConfig(uint32_t index, const std::vector<int8_t> &cfgStruct) in SetConfig() argument
95 return node_->SetConfig(static_cast<enum OMX_INDEXTYPE>(index), cfgStruct.data()); in SetConfig()
/drivers/peripheral/codec/hal/idl_service/include/
Dcodec_component_service.h37 int32_t SetConfig(uint32_t index, const std::vector<int8_t> &cfgStruct) override;
/drivers/interface/codec/v1_0/
DICodecComponent.idl178 …* @param cfgStruct Indicates the pointer to the application allocated structure used to set the co…
188 SetConfig([in] unsigned int index, [in] byte[] cfgStruct);
/drivers/peripheral/codec/
DREADME_zh.md225 …t (*GetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStr…
230 …t (*SetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStr…
DREADME.md225 …t (*GetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStr…
230 …t (*SetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStr…