mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 09:36:49 +08:00
[mpp]: Activate AVS2 decoder
Change-Id: I7fb596b050c1791b046f6c2179e8775a8b3df068 Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
This commit is contained in:

committed by
Herman Chen

parent
20866b909d
commit
d98fbcfe2a
@@ -29,6 +29,7 @@
|
||||
#include "h265d_api.h"
|
||||
#include "vp9d_api.h"
|
||||
#include "avsd_api.h"
|
||||
#include "avs2d_api.h"
|
||||
#include "m2vd_api.h"
|
||||
#include "mpg4d_api.h"
|
||||
#include "vp8d_api.h"
|
||||
@@ -45,6 +46,9 @@ static const ParserApi *parsers[] = {
|
||||
#if HAVE_AVSD
|
||||
&api_avsd_parser,
|
||||
#endif
|
||||
#if HAVE_AVS2D
|
||||
&api_avs2d_parser,
|
||||
#endif
|
||||
#if HAVE_H263D
|
||||
&api_h263d_parser,
|
||||
#endif
|
||||
|
@@ -30,6 +30,7 @@
|
||||
#include "hal_vp8d_api.h"
|
||||
#include "hal_vp9d_api.h"
|
||||
#include "hal_avsd_api.h"
|
||||
#include "hal_avs2d_api.h"
|
||||
#include "hal_m2vd_api.h"
|
||||
#include "hal_mpg4d_api.h"
|
||||
#include "hal_jpegd_api.h"
|
||||
@@ -46,6 +47,9 @@ static const MppHalApi *hw_apis[] = {
|
||||
#if HAVE_AVSD
|
||||
&hal_api_avsd,
|
||||
#endif
|
||||
#if HAVE_AVS2D
|
||||
&hal_api_avs2d,
|
||||
#endif
|
||||
#if HAVE_H263D
|
||||
&hal_api_h263d,
|
||||
#endif
|
||||
|
@@ -62,6 +62,9 @@ static MppCodingTypeInfo support_list[] = {
|
||||
#if HAVE_AVSD
|
||||
{ MPP_CTX_DEC, MPP_VIDEO_CodingAVSPLUS, "dec", "avs+", },
|
||||
#endif
|
||||
#if HAVE_AVS2D
|
||||
{ MPP_CTX_DEC, MPP_VIDEO_CodingAVS2, "dec", "avs2", },
|
||||
#endif
|
||||
#if HAVE_JPEGD
|
||||
{ MPP_CTX_DEC, MPP_VIDEO_CodingMJPEG, "dec", "jpeg", },
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user