Skip to content

Commit

Permalink
libhb: add a Metal accelerated comb detect filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
galad87 committed Nov 23, 2023
1 parent bc80cc8 commit 7348c2c
Show file tree
Hide file tree
Showing 7 changed files with 1,089 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libhb/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -4693,6 +4693,10 @@ hb_filter_object_t * hb_filter_get( int filter_id )
filter = &hb_filter_prefilter_vt;
break;

case HB_FILTER_COMB_DETECT_VT:
filter = &hb_filter_comb_detect_vt;
break;

case HB_FILTER_YADIF_VT:
filter = &hb_filter_yadif_vt;
break;
Expand Down
1 change: 1 addition & 0 deletions libhb/handbrake/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -1489,6 +1489,7 @@ enum
// First, filters that may change the framerate (drop or dup frames)
HB_FILTER_DETELECINE,
HB_FILTER_COMB_DETECT,
HB_FILTER_COMB_DETECT_VT,
HB_FILTER_DECOMB,
HB_FILTER_YADIF,
HB_FILTER_YADIF_VT,
Expand Down
1 change: 1 addition & 0 deletions libhb/handbrake/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ extern hb_filter_object_t hb_filter_format;

#if defined(__APPLE__)
extern hb_filter_object_t hb_filter_prefilter_vt;
extern hb_filter_object_t hb_filter_comb_detect_vt;
extern hb_filter_object_t hb_filter_yadif_vt;
extern hb_filter_object_t hb_filter_bwdif_vt;
extern hb_filter_object_t hb_filter_crop_scale_vt;
Expand Down
Loading

0 comments on commit 7348c2c

Please sign in to comment.