//define size
const int width = 176;
const int height = 144;
const int y_size = width * height;
const int cb_size = y_size / 4;
const int cr_size = y_size / 4;
const int frame_size = y_size + cb_size + cr_size;