Home | History | Annotate | Download | only in test

Lines Matching refs:frame

39     if (video->frame() == 1) {
49 const uint8_t *buffer = reinterpret_cast<uint8_t*>(pkt->data.frame.buf);
50 const uint8_t marker = buffer[pkt->data.frame.sz - 1];
55 pkt->data.frame.sz >= index_sz &&
56 buffer[pkt->data.frame.sz - index_sz] == marker) {
57 // frame is a superframe. strip off the index.
60 modified_buf_ = new uint8_t[pkt->data.frame.sz - index_sz];
61 memcpy(modified_buf_, pkt->data.frame.buf,
62 pkt->data.frame.sz - index_sz);
64 modified_pkt_.data.frame.buf = modified_buf_;
65 modified_pkt_.data.frame.sz -= index_sz;
68 last_sf_pts_ = pkt->data.frame.pts;
74 pkt->data.frame.pts - last_sf_pts_ >= 5;