mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-12 04:20:03 +08:00
[cmake]: make h264e and jpege removable
Change-Id: If3f726313e9b7d98bbcbe014ba6a12ac0447ce46 Signed-off-by: hertz.wang <wangh@rock-chips.com>
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
add_subdirectory(dummy)
|
||||
|
||||
if(HAVE_H264E)
|
||||
add_subdirectory(h264)
|
||||
endif()
|
||||
|
||||
if(HAVE_JPEGE)
|
||||
add_subdirectory(jpeg)
|
||||
endif()
|
||||
|
||||
add_subdirectory(jpeg)
|
@@ -71,8 +71,12 @@ static const MppHalApi *hw_apis[] = {
|
||||
#if HAVE_JPEGD
|
||||
&hal_api_jpegd,
|
||||
#endif
|
||||
#if HAVE_H264E
|
||||
&hal_api_h264e,
|
||||
#endif
|
||||
#if HAVE_JPEGE
|
||||
&hal_api_jpege,
|
||||
#endif
|
||||
&hal_api_dummy_dec,
|
||||
&hal_api_dummy_enc,
|
||||
};
|
||||
|
Reference in New Issue
Block a user