Lines Matching refs:pp

32     DXVA_PicParams_VP9    pp;
46 DXVA_PicParams_VP9 *pp)
54 memset(pp, 0, sizeof(*pp));
56 fill_picture_entry(&pp->CurrPic, ff_dxva2_get_surface_index(avctx, ctx, h->frames[CUR_FRAME].tf.f), 0);
58 pp->profile = h->h.profile;
59 pp->wFormatAndPictureInfoFlags = ((h->h.keyframe == 0) << 0) |
73 pp->width = avctx->width;
74 pp->height = avctx->height;
75 pp->BitDepthMinus8Luma = pixdesc->comp[0].depth - 8;
76 pp->BitDepthMinus8Chroma = pixdesc->comp[1].depth - 8;
78 pp->interp_filter = h->h.filtermode ^ (h->h.filtermode <= 1);
79 pp->Reserved8Bits = 0;
83 fill_picture_entry(&pp->ref_frame_map[i], ff_dxva2_get_surface_index(avctx, ctx, h->refs[i].f), 0);
84 pp->ref_frame_coded_width[i] = h->refs[i].f->width;
85 pp->ref_frame_coded_height[i] = h->refs[i].f->height;
87 pp->ref_frame_map[i].bPicEntry = 0xFF;
93 fill_picture_entry(&pp->frame_refs[i], ff_dxva2_get_surface_index(avctx, ctx, h->refs[refidx].f), 0);
95 pp->frame_refs[i].bPicEntry = 0xFF;
97 pp->ref_frame_sign_bias[i + 1] = h->h.signbias[i];
100 pp->filter_level = h->h.filter.level;
101 pp->sharpness_level = h->h.filter.sharpness;
103 pp->wControlInfoFlags = (h->h.lf_delta.enabled << 0) |
109 pp->ref_deltas[i] = h->h.lf_delta.ref[i];
112 pp->mode_deltas[i] = h->h.lf_delta.mode[i];
114 pp->base_qindex = h->h.yac_qi;
115 pp->y_dc_delta_q = h->h.ydc_qdelta;
116 pp->uv_dc_delta_q = h->h.uvdc_qdelta;
117 pp->uv_ac_delta_q = h->h.uvac_qdelta;
120 pp->stVP9Segments.wSegmentInfoFlags = (h->h.segmentation.enabled << 0) |
127 pp->stVP9Segments.tree_probs[i] = h->h.segmentation.prob[i];
131 pp->stVP9Segments.pred_probs[i] = h->h.segmentation.pred_prob[i];
133 memset(pp->stVP9Segments.pred_probs, 255, sizeof(pp->stVP9Segments.pred_probs));
136 pp->stVP9Segments.feature_mask[i] = (h->h.segmentation.feat[i].q_enabled << 0) |
141 pp->stVP9Segments.feature_data[i][0] = h->h.segmentation.feat[i].q_val;
142 pp->stVP9Segments.feature_data[i][1] = h->h.segmentation.feat[i].lf_val;
143 pp->stVP9Segments.feature_data[i][2] = h->h.segmentation.feat[i].ref_val;
144 pp->stVP9Segments.feature_data[i][3] = 0; /* no data for skip */
147 pp->log2_tile_cols = h->h.tiling.log2_tile_cols;
148 pp->log2_tile_rows = h->h.tiling.log2_tile_rows;
150 pp->uncompressed_header_size_byte_aligned = h->h.uncompressed_header_size;
151 pp->first_partition_size = h->h.compressed_header_size;
153 pp->StatusReportFeedbackNumber = 1 + DXVA_CONTEXT_REPORT_ID(avctx, ctx)++;
267 if (fill_picture_parameters(avctx, ctx, h, &ctx_pic->pp) < 0)
303 &ctx_pic->pp, sizeof(ctx_pic->pp),