Lines Matching refs:ppstate
300 struct postproc_state *const ppstate = &cm->postproc_state; in vp9_post_proc_frame() local
313 ppstate->last_base_qindex = cm->base_qindex; in vp9_post_proc_frame()
314 ppstate->last_frame_valid = 1; in vp9_post_proc_frame()
317 if ((flags & VP9D_MFQE) && ppstate->prev_mip == NULL) { in vp9_post_proc_frame()
318 ppstate->prev_mip = vpx_calloc(cm->mi_alloc_size, sizeof(*cm->mip)); in vp9_post_proc_frame()
319 if (!ppstate->prev_mip) { in vp9_post_proc_frame()
322 ppstate->prev_mi = ppstate->prev_mip + cm->mi_stride + 1; in vp9_post_proc_frame()
375 ppstate->last_frame_valid && cm->bit_depth == 8 && in vp9_post_proc_frame()
376 ppstate->last_base_qindex <= last_q_thresh && in vp9_post_proc_frame()
377 cm->base_qindex - ppstate->last_base_qindex >= q_diff_thresh) { in vp9_post_proc_frame()
405 ppstate->last_base_qindex = cm->base_qindex; in vp9_post_proc_frame()
406 ppstate->last_frame_valid = 1; in vp9_post_proc_frame()
409 if (ppstate->last_q != q || ppstate->last_noise != noise_level) { in vp9_post_proc_frame()
413 ppstate->clamp = in vp9_post_proc_frame()
414 vpx_setup_noise(sigma, ppstate->generated_noise, cm->width + 256); in vp9_post_proc_frame()
415 ppstate->last_q = q; in vp9_post_proc_frame()
416 ppstate->last_noise = noise_level; in vp9_post_proc_frame()
418 vpx_plane_add_noise(ppbuf->y_buffer, ppstate->generated_noise, in vp9_post_proc_frame()
419 ppstate->clamp, ppstate->clamp, ppbuf->y_width, in vp9_post_proc_frame()