hw_h264: remove redundant ifdef guards

Change-Id: I5fa1abc1226ec5a35888713da83467a71a3c4caf
This commit is contained in:
Aidan MacDonald 2026-09-23 11:46:43 +01:00
parent 29eef25ac7
commit d27af08ff6
6 changed files with 0 additions and 27 deletions

View file

@ -49,9 +49,6 @@
#include "language.h"
#include "statusbar-skinned.h"
#include "panic.h"
#ifdef HAVE_HW_H264
#include "hw_h264.h"
#endif
#if CONFIG_CHARGING
#include "power.h"

View file

@ -83,9 +83,7 @@ int plugin_open(const char *plugin, const char *parameter);
#include "metadata.h"
#include "sound.h"
#include "audio.h"
#ifdef HAVE_HW_H264
#include "hw_h264.h"
#endif
#include "voice_thread.h"
#include "root_menu.h"
#include "talk.h"

View file

@ -29,9 +29,6 @@
*/
#include "plugin.h"
#ifdef HAVE_HW_H264
#include <stddef.h>
#include "codec_thread.h"
@ -573,5 +570,3 @@ bool video_audio_failed(void)
{
return audio_has_error;
}
#endif /* HAVE_HW_H264 */

View file

@ -29,9 +29,6 @@
*/
#include "plugin.h"
#ifdef HAVE_HW_H264
#include "system.h"
#include "kernel.h"
#include "pcm.h"
@ -260,5 +257,3 @@ uint32_t video_pcm_buffered_samples(void)
{
return pcm_used();
}
#endif /* HAVE_HW_H264 */

View file

@ -30,9 +30,6 @@
*/
#include "plugin.h"
#ifdef HAVE_HW_H264
#include "backlight.h"
#include "button.h"
#include "crc32.h"
@ -54,7 +51,6 @@
#include "video_audio.h"
#include "video_pcm.h"
#include "video_playback.h"
#include "hw_h264.h"
#include <stdint.h>
#include <stdio.h>
@ -1144,5 +1140,3 @@ cleanup:
rb->cpu_boost(false);
return result;
}
#endif /* HAVE_HW_H264 */

View file

@ -19,11 +19,7 @@
* KIND, either express or implied.
*
****************************************************************************/
#include "config.h"
#ifdef HAVE_HW_H264
#include "system.h"
#include "kernel.h"
#include "s5l87xx.h"
@ -1077,5 +1073,3 @@ const struct hw_h264_api target_hw_h264_api = {
.get_frame = vpu_h264_get_frame,
.close = vpu_h264_close,
};
#endif /* HAVE_HW_H264 */