/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 78 c2_status_t c2err = mComponent->query({}, {C2PortMediaTypeSetting::output::PARAM_TYPE}, in SetUp() local 80 ASSERT_EQ(c2err, C2_OK) << "Query media type failed"; in SetUp() 209 c2_status_t c2err = component->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, in validateComponent() local 211 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 212 ALOGE("Query media type failed => %d", c2err); in validateComponent() 243 c2_status_t c2err = mComponent->querySupportedValues(validValueInfos, C2_DONT_BLOCK); in getChannelCount() local 244 ASSERT_EQ(c2err, C2_OK) << "Query channel count info failed"; in getChannelCount() 280 c2_status_t c2err = mComponent->query({}, {C2StreamSampleRateInfo::input::PARAM_TYPE}, in getSampleRate() local 282 ASSERT_EQ(c2err, C2_OK) << "Query sample rate info failed"; in getSampleRate() 291 c2_status_t c2err = mComponent->query({}, {C2StreamAudioFrameSizeInfo::input::PARAM_TYPE}, in getSamplesPerFrame() local [all …]
|
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 103 c2_status_t c2err = mComponent->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, in SetUp() local 105 ASSERT_EQ(c2err, C2_OK) << "Query media type failed"; in SetUp() 261 c2_status_t c2err = component->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, in validateComponent() local 263 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 264 ALOGE("Query media type failed => %d", c2err); in validateComponent() 285 c2_status_t c2err = comp->querySupportedValues(validValueInfos, C2_DONT_BLOCK); in isLargeAudioFrameSupported() local 286 if (c2err != C2_OK || validValueInfos.size() != 2) { in isLargeAudioFrameSupported()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 81 c2_status_t c2err = mComponent->query({}, {C2PortMediaTypeSetting::output::PARAM_TYPE}, in SetUp() local 83 ASSERT_EQ(c2err, C2_OK) << "Query media type failed"; in SetUp() 256 c2_status_t c2err = component->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, in validateComponent() local 258 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 259 ALOGE("Query media type failed => %d", c2err); in validateComponent() 464 c2_status_t c2err = mComponent->querySupportedValues(validValueInfos, C2_MAY_BLOCK); in getMaxMinResolutionSupported() local 465 if (c2err != C2_OK || validValueInfos.size() != 2u) { in getMaxMinResolutionSupported() 467 return c2err; in getMaxMinResolutionSupported()
|
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 129 c2_status_t c2err = mComponent->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, in SetUp() local 131 ASSERT_EQ(c2err, C2_OK) << "Query media type failed"; in SetUp() 370 c2_status_t c2err = component->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, in validateComponent() local 372 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 373 ALOGE("Query media type failed => %d", c2err); in validateComponent()
|
/frameworks/av/media/codec2/sfplugin/ |
D | C2NodeImpl.cpp | 234 c2_status_t c2err = C2_NOT_FOUND; in getInputBufferParams() local 236 c2err = comp->query( in getInputBufferParams() 239 if (c2err == C2_OK || c2err == C2_BAD_INDEX) { in getInputBufferParams()
|
D | CCodecConfig.cpp | 199 c2_status_t c2err = configurable->query( in QueryMediaTypeImpl() local 201 if (c2err != C2_OK && queried.size() == 0) { in QueryMediaTypeImpl() 202 ALOGD("Query media type failed => %s", asString(c2err)); in QueryMediaTypeImpl() 1064 c2_status_t c2err = configurable->query({ &domain, &kind }, {}, C2_DONT_BLOCK, &queried); in initialize() local 1065 if (c2err != C2_OK) { in initialize() 1066 ALOGD("Query domain & kind failed => %s", asString(c2err)); in initialize() 1112 c2err = configurable->querySupportedParams(&mParamDescs); in initialize() 1113 if (c2err != C2_OK) { in initialize() 1115 mParamDescs.size(), asString(c2err)); in initialize()
|
D | CCodec.cpp | 1541 c2_status_t c2err = C2_OK; in configure() local 1543 c2err = comp->query( in configure() 1549 c2err = comp->query( in configure() 1555 if (c2err != C2_OK && c2err != C2_BAD_INDEX) { in configure() 1556 ALOGE("Failed to query component interface: %d", c2err); in configure() 2963 c2_status_t c2err = comp->config({ tunneledPlayback.get() }, C2_MAY_BLOCK, &failures); in configureTunneledVideoPlayback() local 2964 if (c2err != C2_OK) { in configureTunneledVideoPlayback() 2973 c2err = comp->query({}, {C2PortTunnelHandleTuning::output::PARAM_TYPE}, C2_DONT_BLOCK, ¶ms); in configureTunneledVideoPlayback() 2974 if (c2err == C2_OK && params.size() == 1u) { in configureTunneledVideoPlayback()
|
/frameworks/av/media/codec2/hal/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 173 c2_status_t c2err = GetCodec2PlatformAllocatorStore()->fetchAllocator( in init() local 177 if (c2err != OK) { in init() 179 << "status = " << asString(c2err) << "."; in init()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 3113 c2_status_t c2err = sGrallocAlloc->priorGraphicAllocation(handle, &alloc); in android_media_MediaCodec_native_queueHardwareBuffer() local 3114 if (c2err != C2_OK) { in android_media_MediaCodec_native_queueHardwareBuffer()
|