<commit_before>#ifndef SETTINGS_H
#define SETTINGS_H

// Enable or disable streams
#define SETUP_STREAM_RGB 0x1
#define SETUP_STREAM_IR  0x2
#define SETUP_STREAMS (SETUP_STREAM_RGB) // or (SETUP_STREAM_IR) or (SETUP_STREAM_RGB | SETUP_STREAM_IR)

// Lengths of frame buffers
#define SETUP_BUFFER_LENGTH_M2G 0
#define SETUP_BUFFER_LENGTH_G2P 8
#define SETUP_BUFFER_LENGTH_P2C 8
#define SETUP_BUFFER_LENGTH_C2S 8

// How many milliseconds between frames
#define SETUP_STREAM_INTERVAL 1000

// Images; RGB is a raw Bayer image (RGGB)
#define SETUP_IMAGE_WIDTH_RGB 640
#define SETUP_IMAGE_HEIGHT_RGB 480
#define SETUP_IMAGE_SIZE_RAW_RGB (SETUP_IMAGE_WIDTH_RGB * SETUP_IMAGE_HEIGHT_RGB)
#define SETUP_IMAGE_SIZE_RGB (SETUP_IMAGE_WIDTH_RGB * SETUP_IMAGE_HEIGHT_RGB)

// ..and IR is packed 10 bit pixels
#define SETUP_IMAGE_WIDTH_IR 640
#define SETUP_IMAGE_HEIGHT_IR 488
#define SETUP_IMAGE_SIZE_RAW_IR ((SETUP_IMAGE_WIDTH_IR * SETUP_IMAGE_HEIGHT_IR * 10) / 8)
#define SETUP_IMAGE_SIZE_IR (SETUP_IMAGE_WIDTH_IR * SETUP_IMAGE_HEIGHT_IR)

#endif // SETTINGS_H
<commit_msg>eliminate "m2g" buffer and reduce sizes of other buffers<commit_after>#ifndef SETTINGS_H
#define SETTINGS_H

// Enable or disable streams
#define SETUP_STREAM_RGB 0x1
#define SETUP_STREAM_IR  0x2
#define SETUP_STREAMS (SETUP_STREAM_RGB) // or (SETUP_STREAM_IR) or (SETUP_STREAM_RGB | SETUP_STREAM_IR)

// Lengths of frame buffers
#define SETUP_BUFFER_LENGTH_G2P 4
#define SETUP_BUFFER_LENGTH_P2C 4
#define SETUP_BUFFER_LENGTH_C2S 4

// How many milliseconds between frames
#define SETUP_STREAM_INTERVAL 1000

// Images; RGB is a raw Bayer image (RGGB)
#define SETUP_IMAGE_WIDTH_RGB 640
#define SETUP_IMAGE_HEIGHT_RGB 480
#define SETUP_IMAGE_SIZE_RAW_RGB (SETUP_IMAGE_WIDTH_RGB * SETUP_IMAGE_HEIGHT_RGB)
#define SETUP_IMAGE_SIZE_RGB (SETUP_IMAGE_WIDTH_RGB * SETUP_IMAGE_HEIGHT_RGB)

// ..and IR is packed 10 bit pixels
#define SETUP_IMAGE_WIDTH_IR 640
#define SETUP_IMAGE_HEIGHT_IR 488
#define SETUP_IMAGE_SIZE_RAW_IR ((SETUP_IMAGE_WIDTH_IR * SETUP_IMAGE_HEIGHT_IR * 10) / 8)
#define SETUP_IMAGE_SIZE_IR (SETUP_IMAGE_WIDTH_IR * SETUP_IMAGE_HEIGHT_IR)

#endif // SETTINGS_H

{'fraction_non_alphanumeric': 0.060421545667447306, 'fraction_numerical': 0.03044496487119438, 'mean_word_length': 6.970149253731344, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2162115', 'n_tokens_mistral': 862, 'n_tokens_neox': 806, 'n_words': 191}