static int calculate_bytes_per_pixel(int colormodel);
// Get size + 4 for assembly language
static long calculate_data_size(int w, int h,
int bytes_per_line = -1, int color_model = BC_RGB888);
// Get size of uncompressed frame buffer without extra 4 bytes
long get_data_size();
static int calculate_bytes_per_pixel(int colormodel);
// Get size + 4 for assembly language
static long calculate_data_size(int w, int h,
int bytes_per_line = -1, int color_model = BC_RGB888);
// Get size of uncompressed frame buffer without extra 4 bytes
long get_data_size();