Lines Matching refs:frame

52     vpx_codec_pts_t duration = pkt->data.frame.pts - last_pts_;
57 // plus one frame's time.
65 /* Test the buffer model here before subtracting the frame. Do so because
70 const bool key_frame = (pkt->data.frame.flags & VPX_FRAME_IS_KEY)
73 ASSERT_GE(bits_in_buffer_model_, 0) << "Buffer Underrun at frame "
74 << pkt->data.frame.pts;
77 const size_t frame_size_in_bits = pkt->data.frame.sz * 8;
79 // Subtract from the buffer the bits associated with a played back frame.
90 last_pts_ = pkt->data.frame.pts;
93 // frame encoded in the file.
167 // Here we check that the first dropped frame gets earlier and earlier
168 // as the drop frame threshold is increased.
177 << " The first dropped frame for drop_thresh " << i
178 << " > first dropped frame for drop_thresh "
277 if (video->frame() == 1) {
281 if (video->frame() == 1) {
286 frame_flags_ = SetFrameFlags(video->frame(), cfg_.ts_number_layers);
287 layer_id.temporal_layer_id = SetLayerId(video->frame(),
289 if (video->frame() > 0) {
301 vpx_codec_pts_t duration = pkt->data.frame.pts - last_pts_;
307 // Update the number of frame drops.
321 ASSERT_GE(bits_in_buffer_model_, 0) << "Buffer Underrun at frame "
322 << pkt->data.frame.pts;
324 const size_t frame_size_in_bits = pkt->data.frame.sz * 8;
333 last_pts_ = pkt->data.frame.pts;
415 // Check that (1) the first dropped frame gets earlier and earlier
416 // as the drop frame threshold is increased, and (2) that the total number of
417 // frame drops does not decrease as we increase frame drop threshold.
418 // Use a lower qp-max to force some frame drops.
447 << " The first dropped frame for drop_thresh " << i
448 << " > first dropped frame for drop_thresh "
535 // Check basic rate targeting for 3 temporal layers, with frame dropping.
537 // frame drop threshold, to force frame dropping.
542 // Set frame drop threshold and rc_max_quantizer to force some frame drops.
572 // Expect some frame drops in this test: for this 200 frames test,