MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / encode_frame_rate

Function encode_frame_rate

libavcodec/vc2enc.c:316–325  ·  view source on GitHub ↗

VC-2 11.3.5 - frame_rate() */

Source from the content-addressed store, hash-verified

314
315/* VC-2 11.3.5 - frame_rate() */
316static 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() */
328static void encode_aspect_ratio(VC2EncContext *s)

Callers 1

encode_source_paramsFunction · 0.85

Calls 2

put_vc2_ue_uintFunction · 0.85
put_bitsFunction · 0.70

Tested by

no test coverage detected