MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / comb_segmenter

Function comb_segmenter

libhb/comb_detect.c:1050–1071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048}
1049
1050static int comb_segmenter(hb_filter_private_t *pv)
1051{
1052 /*
1053 * Now that all data for comb detection is ready for
1054 * our threads, fire them off and wait for their completion.
1055 */
1056 taskset_cycle(&pv->comb_detect_filter_taskset);
1057
1058 if (pv->mode & MODE_FILTER)
1059 {
1060 taskset_cycle(&pv->mask_filter_taskset);
1061 if (pv->filter_mode == FILTER_ERODE_DILATE)
1062 {
1063 taskset_cycle(&pv->mask_erode_taskset);
1064 taskset_cycle(&pv->mask_dilate_taskset);
1065 taskset_cycle(&pv->mask_erode_taskset);
1066 }
1067 }
1068 reset_combing_results(pv);
1069 taskset_cycle(&pv->comb_detect_check_taskset);
1070 return check_combing_results(pv);
1071}
1072
1073static void build_gamma_lut(hb_filter_private_t *pv)
1074{

Callers 1

process_frameFunction · 0.85

Calls 3

taskset_cycleFunction · 0.85
reset_combing_resultsFunction · 0.85
check_combing_resultsFunction · 0.85

Tested by

no test coverage detected