mirror of
https://github.com/riuson/lcd-image-converter.git
synced 2026-03-03 06:44:13 +01:00
40 lines
1.2 KiB
Cheetah
40 lines
1.2 KiB
Cheetah
$(start_block_header)
|
|
/*******************************************************************************
|
|
* generated by lcd-image-converter rev.$(app_rev) from $(app_date)
|
|
* $(doc_data_type)
|
|
* filename: $(doc_filename)
|
|
* name: $(doc_name)
|
|
*
|
|
* preset name: $(out_preset_name)
|
|
* data block size: $(img_data_block_size) bit(s), uint$(img_data_block_size)_t
|
|
* RLE compression enabled: $(img_rle)
|
|
* conversion type: $(pre_conv_type), $(pre_mono_type) $(pre_mono_edge)
|
|
* split to rows: $(img_split_to_rows)
|
|
* bits per pixel: $(out_bpp)
|
|
*
|
|
* preprocess:
|
|
* main scan direction: $(pre_scan_main)
|
|
* line scan direction: $(pre_scan_sub)
|
|
* inverse: $(pre_inverse)
|
|
*******************************************************************************/
|
|
|
|
/*
|
|
typedef struct {
|
|
const uint$(img_data_block_size)_t *data;
|
|
uint16_t width;
|
|
uint16_t height;
|
|
uint8_t dataSize;
|
|
} tImage;
|
|
*/
|
|
#include <stdint.h>
|
|
$(end_block_header)
|
|
|
|
$(start_block_images_table)
|
|
static const uint$(img_data_block_size)_t image_data_$(doc_name_ws)[$(out_blocks_count)] = {
|
|
$(out_image_preview)
|
|
$(out_image_data)
|
|
};
|
|
const tImage $(doc_name_ws) = { image_data_$(doc_name_ws), $(out_image_width), $(out_image_height),
|
|
$(img_data_block_size) };
|
|
$(end_block_images_table)
|