OMX_ERRORTYPE OMX_CONF_StdPcmMixerTest( OMX_IN OMX_STRING cComponentName) { OMX_ERRORTYPE eError = OMX_ErrorNone; TEST_CTXTYPE ctx; eError = StdComponentTest_IsRoleSupported(cComponentName, "audio_mixer.pcm"); OMX_CONF_BAIL_ON_ERROR(eError); memset(&ctx, 0x0, sizeof(TEST_CTXTYPE)); eError = StdComponentTest_StdComp(cComponentName, &ctx, (STDCOMPTEST_COMPONENT)StdAudioMixerTest_PcmMixer); OMX_CONF_TEST_BAIL: return (eError); }
OMX_ERRORTYPE OMX_CONF_StdRgbOverlayTest( OMX_IN OMX_STRING cComponentName) { OMX_ERRORTYPE eError = OMX_ErrorNone; TEST_CTXTYPE ctx; eError = StdComponentTest_IsRoleSupported(cComponentName, "iv_renderer.rgb.overlay"); OMX_CONF_BAIL_ON_ERROR(eError); memset(&ctx, 0x0, sizeof(TEST_CTXTYPE)); eError = StdComponentTest_StdComp(cComponentName, &ctx, (STDCOMPTEST_COMPONENT)StdIVRendererTest_RgbOverlay); OMX_CONF_TEST_BAIL: return (eError); }
OMX_ERRORTYPE OMX_CONF_StdBinaryClockTest_BinaryClockTest( OMX_IN OMX_STRING cComponentName) { OMX_ERRORTYPE eError = OMX_ErrorNone; TEST_CTXTYPE ctx; eError = StdComponentTest_IsRoleSupported(cComponentName, "clock.binary"); OMX_CONF_BAIL_ON_ERROR(eError); memset(&ctx, 0x0, sizeof(TEST_CTXTYPE)); eError = StdComponentTest_StdComp(cComponentName, &ctx, (STDCOMPTEST_COMPONENT)StdBinaryClockTest_BinaryClock); OMX_CONF_TEST_BAIL: return (eError); }
OMX_ERRORTYPE OMX_CONF_StdMpeg4EncoderTest( OMX_IN OMX_STRING cComponentName) { OMX_ERRORTYPE eError = OMX_ErrorNone; TEST_CTXTYPE ctx; eError = StdComponentTest_IsRoleSupported(cComponentName, "video_encoder.mpeg4"); OMX_CONF_BAIL_ON_ERROR(eError); memset(&ctx, 0x0, sizeof(TEST_CTXTYPE)); eError = StdComponentTest_StdComp(cComponentName, &ctx, (STDCOMPTEST_COMPONENT)StdVideoEncoderTest_Mpeg4Encoder); OMX_CONF_TEST_BAIL: return (eError); }
OMX_ERRORTYPE OMX_CONF_StdJpegDecoderTest( OMX_IN OMX_STRING cComponentName) { OMX_ERRORTYPE eError = OMX_ErrorNone; TEST_CTXTYPE ctx; eError = StdComponentTest_IsRoleSupported(cComponentName, "image_decoder.jpeg"); OMX_CONF_BAIL_ON_ERROR(eError); memset(&ctx, 0x0, sizeof(TEST_CTXTYPE)); eError = StdComponentTest_StdComp(cComponentName, &ctx, (STDCOMPTEST_COMPONENT)StdImageDecoderTest_JpegDecoder); OMX_CONF_TEST_BAIL: return (eError); }
OMX_ERRORTYPE OMX_CONF_StdRealContainerDemuxerTest( OMX_IN OMX_STRING cComponentName) { OMX_ERRORTYPE eError = OMX_ErrorNone; TEST_CTXTYPE ctx; eError = StdComponentTest_IsRoleSupported(cComponentName, "container_demuxer.real"); OMX_CONF_BAIL_ON_ERROR(eError); memset(&ctx, 0x0, sizeof(TEST_CTXTYPE)); eError = StdComponentTest_StdComp(cComponentName, &ctx, (STDCOMPTEST_COMPONENT)StdContainerDemuxerTest_RealDemuxer); OMX_CONF_TEST_BAIL: return (eError); }