Return pointer to appropriate function
| 160 | |
| 161 | // Return pointer to appropriate function |
| 162 | static TFilterMethod FilterToMethod (RenderFilter filterID) |
| 163 | { |
| 164 | switch(filterID) |
| 165 | { |
| 166 | case FILTER_HQ2X: return RenderHQ2X<FILTER_HQ2X>; |
| 167 | case FILTER_HQ2XS: return RenderHQ2X<FILTER_HQ2XS>; |
| 168 | case FILTER_HQ2XBOLD: return RenderHQ2X<FILTER_HQ2XBOLD>; |
| 169 | case FILTER_SCALE2X: return RenderScale2X<FILTER_SCALE2X>; |
| 170 | case FILTER_2XBR: return Render2xBR<FILTER_2XBR>; |
| 171 | case FILTER_2XBRLV1: return Render2xBRlv1<FILTER_2XBRLV1>; |
| 172 | case FILTER_DDT: return RenderDDT<FILTER_DDT>; |
| 173 | default: return 0; |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | int GetFilterScale() |
| 178 | { |
no outgoing calls
no test coverage detected