Searched refs:bmp_ptr (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/fxcodec/lbmp/ |
D | fx_bmp.cpp | 36 void bmp_error(bmp_decompress_struct_p bmp_ptr, const FX_CHAR* err_msg) { in bmp_error() argument 37 if (bmp_ptr && bmp_ptr->bmp_error_fn) { in bmp_error() 38 bmp_ptr->bmp_error_fn(bmp_ptr, err_msg); in bmp_error() 42 bmp_decompress_struct_p bmp_ptr = FX_Alloc(bmp_decompress_struct, 1); in bmp_create_decompress() local 43 FXSYS_memset(bmp_ptr, 0, sizeof(bmp_decompress_struct)); in bmp_create_decompress() 44 bmp_ptr->decode_status = BMP_D_STATUS_HEADER; in bmp_create_decompress() 45 bmp_ptr->bmp_header_ptr = FX_Alloc(BmpFileHeader, 1); in bmp_create_decompress() 46 return bmp_ptr; in bmp_create_decompress() 52 bmp_decompress_struct_p bmp_ptr = *bmp_ptr_ptr; in bmp_destroy_decompress() local 54 if (bmp_ptr->out_row_buffer) { in bmp_destroy_decompress() [all …]
|
D | fx_bmp.h | 102 bool (*bmp_get_data_position_fn)(bmp_decompress_struct_p bmp_ptr, 104 void (*bmp_get_row_fn)(bmp_decompress_struct_p bmp_ptr, 112 void bmp_error(bmp_decompress_struct_p bmp_ptr, const FX_CHAR* err_msg); 115 int32_t bmp_read_header(bmp_decompress_struct_p bmp_ptr); 116 int32_t bmp_decode_image(bmp_decompress_struct_p bmp_ptr); 117 int32_t bmp_decode_rgb(bmp_decompress_struct_p bmp_ptr); 118 int32_t bmp_decode_rle8(bmp_decompress_struct_p bmp_ptr); 119 int32_t bmp_decode_rle4(bmp_decompress_struct_p bmp_ptr); 120 uint8_t* bmp_read_data(bmp_decompress_struct_p bmp_ptr, 123 void bmp_save_decoding_status(bmp_decompress_struct_p bmp_ptr, int32_t status); [all …]
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_bmpmodule.cpp | 15 bmp_decompress_struct_p bmp_ptr; member 29 static void bmp_error_data(bmp_decompress_struct_p bmp_ptr, in bmp_error_data() argument 31 FXSYS_strncpy((char*)bmp_ptr->err_ptr, err_msg, BMP_MAX_ERROR_SIZE - 1); in bmp_error_data() 32 longjmp(bmp_ptr->jmpbuf, 1); in bmp_error_data() 34 static void bmp_read_scanline(bmp_decompress_struct_p bmp_ptr, in bmp_read_scanline() argument 37 FXBMP_Context* p = (FXBMP_Context*)bmp_ptr->context_ptr; in bmp_read_scanline() 41 static bool bmp_get_data_position(bmp_decompress_struct_p bmp_ptr, in bmp_get_data_position() argument 43 FXBMP_Context* p = (FXBMP_Context*)bmp_ptr->context_ptr; in bmp_get_data_position() 65 p->bmp_ptr = nullptr; in Start() 67 p->bmp_ptr = bmp_create_decompress(); in Start() [all …]
|