diff options
author | Michael Wootton <[email protected]> | 2018-01-23 17:01:03 -0600 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-06-06 14:39:28 -0400 |
commit | 4456e3390ce40d9cff98efc8afd888e4d52a60d5 (patch) | |
tree | 42914010d2b36322bd84bafb5d5feeff8356c4dd /libhb/hbffmpeg.h | |
parent | acdc27993093f6acd5f47c0f79cc9e4209a9d8e9 (diff) |
Add support for VCE hardware encoding.
Diffstat (limited to 'libhb/hbffmpeg.h')
-rw-r--r-- | libhb/hbffmpeg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/hbffmpeg.h b/libhb/hbffmpeg.h index 890b62ffc..4ed2ef593 100644 --- a/libhb/hbffmpeg.h +++ b/libhb/hbffmpeg.h @@ -7,6 +7,9 @@ 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 + #include "libavcodec/avcodec.h" #include "libavformat/avformat.h" #include "libavutil/channel_layout.h" @@ -37,6 +40,9 @@ hb_sws_get_context(int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, int colorspace); +static const char* const hb_vce_preset_names[] = { "speed", "balanced", "quality", NULL, }; + hb_buffer_t * hb_avframe_to_video_buffer(AVFrame *frame, AVRational time_base); void hb_avframe_set_video_buffer_flags(hb_buffer_t * buf, AVFrame *frame, AVRational time_base); +#endif |