mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
libeplayer3: add hal_debug
Origin commit data
------------------
Branch: master
Commit: 43c00c43fa
Author: max_10 <max_10@gmx.de>
Date: 2024-03-24 (Sun, 24 Mar 2024)
Origin message was:
------------------
- libeplayer3: add hal_debug
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1,19 +1,34 @@
|
||||
#ifndef __DEBUG_H__
|
||||
#define __DEBUG_H__
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "hal_debug.h"
|
||||
|
||||
#define hal_debug(args...) _hal_debug(HAL_DEBUG_PLAYER, NULL, args)
|
||||
#define hal_info(args...) _hal_info(HAL_DEBUG_PLAYER, NULL, args)
|
||||
|
||||
#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)
|
||||
|
||||
#define log_error(fmt, x...) do { printf("[%s:%s] " fmt, __FILENAME__, __FUNCTION__, ## x); } while (0)
|
||||
#define log_printf(maxlevel, level, fmt, x...) do { if (maxlevel >= level) printf("[%s:%s] " fmt, __FILENAME__, __FUNCTION__, ## x); } while (0)
|
||||
#define log_error(fmt, x...) do { hal_info("[%s:%s] " fmt, __FILENAME__, __FUNCTION__, ## x); } while (0)
|
||||
#define log_printf(maxlevel, level, fmt, x...) do { if (maxlevel >= level) hal_info("[%s:%s] " fmt, __FILENAME__, __FUNCTION__, ## x); } while (0)
|
||||
#define log_debug(maxlevel, level, fmt, x...) do { if (maxlevel >= level) hal_debug("[%s:%s] " fmt, __FILENAME__, __FUNCTION__, ## x); } while (0)
|
||||
|
||||
#define FFMPEG_DEBUG_ALL 10
|
||||
|
||||
/*******************************************
|
||||
* ffmpeg
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define FFMPEG_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define FFMPEG_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define FFMPEG_SILENT
|
||||
|
||||
#if FFMPEG_DEBUG_LEVEL
|
||||
#define ffmpeg_printf(...) log_printf(FFMPEG_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define ffmpeg_printf(...) log_debug(FFMPEG_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define ffmpeg_printf(...)
|
||||
#endif
|
||||
@@ -27,11 +42,15 @@
|
||||
/*******************************************
|
||||
* container
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define CONTAINER_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define CONTAINER_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define CONTAINER_SILENT
|
||||
|
||||
#if CONTAINER_DEBUG_LEVEL
|
||||
#define container_printf(...) log_printf(CONTAINER_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define container_printf(...) log_debug(CONTAINER_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define container_printf(...)
|
||||
#endif
|
||||
@@ -45,11 +64,15 @@
|
||||
/*******************************************
|
||||
* latmenc
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define LATMENC_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define LATMENC_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define LATMENC_SILENT
|
||||
|
||||
#if LATMENC_DEBUG_LEVEL
|
||||
#define latmenc_printf(...) log_printf(LATMENC_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define latmenc_printf(...) log_debug(LATMENC_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define latmenc_printf(...)
|
||||
#endif
|
||||
@@ -63,11 +86,15 @@
|
||||
/*******************************************
|
||||
* audio_mgr
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define AUDIO_MGR_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define AUDIO_MGR_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define AUDIO_MGR_SILENT
|
||||
|
||||
#if AUDIO_MGR_DEBUG_LEVEL
|
||||
#define audio_mgr_printf(...) log_printf(AUDIO_MGR_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define audio_mgr_printf(...) log_debug(AUDIO_MGR_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define audio_mgr_printf(...)
|
||||
#endif
|
||||
@@ -78,14 +105,40 @@
|
||||
#define audio_mgr_err(...)
|
||||
#endif
|
||||
|
||||
/*******************************************
|
||||
* chapter_mgr
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define CHAPTER_MGR_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define CHAPTER_MGR_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define CHAPTER_MGR_SILENT
|
||||
|
||||
#if CHAPTER_MGR_DEBUG_LEVEL
|
||||
#define chapter_mgr_printf(...) log_debug(CHAPTER_MGR_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define chapter_mgr_printf(...)
|
||||
#endif
|
||||
|
||||
#ifndef CHAPTER_MGR_SILENT
|
||||
#define chapter_mgr_err(...) log_error(__VA_ARGS__)
|
||||
#else
|
||||
#define chapter_mgr_err(...)
|
||||
#endif
|
||||
|
||||
/*******************************************
|
||||
* subtitle_mgr
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define SUBTITLE_MGR_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define SUBTITLE_MGR_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define SUBTITLE_MGR_SILENT
|
||||
|
||||
#if SUBTITLE_MGR_DEBUG_LEVEL
|
||||
#define subtitle_mgr_printf(...) log_printf(SUBTITLE_MGR_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define subtitle_mgr_printf(...) log_debug(SUBTITLE_MGR_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define subtitle_mgr_printf(...)
|
||||
#endif
|
||||
@@ -99,11 +152,15 @@
|
||||
/*******************************************
|
||||
* video_mgr
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define VIDEO_MGR_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define VIDEO_MGR_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define VIDEO_MGR_SILENT
|
||||
|
||||
#if VIDEO_MGR_DEBUG_LEVEL
|
||||
#define video_mgr_printf(...) log_printf(VIDEO_MGR_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define video_mgr_printf(...) log_debug(VIDEO_MGR_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define video_mgr_printf(...)
|
||||
#endif
|
||||
@@ -117,11 +174,15 @@
|
||||
/*******************************************
|
||||
* linuxdvb
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define LINUXDVB_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define LINUXDVB_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define LINUXDVB_SILENT
|
||||
|
||||
#if LINUXDVB_DEBUG_LEVEL
|
||||
#define linuxdvb_printf(...) log_printf(LINUXDVB_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define linuxdvb_printf(...) log_debug(LINUXDVB_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define linuxdvb_printf(...)
|
||||
#endif
|
||||
@@ -135,11 +196,15 @@
|
||||
/*******************************************
|
||||
* buff
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define BUFF_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define BUFF_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define BUFF_SILENT
|
||||
|
||||
#if BUFF_DEBUG_LEVEL
|
||||
#define buff_printf(...) log_printf(BUFF_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define buff_printf(...) log_debug(BUFF_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define buff_printf(...)
|
||||
#endif
|
||||
@@ -153,11 +218,15 @@
|
||||
/*******************************************
|
||||
* output
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define OUTPUT_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define OUTPUT_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define OUTPUT_SILENT
|
||||
|
||||
#if OUTPUT_DEBUG_LEVEL
|
||||
#define output_printf(...) log_printf(OUTPUT_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define output_printf(...) log_debug(OUTPUT_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define output_printf(...)
|
||||
#endif
|
||||
@@ -171,11 +240,15 @@
|
||||
/*******************************************
|
||||
* subtitle
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define SUBTITLE_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define SUBTITLE_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define SUBTITLE_SILENT
|
||||
|
||||
#if SUBTITLE_DEBUG_LEVEL
|
||||
#define subtitle_printf(...) log_printf(SUBTITLE_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define subtitle_printf(...) log_debug(SUBTITLE_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define subtitle_printf(...)
|
||||
#endif
|
||||
@@ -189,11 +262,15 @@
|
||||
/*******************************************
|
||||
* writer
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define WRITER_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define WRITER_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define WRITER_SILENT
|
||||
|
||||
#if WRITER_DEBUG_LEVEL
|
||||
#define writer_printf(...) log_printf(WRITER_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define writer_printf(...) log_debug(WRITER_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define writer_printf(...)
|
||||
#endif
|
||||
@@ -207,11 +284,15 @@
|
||||
/*******************************************
|
||||
* playback
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define PLAYBACK_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define PLAYBACK_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define PLAYBACK_SILENT
|
||||
|
||||
#if PLAYBACK_DEBUG_LEVEL
|
||||
#define playback_printf(...) log_printf(PLAYBACK_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define playback_printf(...) log_debug(PLAYBACK_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define playback_printf(...)
|
||||
#endif
|
||||
@@ -225,11 +306,15 @@
|
||||
/*******************************************
|
||||
* aac
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define AAC_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define AAC_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define AAC_SILENT
|
||||
|
||||
#if AAC_DEBUG_LEVEL
|
||||
#define aac_printf(...) log_printf(AAC_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define aac_printf(...) log_debug(AAC_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define aac_printf(...)
|
||||
#endif
|
||||
@@ -243,11 +328,15 @@
|
||||
/*******************************************
|
||||
* ac3
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define AC3_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define AC3_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define AC3_SILENT
|
||||
|
||||
#if AC3_DEBUG_LEVEL
|
||||
#define ac3_printf(...) log_printf(AC3_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define ac3_printf(...) log_debug(AC3_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define ac3_printf(...)
|
||||
#endif
|
||||
@@ -261,11 +350,15 @@
|
||||
/*******************************************
|
||||
* amr
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define AMR_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define AMR_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define AMR_SILENT
|
||||
|
||||
#if AMR_DEBUG_LEVEL
|
||||
#define amr_printf(...) log_printf(AMR_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define amr_printf(...) log_debug(AMR_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define amr_printf(...)
|
||||
#endif
|
||||
@@ -279,11 +372,15 @@
|
||||
/*******************************************
|
||||
* divx
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define DIVX_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define DIVX_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define DIVX_SILENT
|
||||
|
||||
#if DIVX_DEBUG_LEVEL
|
||||
#define divx_printf(...) log_printf(DIVX_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define divx_printf(...) log_debug(DIVX_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define divx_printf(...)
|
||||
#endif
|
||||
@@ -297,11 +394,15 @@
|
||||
/*******************************************
|
||||
* dts
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define DTS_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define DTS_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define DTS_SILENT
|
||||
|
||||
#if DTS_DEBUG_LEVEL
|
||||
#define dts_printf(...) log_printf(DTS_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define dts_printf(...) log_debug(DTS_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define dts_printf(...)
|
||||
#endif
|
||||
@@ -315,11 +416,15 @@
|
||||
/*******************************************
|
||||
* h263
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define H263_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define H263_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define H263_SILENT
|
||||
|
||||
#if H263_DEBUG_LEVEL
|
||||
#define h263_printf(...) log_printf(H263_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define h263_printf(...) log_debug(H263_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define h263_printf(...)
|
||||
#endif
|
||||
@@ -333,11 +438,15 @@
|
||||
/*******************************************
|
||||
* h264
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define H264_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define H264_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define H264_SILENT
|
||||
|
||||
#if H264_DEBUG_LEVEL
|
||||
#define h264_printf(...) log_printf(H264_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define h264_printf(...) log_debug(H264_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define h264_printf(...)
|
||||
#endif
|
||||
@@ -351,11 +460,15 @@
|
||||
/*******************************************
|
||||
* h265
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define H265_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define H265_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define H265_SILENT
|
||||
|
||||
#if H265_DEBUG_LEVEL
|
||||
#define h265_printf(...) log_printf(H265_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define h265_printf(...) log_debug(H265_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define h265_printf(...)
|
||||
#endif
|
||||
@@ -369,11 +482,15 @@
|
||||
/*******************************************
|
||||
* lpcm
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define LPCM_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define LPCM_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define LPCM_SILENT
|
||||
|
||||
#if LPCM_DEBUG_LEVEL
|
||||
#define lpcm_printf(...) log_printf(LPCM_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define lpcm_printf(...) log_debug(LPCM_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define lpcm_printf(...)
|
||||
#endif
|
||||
@@ -387,11 +504,15 @@
|
||||
/*******************************************
|
||||
* mp3
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define MP3_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define MP3_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define MP3_SILENT
|
||||
|
||||
#if MP3_DEBUG_LEVEL
|
||||
#define mp3_printf(...) log_printf(MP3_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define mp3_printf(...) log_debug(MP3_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define mp3_printf(...)
|
||||
#endif
|
||||
@@ -405,11 +526,15 @@
|
||||
/*******************************************
|
||||
* mpeg2
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define MPEG2_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define MPEG2_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define MPEG2_SILENT
|
||||
|
||||
#if MPEG2_DEBUG_LEVEL
|
||||
#define mpeg2_printf(...) log_printf(MPEG2_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define mpeg2_printf(...) log_debug(MPEG2_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define mpeg2_printf(...)
|
||||
#endif
|
||||
@@ -423,11 +548,15 @@
|
||||
/*******************************************
|
||||
* mpeg4
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define MPEG4_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define MPEG4_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define MPEG4_SILENT
|
||||
|
||||
#if MPEG4_DEBUG_LEVEL
|
||||
#define mpeg4_printf(...) log_printf(MPEG4_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define mpeg4_printf(...) log_debug(MPEG4_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define mpeg4_printf(...)
|
||||
#endif
|
||||
@@ -441,11 +570,15 @@
|
||||
/*******************************************
|
||||
* pcm
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define PCM_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define PCM_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define PCM_SILENT
|
||||
|
||||
#if PCM_DEBUG_LEVEL
|
||||
#define pcm_printf(...) log_printf(PCM_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define pcm_printf(...) log_debug(PCM_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define pcm_printf(...)
|
||||
#endif
|
||||
@@ -459,11 +592,15 @@
|
||||
/*******************************************
|
||||
* vc1
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define VC1_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define VC1_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define VC1_SILENT
|
||||
|
||||
#if VC1_DEBUG_LEVEL
|
||||
#define vc1_printf(...) log_printf(VC1_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define vc1_printf(...) log_debug(VC1_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define vc1_printf(...)
|
||||
#endif
|
||||
@@ -477,11 +614,15 @@
|
||||
/*******************************************
|
||||
* vp
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define VP_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define VP_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define VP_SILENT
|
||||
|
||||
#if VP_DEBUG_LEVEL
|
||||
#define vp_printf(...) log_printf(VP_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define vp_printf(...) log_debug(VP_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define vp_printf(...)
|
||||
#endif
|
||||
@@ -495,11 +636,15 @@
|
||||
/*******************************************
|
||||
* wma
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define WMA_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define WMA_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define WMA_SILENT
|
||||
|
||||
#if WMA_DEBUG_LEVEL
|
||||
#define wma_printf(...) log_printf(WMA_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define wma_printf(...) log_debug(WMA_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define wma_printf(...)
|
||||
#endif
|
||||
@@ -513,11 +658,15 @@
|
||||
/*******************************************
|
||||
* wmv
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define WMV_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define WMV_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define WMV_SILENT
|
||||
|
||||
#if WMV_DEBUG_LEVEL
|
||||
#define wmv_printf(...) log_printf(WMV_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define wmv_printf(...) log_debug(WMV_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define wmv_printf(...)
|
||||
#endif
|
||||
@@ -531,11 +680,15 @@
|
||||
/*******************************************
|
||||
* mjpeg
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define MJPEG_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define MJPEG_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define MJPEG_SILENT
|
||||
|
||||
#if MJPEG_DEBUG_LEVEL
|
||||
#define mjpeg_printf(...) log_printf(MJPEG_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define mjpeg_printf(...) log_debug(MJPEG_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define mjpeg_printf(...)
|
||||
#endif
|
||||
@@ -549,11 +702,15 @@
|
||||
/*******************************************
|
||||
* bcma
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define BCMA_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define BCMA_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define BCMA_SILENT
|
||||
|
||||
#if BCMA_DEBUG_LEVEL
|
||||
#define bcma_printf(...) log_printf(BCMA_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define bcma_printf(...) log_debug(BCMA_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define bcma_printf(...)
|
||||
#endif
|
||||
@@ -567,11 +724,15 @@
|
||||
/*******************************************
|
||||
* plugin
|
||||
*******************************************/
|
||||
#if FFMPEG_DEBUG_ALL > 0
|
||||
#define PLUGIN_DEBUG_LEVEL FFMPEG_DEBUG_ALL
|
||||
#else
|
||||
#define PLUGIN_DEBUG_LEVEL 0
|
||||
#endif
|
||||
#define PLUGIN_SILENT
|
||||
|
||||
#if PLUGIN_DEBUG_LEVEL
|
||||
#define plugin_printf(...) log_printf(PLUGIN_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#define plugin_printf(...) log_debug(PLUGIN_DEBUG_LEVEL, __VA_ARGS__)
|
||||
#else
|
||||
#define plugin_printf(...)
|
||||
#endif
|
||||
@@ -581,3 +742,5 @@
|
||||
#else
|
||||
#define plugin_err(...)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user