MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / get_frame_duration

Function get_frame_duration

libhb/encx265.c:593–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591 pv->frame_info[i].duration = in->s.stop - in->s.start;
592}
593static int64_t get_frame_duration(hb_work_private_t * pv, int64_t pts)
594{
595 int i = (pts >> FRAME_INFO_MAX2) & FRAME_INFO_MASK;
596 return pv->frame_info[i].duration;
597}
598
599static hb_buffer_t* nal_encode(hb_work_object_t *w,
600 x265_picture *pic_out,

Callers 1

nal_encodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected