Lines Matching refs:sharpness
100 vmixer->sharpness.supported = true; in vlVdpVideoMixerCreate()
188 if (vmixer->sharpness.filter) { in vlVdpVideoMixerDestroy()
189 vl_matrix_filter_cleanup(vmixer->sharpness.filter); in vlVdpVideoMixerDestroy()
190 FREE(vmixer->sharpness.filter); in vlVdpVideoMixerDestroy()
312 if (!vmixer->noise_reduction.filter && !vmixer->sharpness.filter) in vlVdpVideoMixerRender()
324 if (vmixer->sharpness.filter) in vlVdpVideoMixerRender()
325 vl_matrix_filter_render(vmixer->sharpness.filter, in vlVdpVideoMixerRender()
364 if (vmixer->sharpness.filter) { in vlVdpVideoMixerUpdateSharpnessFilter()
365 vl_matrix_filter_cleanup(vmixer->sharpness.filter); in vlVdpVideoMixerUpdateSharpnessFilter()
366 FREE(vmixer->sharpness.filter); in vlVdpVideoMixerUpdateSharpnessFilter()
367 vmixer->sharpness.filter = NULL; in vlVdpVideoMixerUpdateSharpnessFilter()
371 if (vmixer->sharpness.enabled && vmixer->sharpness.value != 0.0f) { in vlVdpVideoMixerUpdateSharpnessFilter()
375 if (vmixer->sharpness.value > 0.0f) { in vlVdpVideoMixerUpdateSharpnessFilter()
381 matrix[i] *= vmixer->sharpness.value; in vlVdpVideoMixerUpdateSharpnessFilter()
391 matrix[i] *= fabsf(vmixer->sharpness.value) / 16.0f; in vlVdpVideoMixerUpdateSharpnessFilter()
393 matrix[4] += 1.0f - fabsf(vmixer->sharpness.value); in vlVdpVideoMixerUpdateSharpnessFilter()
396 vmixer->sharpness.filter = MALLOC(sizeof(struct vl_matrix_filter)); in vlVdpVideoMixerUpdateSharpnessFilter()
397 vl_matrix_filter_init(vmixer->sharpness.filter, vmixer->device->context, in vlVdpVideoMixerUpdateSharpnessFilter()
442 feature_supports[i] = vmixer->sharpness.supported; in vlVdpVideoMixerGetFeatureSupport()
496 vmixer->sharpness.enabled = feature_enables[i]; in vlVdpVideoMixerSetFeatureEnables()
553 feature_enables[i] = vmixer->sharpness.enabled; in vlVdpVideoMixerGetFeatureEnables()
641 vmixer->sharpness.value = val; in vlVdpVideoMixerSetAttributeValues()
744 *(float*)attribute_values[i] = vmixer->sharpness.value; in vlVdpVideoMixerGetAttributeValues()