11 /* Component image sizes (possibly subsampled) */
17 JSAMPLE *data_y, *data_cb, *data_cr;
20 enum qscale_scaling_filter {
24 qscale_img *qscale_load_jpeg(const char *filename);
25 qscale_img *qscale_load_jpeg_from_stdio(FILE *filea);
26 int qscale_save_jpeg(const qscale_img *image, const char *filename);
28 qscale_img *qscale_scale(qscale_img *source, int width, int height, int samp_h0, int samp_v0, int samp_h1, int samp_v1, int samp_h2, int samp_v2, int jpeg_quality);
29 void qscale_destroy(qscale_img *image);
31 #endif /* !defined(_LIBQSCALE_H) */