Home
last modified time | relevance | path

Searched refs:configParam (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp37 std::vector<C2Param *> configParam; in createCodec2Component() local
44 configParam.push_back(&sampleRateInfo); in createCodec2Component()
45 configParam.push_back(&channelCountInfo); in createCodec2Component()
52 configParam.push_back(&inputSize); in createCodec2Component()
62 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp227 void getFileProperties(inputID inputId, string &inputFile, configFormat &configParam);
287 configFormat &configParam) { in getFileProperties() argument
299 configParam.mime = kInputData[inputIdx].mime; in getFileProperties()
300 size_t found = configParam.mime.find("audio/"); in getFileProperties()
303 configParam.sampleRate = kInputData[inputIdx].firstParam; in getFileProperties()
304 configParam.channelCount = kInputData[inputIdx].secondParam; in getFileProperties()
306 configParam.width = kInputData[inputIdx].firstParam; in getFileProperties()
307 configParam.height = kInputData[inputIdx].secondParam; in getFileProperties()
309 configParam.profile = kInputData[inputIdx].profile; in getFileProperties()
310 configParam.frameRate = kInputData[inputIdx].frameRate; in getFileProperties()
[all …]
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp37 std::vector<C2Param *> configParam; in createCodec2Component() local
51 configParam.push_back(&sampleRateInfo); in createCodec2Component()
52 configParam.push_back(&channelCountInfo); in createCodec2Component()
64 configParam.push_back(&inputSize); in createCodec2Component()
79 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp141 std::vector<C2Param*> configParam; in workDone() local
152 configParam.push_back(param); in workDone()
155 component->config(configParam, C2_DONT_BLOCK, &failures); in workDone()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp275 std::vector<std::unique_ptr<C2Param>> configParam; in setupConfigParam() local
278 configParam.push_back(std::make_unique<C2StreamPictureSizeInfo::input>(0u, nWidth, nHeight)); in setupConfigParam()
285 configParam.push_back(std::move(gop)); in setupConfigParam()
288 for (const std::unique_ptr<C2Param>& param : configParam) { in setupConfigParam()
858 std::vector<C2Param*> configParam{&bitrate}; in TEST_P() local
859 c2_status_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in TEST_P()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp591 std::vector<C2Param*> configParam{&pixelformat}; in configPixelFormat() local
592 c2_status_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in configPixelFormat()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp357 std::vector<C2Param*> configParam{&largeFrameParams}; in configureLargeFrameParams() local
358 c2_status_t status = comp->config(configParam, C2_DONT_BLOCK, &failures); in configureLargeFrameParams()
373 std::vector<C2Param*> configParam{&sampleRateInfo, &channelCountInfo}; in setupConfigParam() local
374 c2_status_t status = component->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp231 std::vector<C2Param*> configParam{&sampleRateInfo, &channelCountInfo}; in setupConfigParam() local
232 c2_status_t status = component->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()