VC-2 11.3.5 - frame_rate() */
| 314 | |
| 315 | /* VC-2 11.3.5 - frame_rate() */ |
| 316 | static void encode_frame_rate(VC2EncContext *s) |
| 317 | { |
| 318 | put_bits(&s->pb, 1, !s->strict_compliance); |
| 319 | if (!s->strict_compliance) { |
| 320 | AVCodecContext *avctx = s->avctx; |
| 321 | put_vc2_ue_uint(&s->pb, 0); |
| 322 | put_vc2_ue_uint(&s->pb, avctx->time_base.den); |
| 323 | put_vc2_ue_uint(&s->pb, avctx->time_base.num); |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | /* VC-2 11.3.6 - aspect_ratio() */ |
| 328 | static void encode_aspect_ratio(VC2EncContext *s) |
no test coverage detected