/drivers/peripheral/codec/hal/src/ |
H A D | codec_component_type_stub.c | 234 uint32_t cfgStructLen = 0; in SerStubGetConfig() local 241 if (!HdfSbufReadUint32(data, &cfgStructLen)) { in SerStubGetConfig() 242 CODEC_LOGE("read cfgStructLen failed!"); in SerStubGetConfig() 245 cfgStruct = (int8_t*)OsalMemCalloc(sizeof(int8_t) * (cfgStructLen)); in SerStubGetConfig() 251 for (uint32_t i = 0; i < cfgStructLen; i++) { in SerStubGetConfig() 254 FreeMem(cfgStruct, cfgStructLen); in SerStubGetConfig() 259 ret = serviceImpl->GetConfig(serviceImpl, index, cfgStruct, cfgStructLen); in SerStubGetConfig() 262 FreeMem(cfgStruct, cfgStructLen); in SerStubGetConfig() 266 for (uint32_t i = 0; i < cfgStructLen; i++) { in SerStubGetConfig() 269 FreeMem(cfgStruct, cfgStructLen); in SerStubGetConfig() 290 uint32_t cfgStructLen = 0; SerStubSetConfig() local [all...] |
H A D | codec_component_type_service.c | 90 uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in CodecComponentTypeGetConfig() 99 int32_t err = OmxAdapterGetConfig(service->codecNode, index, cfgStruct, cfgStructLen); in CodecComponentTypeGetConfig() 107 uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in CodecComponentTypeSetConfig() 116 int32_t err = OmxAdapterSetConfig(service->codecNode, index, cfgStruct, cfgStructLen); in CodecComponentTypeSetConfig() 89 CodecComponentTypeGetConfig(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) CodecComponentTypeGetConfig() argument 106 CodecComponentTypeSetConfig(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) CodecComponentTypeSetConfig() argument
|
H A D | codec_component_type_proxy.c | 257 uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in CodecComponentTypeProxyGetConfig() 281 if (!HdfSbufWriteUint32(data, cfgStructLen)) { in CodecComponentTypeProxyGetConfig() 282 CODEC_LOGE("write cfgStructLen failed!"); in CodecComponentTypeProxyGetConfig() 287 for (uint32_t i = 0; i < cfgStructLen; i++) { in CodecComponentTypeProxyGetConfig() 302 for (uint32_t i = 0; i < cfgStructLen; i++) { in CodecComponentTypeProxyGetConfig() 315 uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) in CodecComponentTypeProxySetConfig() 339 if (!HdfSbufWriteUint32(data, cfgStructLen)) { in CodecComponentTypeProxySetConfig() 344 for (uint32_t i = 0; i < cfgStructLen; i++) { in CodecComponentTypeProxySetConfig() 256 CodecComponentTypeProxyGetConfig(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) CodecComponentTypeProxyGetConfig() argument 314 CodecComponentTypeProxySetConfig(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen) CodecComponentTypeProxySetConfig() argument
|
/drivers/peripheral/codec/interfaces/include/ |
H A D | codec_component_if.h | 149 * @param cfgStructLen Indicates the length of <b>cfgStruct</b>, in bytes. 156 int32_t (*GetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen); 167 * @param cfgStructLen Indicates the length of <b>cfgStruct</b>, in bytes. 174 int32_t (*SetConfig)(struct CodecComponentType *self, uint32_t index, int8_t *cfgStruct, uint32_t cfgStructLen);
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecgetconfighdi_fuzzer/ |
H A D | codecgetconfig_fuzzer.cpp | 25 uint32_t cfgStructLen; member
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecsetconfighdi_fuzzer/ |
H A D | codecsetconfig_fuzzer.cpp | 25 uint32_t cfgStructLen; member
|