Home
last modified time | relevance | path

Searched refs:denoiser (Results 1 – 15 of 15) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Ddenoising.c357 void vp8_denoiser_set_parameters(VP8_DENOISER *denoiser, int mode) { in vp8_denoiser_set_parameters() argument
360 denoiser->denoiser_mode = kDenoiserOnYOnly; in vp8_denoiser_set_parameters()
362 denoiser->denoiser_mode = kDenoiserOnYUV; in vp8_denoiser_set_parameters()
364 denoiser->denoiser_mode = kDenoiserOnYUVAggressive; in vp8_denoiser_set_parameters()
366 denoiser->denoiser_mode = kDenoiserOnYUV; in vp8_denoiser_set_parameters()
368 if (denoiser->denoiser_mode != kDenoiserOnYUVAggressive) { in vp8_denoiser_set_parameters()
369 denoiser->denoise_pars.scale_sse_thresh = 1; in vp8_denoiser_set_parameters()
370 denoiser->denoise_pars.scale_motion_thresh = 8; in vp8_denoiser_set_parameters()
371 denoiser->denoise_pars.scale_increase_filter = 0; in vp8_denoiser_set_parameters()
372 denoiser->denoise_pars.denoise_mv_bias = 95; in vp8_denoiser_set_parameters()
[all …]
Ddenoising.h86 int vp8_denoiser_allocate(VP8_DENOISER *denoiser, int width, int height,
89 void vp8_denoiser_free(VP8_DENOISER *denoiser);
91 void vp8_denoiser_set_parameters(VP8_DENOISER *denoiser, int mode);
93 void vp8_denoiser_denoise_mb(VP8_DENOISER *denoiser, MACROBLOCK *x,
Donyx_if.c560 if (cpi->denoiser.denoiser_mode == kDenoiserOnYUVAggressive && in cyclic_background_refresh()
561 Q < (int)cpi->denoiser.denoise_pars.qp_thresh && in cyclic_background_refresh()
563 2 * cpi->denoiser.denoise_pars.consec_zerolast)) { in cyclic_background_refresh()
575 cpi->denoiser.denoise_pars.consec_zerolast) in cyclic_background_refresh()
1243 vp8_denoiser_free(&cpi->denoiser); in vp8_alloc_compressor_data()
1244 if (vp8_denoiser_allocate(&cpi->denoiser, width, height, cm->mb_rows, in vp8_alloc_compressor_data()
1709 if (!cpi->denoiser.yv12_mc_running_avg.buffer_alloc) { in vp8_change_config()
1712 if (vp8_denoiser_allocate(&cpi->denoiser, width, height, cm->mb_rows, in vp8_change_config()
2263 vp8_denoiser_free(&cpi->denoiser); in vp8_remove_compressor()
2956 vp8_yv12_copy_frame(cpi->Source, &cpi->denoiser.yv12_running_avg[i]); in update_reference_frames()
[all …]
Dpickinter.c491 (cpi->denoiser.denoiser_mode == kDenoiserOnYUVAggressive) ? 1 : 0; in evaluate_inter_mode()
622 cpi->denoiser.yv12_running_avg[LAST_FRAME].y_buffer + recon_yoffset; in vp8_pick_inter_mode()
623 stride = cpi->denoiser.yv12_running_avg[LAST_FRAME].y_stride; in vp8_pick_inter_mode()
625 target_u = cpi->denoiser.yv12_running_avg[LAST_FRAME].u_buffer + in vp8_pick_inter_mode()
627 target_v = cpi->denoiser.yv12_running_avg[LAST_FRAME].v_buffer + in vp8_pick_inter_mode()
629 stride_uv = cpi->denoiser.yv12_running_avg[LAST_FRAME].uv_stride; in vp8_pick_inter_mode()
754 cpi->denoiser.denoise_pars.pickmode_mv_bias / 100); in vp8_pick_inter_mode()
1213 if (cpi->denoiser.nmse_source_diff > in vp8_pick_inter_mode()
1214 70 * cpi->denoiser.threshold_aggressive_mode / 100) { in vp8_pick_inter_mode()
1228 vp8_denoiser_denoise_mb(&cpi->denoiser, x, best_sse, zero_mv_sse, in vp8_pick_inter_mode()
Donyx_int.h653 VP8_DENOISER denoiser; member
Drdopt.c2281 vp8_denoiser_denoise_mb(&cpi->denoiser, x, best_sse, zero_mv_sse, in vp8_rd_pick_inter_mode()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.c188 VP9_COMMON *const cm, VP9_DENOISER *denoiser, MACROBLOCK *mb, BLOCK_SIZE bs, in perform_motion_compensation() argument
217 denoiser->denoising_level <= kDenLow)) in perform_motion_compensation()
238 denoiser->denoising_level >= kDenHigh))) { in perform_motion_compensation()
248 if (denoiser->denoising_level > kDenMedium) { in perform_motion_compensation()
262 frame = frame + denoiser->num_ref_frames; in perform_motion_compensation()
268 if (denoiser->running_avg_y[frame].buffer_alloc == NULL) { in perform_motion_compensation()
295 block_start(denoiser->running_avg_y[frame].y_buffer, in perform_motion_compensation()
296 denoiser->running_avg_y[frame].y_stride, mi_row, mi_col); in perform_motion_compensation()
297 filter_mbd->plane[0].pre[0].stride = denoiser->running_avg_y[frame].y_stride; in perform_motion_compensation()
299 block_start(denoiser->running_avg_y[frame].u_buffer, in perform_motion_compensation()
[all …]
Dvp9_denoiser.h74 VP9_DENOISER *denoiser, YV12_BUFFER_CONFIG src, struct SVC *svc,
90 int vp9_denoiser_realloc_svc(VP9_COMMON *cm, VP9_DENOISER *denoiser,
95 int vp9_denoiser_alloc(VP9_COMMON *cm, struct SVC *svc, VP9_DENOISER *denoiser,
113 void vp9_denoiser_free(VP9_DENOISER *denoiser);
Dvp9_noise_estimate.c124 last_source = &cpi->denoiser.last_source; in vp9_update_noise_estimate()
144 copy_frame(&cpi->denoiser.last_source, cpi->Source); in vp9_update_noise_estimate()
163 copy_frame(&cpi->denoiser.last_source, cpi->Source); in vp9_update_noise_estimate()
279 copy_frame(&cpi->denoiser.last_source, cpi->Source); in vp9_update_noise_estimate()
Dvp9_pickmode.c427 ac_thr = vp9_scale_acskip_thresh(ac_thr, cpi->denoiser.denoising_level, in model_rd_for_sb_y_large()
1824 if (cpi->denoiser.denoising_level > kDenLowLow && denoise_svc_pickmode) in vp9_pick_inter_mode()
2322 cpi->denoiser.denoising_level > kDenLowLow) { in vp9_pick_inter_mode()
2542 denoise_svc_pickmode && cpi->denoiser.denoising_level > kDenLowLow && in vp9_pick_inter_mode()
2543 cpi->denoiser.reset == 0) { in vp9_pick_inter_mode()
Dvp9_encoder.h775 VP9_DENOISER denoiser; member
Dvp9_encoder.c2566 vp9_denoiser_free(&(cpi->denoiser)); in vp9_remove_compressor()
3512 !cpi->denoiser.frame_buffer_initialized) {
3513 if (vp9_denoiser_alloc(cm, &cpi->svc, &cpi->denoiser, cpi->use_svc,
3572 vp9_denoiser_free(&(cpi->denoiser));
4794 &cpi->denoiser.running_avg_y[INTRA_FRAME]);
Dvp9_encodeframe.c572 cpi->oxcf.speed > 5 && cpi->denoiser.denoising_level >= kDenLow) in set_vbp_thresholds()
574 vp9_scale_part_thresh(threshold_base, cpi->denoiser.denoising_level, in set_vbp_thresholds()
/external/libvpx/libvpx/
DCHANGELOG35 VP9 denoiser issue.
242 This release introduces a new temporal denoiser, controlled by the
243 VP8E_SET_NOISE_SENSITIVITY control. The temporal denoiser does not
247 for the spatial denoiser (0-6). The temporal denoiser is enabled
248 by default, and the older spatial denoiser may be restored by
249 configuring with --disable-temporal-denoising. The temporal denoiser
259 Adds a motion compensated temporal denoiser to the encoder, which
260 gives higher quality than the older spatial denoiser. (See above
Dconfigure61 ${toggle_temporal_denoising} enable temporal denoising and disable the spatial denoiser