mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-13 04:43:42 +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)
|
add_subdirectory(dummy)
|
||||||
|
|
||||||
|
if(HAVE_H264E)
|
||||||
add_subdirectory(h264)
|
add_subdirectory(h264)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_JPEGE)
|
||||||
add_subdirectory(jpeg)
|
add_subdirectory(jpeg)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
@@ -71,8 +71,12 @@ static const MppHalApi *hw_apis[] = {
|
|||||||
#if HAVE_JPEGD
|
#if HAVE_JPEGD
|
||||||
&hal_api_jpegd,
|
&hal_api_jpegd,
|
||||||
#endif
|
#endif
|
||||||
|
#if HAVE_H264E
|
||||||
&hal_api_h264e,
|
&hal_api_h264e,
|
||||||
|
#endif
|
||||||
|
#if HAVE_JPEGE
|
||||||
&hal_api_jpege,
|
&hal_api_jpege,
|
||||||
|
#endif
|
||||||
&hal_api_dummy_dec,
|
&hal_api_dummy_dec,
|
||||||
&hal_api_dummy_enc,
|
&hal_api_dummy_enc,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user