| 63 | } |
| 64 | |
| 65 | static int64_t get_frame_duration(hb_work_private_t *pv) |
| 66 | { |
| 67 | int i = pv->frameno_out & FRAME_INFO_MASK; |
| 68 | pv->frameno_out++; |
| 69 | return pv->frame_info[i].duration; |
| 70 | } |
| 71 | |
| 72 | static int alloc_buffer(EbSvtAv1EncConfiguration *config, hb_work_private_t *pv) |
| 73 | { |