新增mpeg2和mpeg4解码器以及相关能力查询

Signed-off-by: 陆航 <luhang27@h-partners.com>
This commit is contained in:
陆航 2024-11-15 15:10:24 +08:00
parent ec3ba99123
commit f6cc689723
2 changed files with 2 additions and 6 deletions

View File

@ -738,11 +738,7 @@ typedef enum OH_MPEG4Profile {
MPEG4_PROFILE_ADVANCED_CODING_EFFICIENCY = 11,
MPEG4_PROFILE_ADVANCED_CORE = 12,
MPEG4_PROFILE_ADVANCED_SCALABLE_TEXTURE = 13,
MPEG4_PROFILE_SIMPLE_FBA = 14,
MPEG4_PROFILE_SIMPLE_STUDIO = 15,
MPEG4_PROFILE_CORE_STUDIO = 16,
MPEG4_PROFILE_ADVANCED_SIMPLE = 17,
MPEG4_PROFILE_FINE_GRANULARITY_SCALABLE = 18,
MPEG4_PROFILE_ADVANCED_SIMPLE = 14,
} OH_MPEG4Profile;
/**

View File

@ -1526,7 +1526,7 @@ void FCodec::SetMpeg4LevelsProfileGroup1(CapabilityData& capsData)
static_cast<int32_t>(MPEG4Level::MPEG4_LEVEL_2)
}},
{static_cast<int32_t>(MPEG4_PROFILE_HYBRID), {
static_cast<int32_t>(MPEG4Level::MPEG4_LEVEL_1), static_cast<int32_t>(MPEG4Level::MPEG4_LEVEL_1)
static_cast<int32_t>(MPEG4Level::MPEG4_LEVEL_1), static_cast<int32_t>(MPEG4Level::MPEG4_LEVEL_2)
}},
{static_cast<int32_t>(MPEG4_PROFILE_BASIC_ANIMATED_TEXTURE), {
static_cast<int32_t>(MPEG4Level::MPEG4_LEVEL_1), static_cast<int32_t>(MPEG4Level::MPEG4_LEVEL_2)