Lines Matching refs:cpi

81   VP9_COMP               *cpi;
446 vp9_change_config(ctx->cpi, &ctx->oxcf);
466 MAP(VP8E_GET_LAST_QUANTIZER, vp9_get_quantizer(ctx->cpi));
468 vp9_reverse_trans(vp9_get_quantizer(ctx->cpi)));
509 vp9_change_config(ctx->cpi, &ctx->oxcf);
566 VP9_COMP *cpi;
570 cpi = vp9_create_compressor(&ctx->priv->alg_priv->oxcf);
571 if (cpi == NULL)
574 ctx->priv->alg_priv->cpi = cpi;
589 vp9_remove_compressor(ctx->cpi);
619 vp9_change_config(ctx->cpi, &ctx->oxcf);
699 vp9_use_as_reference(ctx->cpi, ref);
716 vp9_update_reference(ctx->cpi, upd);
720 vp9_update_entropy(ctx->cpi, 0);
733 if (res == VPX_CODEC_OK && ctx->cpi != NULL) {
742 ((VP9_COMP *)ctx->cpi)->b_calculate_psnr = 1;
756 if (vp9_receive_raw_frame(ctx->cpi, lib_flags,
758 VP9_COMP *cpi = (VP9_COMP *)ctx->cpi;
759 res = update_error_state(ctx, &cpi->common.error);
784 -1 != vp9_get_compressed_data(ctx->cpi, &lib_flags, &size,
790 VP9_COMP *const cpi = (VP9_COMP *)ctx->cpi;
793 if (cpi->common.show_frame == 0) {
819 if (cpi->common.show_frame == 0) {
826 pkt.data.frame.pts = ((cpi->last_time_stamp_seen
832 if (cpi->droppable)
875 vp9_set_reference_enc(ctx->cpi, ref_frame_to_vp9_reframe(frame->frame_type),
891 vp9_copy_reference_enc(ctx->cpi,
906 vp9_get_reference_enc(ctx->cpi, frame->idx, &fb);
945 if (vp9_get_preview_raw_frame(ctx->cpi, &sd, &flags) == 0) {
956 vp9_update_entropy(ctx->cpi, update);
963 vp9_update_reference(ctx->cpi, ref_frame_flags);
970 vp9_use_as_reference(ctx->cpi, reference_flag);
986 if (!vp9_set_active_map(ctx->cpi, map->active_map, map->rows, map->cols))
1000 const int res = vp9_set_internal_size(ctx->cpi,
1013 vp9_set_svc(ctx->cpi, data);
1031 VP9_COMP *const cpi = (VP9_COMP *)ctx->cpi;
1032 SVC *const svc = &cpi->svc;
1049 VP9_COMP *const cpi = ctx->cpi;
1055 cpi->svc.spatial_layer_id = params->spatial_layer;
1056 cpi->svc.temporal_layer_id = params->temporal_layer;
1058 cpi->lst_fb_idx = params->lst_fb_idx;
1059 cpi->gld_fb_idx = params->gld_fb_idx;
1060 cpi->alt_fb_idx = params->alt_fb_idx;
1062 if (vp9_set_size_literal(ctx->cpi, params->width, params->height) != 0)
1069 vp9_change_config(ctx->cpi, &ctx->oxcf);