1
2
3
    disp_buf = (fb_data *)(p_decoder->buf + p_decoder->native_img_size);
    disp_buf = (fb_data *)ALIGN_UP((uintptr_t)disp_buf,4);
    *buf_size = memory_max - (unsigned char*)disp_buf;