2282 {
2283 int max_header_size = 64 + 2 * 64 * 8;
2286 }
2287
2290
2293 }
2294
2295
2296 int pixel_aspect_ratio_code;
2298 pixel_aspect_ratio_code -= 1;
2299 if (pixel_aspect_ratio_code < 0) {
2300 pixel_aspect_ratio_code = 0;
2301 }
2304 if (pixel_aspect_ratio_code > par_last) {
2305 pixel_aspect_ratio_code = par_last;
2306 }
2309
2310
2312
2313
2315
2316
2318 for (int i = 0; i < 64; i++) {
2321 }
2322 }
2323 else {
2325 }
2326
2327
2329 for (int i = 0; i < 64; i++) {
2332 }
2333 }
2334 else {
2336 }
2337
2341
2344
2347
2348
2349
2352 size_t frame_data_size = (luma_plane_size + 2 * chroma_plane_size);
2353
2358
2361}
static const float PLM_VIDEO_PIXEL_ASPECT_RATIO[]
void plm_video_init_frame(plm_video_t *self, plm_frame_t *frame, uint8_t *base) FL_NOEXCEPT
int plm_buffer_read(plm_buffer_t *self, int count) FL_NOEXCEPT
static const uint8_t PLM_VIDEO_NON_INTRA_QUANT_MATRIX[]
int plm_buffer_has(plm_buffer_t *self, size_t count) FL_NOEXCEPT
static const double PLM_VIDEO_PICTURE_RATE[]
static const uint8_t PLM_VIDEO_ZIG_ZAG[]
void plm_buffer_skip(plm_buffer_t *self, size_t count) FL_NOEXCEPT
static const uint8_t PLM_VIDEO_INTRA_QUANT_MATRIX[]
plm_frame_t frame_current
double pixel_aspect_ratio
uint8_t intra_quant_matrix[64]
plm_frame_t frame_forward
plm_frame_t frame_backward
uint8_t non_intra_quant_matrix[64]
void * memcopy(void *dest, const void *src, size_t n) FL_NOEXCEPT