========================================================================= */
| 817 | |
| 818 | /* ========================================================================= */ |
| 819 | int ZEXPORT deflateTune(z_streamp strm, int good_length, int max_lazy, |
| 820 | int nice_length, int max_chain) { |
| 821 | deflate_state *s; |
| 822 | |
| 823 | if (deflateStateCheck(strm)) return Z_STREAM_ERROR; |
| 824 | s = strm->state; |
| 825 | s->good_match = (uInt)good_length; |
| 826 | s->max_lazy_match = (uInt)max_lazy; |
| 827 | s->nice_match = nice_length; |
| 828 | s->max_chain_length = (uInt)max_chain; |
| 829 | return Z_OK; |
| 830 | } |
| 831 | |
| 832 | /* ========================================================================= |
| 833 | * For the default windowBits of 15 and memLevel of 8, this function returns a |
nothing calls this directly
no test coverage detected