Home
last modified time | relevance | path

Searched refs:index_sz (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/libvpx/test/
Dsuperframe_test.cc53 const unsigned int index_sz = 2 + mag * frames; in MutateEncoderOutputHook() local
55 pkt->data.frame.sz >= index_sz && in MutateEncoderOutputHook()
56 buffer[pkt->data.frame.sz - index_sz] == marker) { in MutateEncoderOutputHook()
60 modified_buf_ = new uint8_t[pkt->data.frame.sz - index_sz]; in MutateEncoderOutputHook()
62 pkt->data.frame.sz - index_sz); in MutateEncoderOutputHook()
65 modified_pkt_.data.frame.sz -= index_sz; in MutateEncoderOutputHook()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c366 const size_t index_sz = 2 + mag * frames; in parse_superframe_index() local
370 if (data_sz < index_sz) in parse_superframe_index()
375 data + data_sz - index_sz); in parse_superframe_index()
387 const uint8_t *x = &data[data_sz - index_sz + 1]; in parse_superframe_index()
Dvp9_cx_iface.c755 int mag, index_sz; in write_superframe_index() local
773 index_sz = 2 + (mag + 1) * ctx->pending_frame_count; in write_superframe_index()
774 if (ctx->pending_cx_data_sz + index_sz < ctx->cx_data_sz) { in write_superframe_index()
802 ctx->pending_cx_data_sz += index_sz; in write_superframe_index()
804 index_sz += index_sz_test; in write_superframe_index()
807 return index_sz; in write_superframe_index()