diff options
author | John Stebbins <jstebbins@monolith.john.stebbins.name> | 2015-10-24 14:06:56 -0700 |
---|---|---|
committer | John Stebbins <jstebbins.hb@gmail.com> | 2016-01-21 12:38:42 -0700 |
commit | 10ea76c71197b302b10088d93680a4bed4bc6b8e (patch) | |
tree | 459b46b16256c39ed34fe1f0a4b9476ec3439871 /libhb/internal.h | |
parent | ef956e695879c716dc22c96f7f8fa24e3fa5d08c (diff) |
libhb: Add libavfilter support and pad filter
New filter types HB_FILTER_AVFILTER and HB_FILTER_PAD.
Settings for HB_FILTER_AVFILTER are the same as you would pass to avconv
from the command line -vf option, except that we do not support
multi-input or multi-output filters.
Settings for HB_FILTER_PAD are "width:height:color:x_offset:y_offset".
width x height is the size of the output frame after padding.
color may be a w3c color name or RGB value (default black).
x_offset, y_offset is the position of the video within the padded area
(default centered).
Any of the values may be omitted or "auto".
Diffstat (limited to 'libhb/internal.h')
-rw-r--r-- | libhb/internal.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libhb/internal.h b/libhb/internal.h index 8fe461dac..a4c0eb5b0 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -460,16 +460,18 @@ enum }; extern hb_filter_object_t hb_filter_detelecine; +extern hb_filter_object_t hb_filter_decomb; extern hb_filter_object_t hb_filter_deinterlace; +extern hb_filter_object_t hb_filter_vfr; extern hb_filter_object_t hb_filter_deblock; extern hb_filter_object_t hb_filter_denoise; extern hb_filter_object_t hb_filter_nlmeans; -extern hb_filter_object_t hb_filter_decomb; +extern hb_filter_object_t hb_filter_render_sub; +extern hb_filter_object_t hb_filter_crop_scale; extern hb_filter_object_t hb_filter_rotate; extern hb_filter_object_t hb_filter_grayscale; -extern hb_filter_object_t hb_filter_crop_scale; -extern hb_filter_object_t hb_filter_render_sub; -extern hb_filter_object_t hb_filter_vfr; +extern hb_filter_object_t hb_filter_pad; +extern hb_filter_object_t hb_filter_avfilter; #ifdef USE_QSV extern hb_filter_object_t hb_filter_qsv; @@ -508,3 +510,5 @@ void hb_muxmp4_process_subtitle_style( uint8_t *input, uint8_t *style, uint16_t *stylesize ); void hb_deinterlace(hb_buffer_t *dst, hb_buffer_t *src); +void hb_avfilter_combine( hb_list_t * list ); + |