/* fill quant parameter buffers functions*/ bool VaapiDecoderVP8::ensureProbabilityTable(const PicturePtr& pic) { VAProbabilityDataBufferVP8 *probTable = NULL; // XXX, create/render VAProbabilityDataBufferVP8 in base class if (!pic->editProbTable(probTable)) return false; memcpy (probTable->dct_coeff_probs, m_frameHdr.token_probs.prob, sizeof (m_frameHdr.token_probs.prob)); return true; }