return 0;
}
-int utc_media_mediacodec_set_venc_info_p(void)
-{
- assert(!_is_broken);
- int ret = MEDIACODEC_ERROR_NONE;
-
- ret = mediacodec_set_codec(g_media_codec, MEDIACODEC_H263, (MEDIACODEC_ENCODER | MEDIACODEC_SUPPORT_TYPE_SW));
- assert_eq(ret, MEDIACODEC_ERROR_NONE);
-
- ret = mediacodec_set_venc_info(g_media_codec, 640, 480, 30, 1000000);
- assert_eq(ret, MEDIACODEC_ERROR_NONE);
-
- return 0;
-}
-
-int utc_media_mediacodec_set_venc_info_n(void)
-{
- assert(!_is_broken);
- int ret = MEDIACODEC_ERROR_NONE;
-
- ret = mediacodec_set_codec(g_media_codec, MEDIACODEC_H263, (MEDIACODEC_ENCODER | MEDIACODEC_SUPPORT_TYPE_SW));
- assert_eq(ret, MEDIACODEC_ERROR_NONE);
-
- ret = mediacodec_set_venc_info(g_media_codec, -640, -480, 30, 1000000);
- assert_eq(ret, MEDIACODEC_ERROR_INVALID_PARAMETER);
-
- return 0;
-}
-
int utc_media_mediacodec_set_vdec_info_p(void)
{
assert(!_is_broken);