提交 42c5ab08 authored 作者: Steve Underwood's avatar Steve Underwood

Image translate moves forward a little, towards colour support

上级 bb96d091
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
* SpanDSP - a series of DSP components for telephony * SpanDSP - a series of DSP components for telephony
* *
* image_translate.h - Image translation routines for reworking colour * image_translate.h - Image translation routines for reworking colour
* and gray scale images to be bi-level images of an * and gray scale images to be colour, gray scale or
* appropriate size to be FAX compatible. * bi-level images of an appropriate size to be FAX
* compatible.
* *
* Written by Steve Underwood <steveu@coppice.org> * Written by Steve Underwood <steveu@coppice.org>
* *
......
/* /*
* SpanDSP - a series of DSP components for telephony * SpanDSP - a series of DSP components for telephony
* *
* private/image_translate.c - Image translation routines for reworking colour * private/image_translate.h - Image translation routines for reworking colour
* and gray scale images to be bi-level images of an * and gray scale images to be bi-level images of an
* appropriate size to be FAX compatible. * appropriate size to be FAX compatible.
* *
...@@ -33,11 +33,12 @@ struct image_translate_state_s ...@@ -33,11 +33,12 @@ struct image_translate_state_s
int input_format; int input_format;
int input_width; int input_width;
int input_length; int input_length;
int input_bytes_per_pixel;
int output_format; int output_format;
int output_width; int output_width;
int output_length; int output_length;
int output_bytes_per_pixel;
int resize; int resize;
int bytes_per_pixel;
int raw_input_row; int raw_input_row;
int raw_output_row; int raw_output_row;
int output_row; int output_row;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论