Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions av2/encoder/encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -3165,15 +3165,10 @@ static void cdef_restoration_frame(AV2_COMP *cpi, AV2_COMMON *cm,
src_cpy += ccso_stride;
}
}
av2_ccso_search(cm, xd, cpi->td.mb.rdmult, ext_rec_y, cpi->ccso_rec_uv,
cpi->ccso_org_uv, cpi->error_resilient_frame_seen
#if CONFIG_ENTROPY_STATS
,
&cpi->td
#endif
,
av2_ccso_search(cpi, ext_rec_y, cpi->ccso_rec_uv, cpi->ccso_org_uv,
cpi->error_resilient_frame_seen,
cpi->sf.lpf_sf.early_terminate_ccso_search_by_cost,
cpi->sf.lpf_sf.ccso_chroma_dep, &cpi->ccso_ctx);
cpi->sf.lpf_sf.ccso_chroma_dep);
ccso_frame(&cm->cur_frame->buf, cm, xd, ext_rec_y);
#if CONFIG_MISMATCH_DEBUG
mismatch_record_frame(&cm->cur_frame->buf, num_planes, 2);
Expand Down
8 changes: 8 additions & 0 deletions av2/encoder/encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -3140,6 +3140,14 @@ typedef struct AV2_COMP {
* freed at encoder close).
*/
CcsoCtx ccso_ctx;
/*!
* distortion between source and ccso input at sb level
*/
uint64_t *unfiltered_dist_block;
/*!
* Allocated size of unfiltered_dist_block in elements.
*/
int unfiltered_dist_block_alloc_sb_count;
/*!
* Extended luma reconstruction buffer for CCSO search.
*/
Expand Down
Loading