|
Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
|
#include "pharos_zxing_reader.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ZXing/ZXingC.h>#include "stb_image.h"Go to the source code of this file.
Macros | |
| #define | STB_IMAGE_IMPLEMENTATION |
| #define | STBI_NO_LINEAR |
| #define | STBI_NO_HDR |
Functions | |
| static int | pharos_zxing_copy_text (const char *source_text, char **decoded_text_out) |
| int | pharos_zxing_decode_image_path (const char *image_path, char **decoded_text_out) |
| int | pharos_zxing_reader_main (int argc, char **argv) |
| #define STB_IMAGE_IMPLEMENTATION |
Definition at line 53 of file pharos_zxing_reader.c.
| #define STBI_NO_HDR |
Definition at line 55 of file pharos_zxing_reader.c.
| #define STBI_NO_LINEAR |
Definition at line 54 of file pharos_zxing_reader.c.
|
static |
Definition at line 58 of file pharos_zxing_reader.c.
Referenced by pharos_zxing_decode_image_path().
| int pharos_zxing_decode_image_path | ( | const char * | image_path, |
| char ** | decoded_text_out ) |
Definition at line 80 of file pharos_zxing_reader.c.
References pharos_zxing_copy_text(), STBI_grey, stbi_image_free(), and stbi_load().
Referenced by native_barcode_decode_image_path(), and pharos_zxing_reader_main().
| int pharos_zxing_reader_main | ( | int | argc, |
| char ** | argv ) |
Definition at line 152 of file pharos_zxing_reader.c.
References pharos_zxing_decode_image_path().
Referenced by main().