* Left/Right Surround == Side Left/Right
* Left/Right Rear Surround == Back Left/Right */
-#ifndef AUDIO_REMAP_H
-#define AUDIO_REMAP_H
+#ifndef HANDBRAKE_AUDIO_REMAP_H
+#define HANDBRAKE_AUDIO_REMAP_H
#include <stdint.h>
#include "libavutil/samplefmt.h"
uint64_t channel_layout,
int *remap_table);
-#endif /* AUDIO_REMAP_H */
+#endif /* HANDBRAKE_AUDIO_REMAP_H */
* sample_rate conversion will come later (libswresample doesn't support
* sample_rate conversion with float samples yet). */
-#ifndef AUDIO_RESAMPLE_H
-#define AUDIO_RESAMPLE_H
+#ifndef HANDBRAKE_AUDIO_RESAMPLE_H
+#define HANDBRAKE_AUDIO_RESAMPLE_H
#include <math.h>
#include <stdint.h>
hb_buffer_t* hb_audio_resample(hb_audio_resample_t *resample,
const uint8_t **samples, int nsamples);
-#endif /* AUDIO_RESAMPLE_H */
+#endif /* HANDBRAKE_AUDIO_RESAMPLE_H */
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_AVFILTER_PRIV_H
-#define HB_AVFILTER_PRIV_H
+#ifndef HANDBRAKE_AVFILTER_PRIV_H
+#define HANDBRAKE_AVFILTER_PRIV_H
#include "libavfilter/avfilter.h"
#include "handbrake/hbavfilter.h"
hb_buffer_t ** buf_in, hb_buffer_t ** buf_out );
void hb_avfilter_alias_close( hb_filter_object_t * filter );
-#endif // HB_AVFILTER_PRIV_H
+#endif // HANDBRAKE_AVFILTER_PRIV_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_BITS_H
-#define HB_BITS_H
+#ifndef HANDBRAKE_BITS_H
+#define HANDBRAKE_BITS_H
static inline int
allbits_set(uint32_t *bitmap, int num_words)
}
}
-#endif /* HB_BITS_H */
+#endif /* HANDBRAKE_BITS_H */
* For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_COLORMAP_H
-#define HB_COLORMAP_H
+#ifndef HANDBRAKE_COLORMAP_H
+#define HANDBRAKE_COLORMAP_H
#define HB_RGB_TO_BGR(c) (((c & 0xff0000) >> 16) | \
((c & 0x00ff00) ) | \
uint32_t hb_rgb_lookup_by_name(const char *color);
-#endif // HB_COLORMAP_H
+#endif // HANDBRAKE_COLORMAP_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_COMMON_H
-#define HB_COMMON_H
+#ifndef HANDBRAKE_COMMON_H
+#define HANDBRAKE_COMMON_H
#include "handbrake/project.h"
#include "handbrake/hbtypes.h"
#define HB_BOOL_REG "(yes|no|true|false|[01])"
#define HB_ALL_REG "(.*)"
-#endif
+#endif // HANDBRAKE_COMMON_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_COMPAT_H
-#define HB_COMPAT_H
+#ifndef HANDBRAKE_COMPAT_H
+#define HANDBRAKE_COMPAT_H
#ifdef HB_NEED_STRTOK_R
/*
#endif // _GNU_SOURCE
#endif // HAVE_STRERROR_R
-#endif // HB_COMPAT_H
+#endif // HANDBRAKE_COMPAT_H
/*
* From ccextractor...
*/
-#ifndef __DECCC608SUB_H__
-#define __DECCC608SUB_H__
+#ifndef HANDBRAKE_DECCC608SUB_H
+#define HANDBRAKE_DECCC608SUB_H
#include "handbrake/common.h"
OF_RCWT = 4
};
-#endif // __DECCC608SUB_H__
+#endif // HANDBRAKE_DECCC608SUB_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_DECOMB_H
-#define HB_DECOMB_H
+#ifndef HANDBRAKE_DECOMB_H
+#define HANDBRAKE_DECOMB_H
#define MODE_DECOMB_YADIF 1 // Use yadif
#define MODE_DECOMB_BLEND 2 // Use blending interpolation
#define MODE_YADIF_BOB 4
#define MODE_DEINTERLACE_QSV 8
-#endif // HB_DECOMB_H
+#endif // HANDBRAKE_DECOMB_H
* For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef __DECSRTSUB_H__
-#define __DECSRTSUB_H__
+#ifndef HANDBRAKE_DECSRTSUB_H
+#define HANDBRAKE_DECSRTSUB_H
void hb_srt_to_ssa(hb_buffer_t *sub_in, int line);
-#endif // __DECSRTSUB_H__
+#endif // HANDBRAKE_DECSRTSUB_H
* For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef __DECSSASUB_H__
-#define __DECSSASUB_H__
+#ifndef HANDBRAKE_DECSSASUB_H
+#define HANDBRAKE_DECSSASUB_H
-#endif // __DECSSASUB_H__
+#endif // HANDBRAKE_DECSSASUB_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_DVD_H
-#define HB_DVD_H
+#ifndef HANDBRAKE_DVD_H
+#define HANDBRAKE_DVD_H
#include "dvdnav/dvdnav.h"
#include "dvdread/ifo_read.h"
hb_dvd_func_t * hb_dvdnav_methods( void );
hb_dvd_func_t * hb_dvdread_methods( void );
-#endif // HB_DVD_H
-
-
+#endif // HANDBRAKE_DVD_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
+#ifndef HANDBRAKE_EEDI2_H
+#define HANDBRAKE_EEDI2_H
+
// Used to order a sequence of metrics for median filtering
void eedi2_sort_metrics( int *order, const int length );
void eedi2_post_process_corner( int *x2, int *y2, int *xy, const int pitch, uint8_t * mskp, int msk_pitch,
uint8_t * dstp, int dst_pitch, int height, int width, int field );
+
+#endif // HANDBRAKE_EEDI2_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_ENCX264_H
-#define HB_ENCX264_H
+#ifndef HANDBRAKE_ENCX264_H
+#define HANDBRAKE_ENCX264_H
#include "x264.h"
#include "handbrake/h264_common.h"
void hb_x264_global_init(void);
const x264_api_t * hb_x264_api_get(int bit_depth);
-#endif // HB_ENCX264_H
+#endif // HANDBRAKE_ENCX264_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_H264_COMMON_H
-#define HB_H264_COMMON_H
+#ifndef HANDBRAKE_H264_COMMON_H
+#define HANDBRAKE_H264_COMMON_H
static const char * const hb_h264_profile_names_8bit[] = {
"auto", "high", "main", "baseline", NULL, };
"GBR", "bt709", "undef", "", "fcc", "bt470bg", "smpte170m",
"smpte240m", "YCgCo", "bt2020nc", "bt2020c", NULL, };
-#endif //HB_H264_COMMON_H
+#endif // HANDBRAKE_H264_COMMON_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_H265_COMMON_H
-#define HB_H265_COMMON_H
+#ifndef HANDBRAKE_H265_COMMON_H
+#define HANDBRAKE_H265_COMMON_H
#include "handbrake/project.h"
"GBR", "bt709", "undef", "", "fcc", "bt470bg", "smpte170m",
"smpte240m", "YCgCo", "bt2020nc", "bt2020c", NULL, };
-#endif //HB_H265_COMMON_H
+#endif // HANDBRAKE_H265_COMMON_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_HB_H
-#define HB_HB_H
+#ifndef HANDBRAKE_HANDBRAKE_H
+#define HANDBRAKE_HANDBRAKE_H
#ifdef __cplusplus
extern "C" {
}
#endif
-#endif
+#endif // HANDBRAKE_HANDBRAKE_H
It may be used under the terms of the GNU General Public License v2.
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#if !defined(HB_DICT_H)
-#define HB_DICT_H
+#if !defined(HANDBRAKE_DICT_H)
+#define HANDBRAKE_DICT_H
#include "handbrake/hbtypes.h"
#include <jansson.h>
#define hb_dict_set_bool(dict, key, val) hb_dict_set(dict, key, hb_value_bool(val))
-#endif // !defined(HB_DICT_H)
+#endif // !defined(HANDBRAKE_DICT_H)
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_JSON_H
-#define HB_JSON_H
+#ifndef HANDBRAKE_JSON_H
+#define HANDBRAKE_JSON_H
#ifdef __cplusplus
extern "C" {
}
#endif
-#endif // HB_JSON_H
+#endif // HANDBRAKE_JSON_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_AVFILTER_H
-#define HB_AVFILTER_H
+#ifndef HANDBRAKE_AVFILTER_H
+#define HANDBRAKE_AVFILTER_H
#include "handbrake/common.h"
void hb_avfilter_combine(hb_list_t * list);
-#endif // HB_AVFILTER_H
+#endif // HANDBRAKE_AVFILTER_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_FFMPEG_H
-#define HB_FFMPEG_H
+#ifndef HANDBRAKE_FFMPEG_H
+#define HANDBRAKE_FFMPEG_H
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
const char* const* hb_av_profile_get_names(int encoder);
const char* const* hb_av_level_get_names(int encoder);
-#endif
+#endif // HANDBRAKE_FFMPEG_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_TYPES_H
-#define HB_TYPES_H
+#ifndef HANDBRAKE_TYPES_H
+#define HANDBRAKE_TYPES_H
typedef struct hb_handle_s hb_handle_t;
typedef struct hb_list_s hb_list_t;
typedef struct hb_fifo_s hb_fifo_t;
typedef struct hb_lock_s hb_lock_t;
-#endif // HB_TYPES_H
+#endif // HANDBRAKE_TYPES_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_INTERNAL_H
-#define HB_INTERNAL_H
+#ifndef HANDBRAKE_INTERNAL_H
+#define HANDBRAKE_INTERNAL_H
#include "handbrake/project.h"
#include "handbrake/hbffmpeg.h"
#define HB_FONT_SANS "sans-serif"
#endif
-#endif // HB_INTERNAL_H
+#endif // HANDBRAKE_INTERNAL_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_LANG_H
-#define HB_LANG_H
+#ifndef HANDBRAKE_LANG_H
+#define HANDBRAKE_LANG_H
typedef struct iso639_lang_t
{
#ifdef __cplusplus
}
#endif
-#endif
+#endif // HANDBRAKE_LANG_H
* For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_NAL_UNITS_H
-#define HB_NAL_UNITS_H
+#ifndef HANDBRAKE_NAL_UNITS_H
+#define HANDBRAKE_NAL_UNITS_H
#include <stdint.h>
hb_buffer_t* hb_nal_bitstream_annexb_to_mp4(const uint8_t *data, const size_t size);
hb_buffer_t* hb_nal_bitstream_mp4_to_annexb(const uint8_t *data, const size_t size, const uint8_t nal_length_size);
-#endif // HB_NAL_UNITS_H
+#endif // HANDBRAKE_NAL_UNITS_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
+#ifndef HANDBRAKE_NLMEANS_H
+#define HANDBRAKE_NLMEANS_H
+
typedef struct
{
void (*build_integral)(uint32_t *integral,
} NLMeansFunctions;
void nlmeans_init_x86(NLMeansFunctions *functions);
+
+#endif // HANDBRAKE_NLMEANS_H
* For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
+#ifndef HANDBRAKE_NVENC_COMMON_H
+#define HANDBRAKE_NVENC_COMMON_H
+
int hb_nvenc_h264_available();
int hb_nvenc_h265_available();
+
+#endif // HANDBRAKE_NVENC_COMMON_H
It may be used under the terms of the GNU General Public License v2.
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_PARAM_H
-#define HB_PARAM_H
+
+#ifndef HANDBRAKE_PARAM_H
+#define HANDBRAKE_PARAM_H
typedef struct hb_filter_param_s hb_filter_param_t;
char * hb_filter_get_presets_json(int filter_id);
char * hb_filter_get_tunes_json(int filter_id);
-#endif // HB_PARAM_H
+#endif // HANDBRAKE_PARAM_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#if !defined(_HB_PLIST_H_)
-#define _HB_PLIST_H_
+#if !defined(HANDBRAKE_PLIST_H)
+#define HANDBRAKE_PLIST_H
#include <stdio.h>
#include "handbrake/hb_dict.h"
void hb_plist_write(FILE *file, hb_value_t *val);
void hb_plist_write_file(const char *filename, hb_value_t *val);
-#endif // _HB_PLIST_H_
-
+#endif // HANDBRAKE_PLIST_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_PORTS_H
-#define HB_PORTS_H
+#ifndef HANDBRAKE_PORTS_H
+#define HANDBRAKE_PORTS_H
#if ARCH_X86_64 || ARCH_X86_32
#define ARCH_X86
#endif /* __LIBHB__ */
-#endif
-
+#endif // HANDBRAKE_PORTS_H
It may be used under the terms of the GNU General Public License v2.
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#if !defined(HB_PRESET_H)
-#define HB_PRESET_H
+#if !defined(HANDBRAKE_PRESET_H)
+#define HANDBRAKE_PRESET_H
#include "handbrake/common.h"
#include "handbrake/hb_dict.h"
// and return as json string
char * hb_presets_json_package(const char *json_presets);
-#endif // HB_PRESET_H
+#endif // HANDBRAKE_PRESET_H
* For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_QSV_COMMON_H
-#define HB_QSV_COMMON_H
+#ifndef HANDBRAKE_QSV_COMMON_H
+#define HANDBRAKE_QSV_COMMON_H
int hb_qsv_available();
void hb_qsv_uninit_enc();
#endif // HB_PROJECT_FEATURE_QSV
-#endif // HB_QSV_COMMON_H
+#endif // HANDBRAKE_QSV_COMMON_H
\* ********************************************************************* */
-#ifndef QSV_FILTER_H
-#define QSV_FILTER_H
+#ifndef HANDBRAKE_QSV_FILTER_H
+#define HANDBRAKE_QSV_FILTER_H
#include "handbrake/project.h"
void qsv_filter_close( hb_qsv_context* qsv, HB_QSV_STAGE_TYPE vpp_type );
#endif
-#endif // QSV_FILTER_H
+#endif // HANDBRAKE_QSV_FILTER_H
\* ********************************************************************* */
-#ifndef QSV_FILTER_PP_H
-#define QSV_FILTER_PP_H
+#ifndef HANDBRAKE_QSV_FILTER_PP_H
+#define HANDBRAKE_QSV_FILTER_PP_H
#include "handbrake/project.h"
#endif // HB_PROJECT_FEATURE_QSV
-#endif //QSV_FILTER_PP_H
+#endif // HANDBRAKE_QSV_FILTER_PP_H
\* ********************************************************************* */
-#ifndef HB_QSV_LIBAV_H
-#define HB_QSV_LIBAV_H
+#ifndef HANDBRAKE_QSV_LIBAV_H
+#define HANDBRAKE_QSV_LIBAV_H
/**
* @file
/* @} */
-#endif // HB_QSV_LIBAV_H
+#endif // HANDBRAKE_QSV_LIBAV_H
\* ********************************************************************* */
-#ifndef QSV_MEMORY_H
-#define QSV_MEMORY_H
+#ifndef HANDBRAKE_QSV_MEMORY_H
+#define HANDBRAKE_QSV_MEMORY_H
#include "handbrake/project.h"
int qsv_yuv420_to_nv12(struct SwsContext* sws_context,mfxFrameSurface1* dst, hb_buffer_t* src);
#endif // HB_PROJECT_FEATURE_QSV
-#endif // QSV_MEMORY_H
+#endif // HANDBRAKE_QSV_MEMORY_H
* For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef __SSAUTIL_H__
-#define __SSAUTIL_H__
+#ifndef HANDBRAKE_SSAUTIL_H
+#define HANDBRAKE_SSAUTIL_H
typedef struct hb_subtitle_style_s hb_subtitle_style_t;
typedef struct hb_subtitle_style_context_s hb_subtitle_style_context_t;
uint8_t * input, uint8_t ** output,
uint8_t ** style, uint16_t * stylesize);
-#endif // __SSAUTIL_H__
+#endif // HANDBRAKE_SSAUTIL_H
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
-#ifndef HB_TASKSET_H
-#define HB_TASKSET_H
+#ifndef HANDBRAKE_TASKSET_H
+#define HANDBRAKE_TASKSET_H
#define TASKSET_POSIX_COMPLIANT 1
return bit_is_set( ts->task_stop_bitmap, thr_idx );
}
-#endif /* HB_TASKSET_H */
+#endif /* HANDBRAKE_TASKSET_H */
* For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
+#ifndef HANDBRAKE_VCE_COMMON_H
+#define HANDBRAKE_VCE_COMMON_H
+
int hb_vce_h264_available();
int hb_vce_h265_available();
"auto", "1.0", "1.1", "1.2", "1.3", "2.0", "2.1", "2.2", "3.0",
"3.1", "3.2", "4.0", "4.1", "4.2", "5.0", "5.1", "5.2", NULL,
};
+
+#endif // HANDBRAKE_VCE_COMMON_H