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

Function save_frame_info

libhb/encavcodec.c:1201–1206  ·  view source on GitHub ↗

* see comments in definition of 'frame_info' in pv struct for description * of what these routines are doing. */

Source from the content-addressed store, hash-verified

1199 * of what these routines are doing.
1200 */
1201static void save_frame_info( hb_work_private_t * pv, hb_buffer_t * in )
1202{
1203 int i = pv->frameno_in & FRAME_INFO_MASK;
1204 pv->frame_info[i].start = in->s.start;
1205 pv->frame_info[i].duration = in->s.stop - in->s.start;
1206}
1207
1208static int64_t get_frame_start( hb_work_private_t * pv, int64_t frameno )
1209{

Callers 1

EncodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected