[Mesa-dev] [PATCH 2/4] st/vdpau: use median filter for noise reduction
m.b.lankhorst at gmail.com
Mon Feb 13 06:57:04 PST 2012
Op 13-02-12 13:09, Christian König schreef:
> No, it's not really needed, but I had it this way in the first place
> and you need a lot of "if (something_is_not_null) cleanup(something)"
> in the destructor functions, and with this implementation we only need
> to test if it's allocated once, and that looked allot cleaner.
It will also allow you to do away with the error cleanup in
by just doing vl_median_filter_cleanup.
Do you really need to re-create the entire filter though? Wouldn't just
uploading new quads be enough?
You could just choose not to call vl_median_filter_render if it's not
More information about the mesa-dev