Lines Matching refs:fhdr
66 void Vp9CompressedHeaderParser::ReadTxMode(Vp9FrameHeader* fhdr) { in ReadTxMode() argument
68 if (fhdr->quant_params.IsLossless()) { in ReadTxMode()
75 fhdr->compressed_header.tx_mode = in ReadTxMode()
125 void Vp9CompressedHeaderParser::ReadCoefProbs(Vp9FrameHeader* fhdr) { in ReadCoefProbs() argument
130 tx_mode_to_biggest_tx_size[fhdr->compressed_header.tx_mode]; in ReadCoefProbs()
135 for (auto& ai : fhdr->frame_context.coef_probs[tx_size]) { in ReadCoefProbs()
174 void Vp9CompressedHeaderParser::ReadFrameReferenceMode(Vp9FrameHeader* fhdr) { in ReadFrameReferenceMode() argument
177 if (fhdr->ref_frame_sign_bias[i] != fhdr->ref_frame_sign_bias[1]) in ReadFrameReferenceMode()
181 fhdr->compressed_header.reference_mode = in ReadFrameReferenceMode()
184 fhdr->compressed_header.reference_mode = SINGLE_REFERENCE; in ReadFrameReferenceMode()
190 Vp9FrameHeader* fhdr) { in ReadFrameReferenceModeProbs() argument
191 Vp9FrameContext* frame_context = &fhdr->frame_context; in ReadFrameReferenceModeProbs()
192 if (fhdr->compressed_header.reference_mode == REFERENCE_MODE_SELECT) in ReadFrameReferenceModeProbs()
195 if (fhdr->compressed_header.reference_mode != COMPOUND_REFERENCE) in ReadFrameReferenceModeProbs()
199 if (fhdr->compressed_header.reference_mode != SINGLE_REFERENCE) in ReadFrameReferenceModeProbs()
259 Vp9FrameHeader* fhdr) { in Parse() argument
264 ReadTxMode(fhdr); in Parse()
265 if (fhdr->compressed_header.tx_mode == Vp9CompressedHeader::TX_MODE_SELECT) in Parse()
266 ReadTxModeProbs(&fhdr->frame_context); in Parse()
268 ReadCoefProbs(fhdr); in Parse()
269 ReadSkipProb(&fhdr->frame_context); in Parse()
271 if (!fhdr->IsIntra()) { in Parse()
272 ReadInterModeProbs(&fhdr->frame_context); in Parse()
273 if (fhdr->interpolation_filter == SWITCHABLE) in Parse()
274 ReadInterpFilterProbs(&fhdr->frame_context); in Parse()
275 ReadIsInterProbs(&fhdr->frame_context); in Parse()
276 ReadFrameReferenceMode(fhdr); in Parse()
277 ReadFrameReferenceModeProbs(fhdr); in Parse()
278 ReadYModeProbs(&fhdr->frame_context); in Parse()
279 ReadPartitionProbs(&fhdr->frame_context); in Parse()
280 ReadMvProbs(fhdr->allow_high_precision_mv, &fhdr->frame_context); in Parse()