Lines Matching defs:fh
159 JPEGRawFrameHeader *fh = &priv->frame_header;
173 quant->lum_quantiser_matrix[i] = dqt->table[fh->Tq[0]].Q[i];
175 if (fh->Nf > 1) {
179 dqt->table[fh->Tq[1]].Q[i];
226 JPEGRawFrameHeader *fh = &priv->frame_header;
246 fh->P = 8;
247 fh->Y = avctx->height;
248 fh->X = avctx->width;
249 fh->Nf = desc->nb_components;
251 for (i = 0; i < fh->Nf; i++) {
252 fh->C[i] = components[i];
253 fh->H[i] = 1 + (i == 0 ? desc->log2_chroma_w : 0);
254 fh->V[i] = 1 + (i == 0 ? desc->log2_chroma_h : 0);
256 fh->Tq[i] = !!i;
259 fh->Lf = 8 + 3 * fh->Nf;
303 for (t = 0; t < 1 + (fh->Nf > 1); t++) {
323 for (t = 0; t < 2 + 2 * (fh->Nf > 1); t++) {
363 sh->Ns = fh->Nf;
365 for (i = 0; i < fh->Nf; i++) {
366 sh->Cs[i] = fh->C[i];
383 .picture_width = fh->X,
384 .picture_height = fh->Y,
394 .sample_bit_depth = fh->P,
396 .num_components = fh->Nf,
404 for (i = 0; i < fh->Nf; i++) {
405 vpic->component_id[i] = fh->C[i];
406 vpic->quantiser_table_selector[i] = fh->Tq[i];