diff --git a/src/debug.h b/src/debug.h index 52b5918d..d8035449 100644 --- a/src/debug.h +++ b/src/debug.h @@ -16,6 +16,6 @@ FILE * open_cu_file(char *filename); void close_cu_file(FILE *fp); -unsigned render_cu_file(encoder_control *encoder, unsigned depth, uint16_t xCtb, uint16_t yCtb, FILE *fp); +unsigned render_cu_file(encoder_control *encoder, unsigned depth, uint16_t x_cu, uint16_t y_cu, FILE *fp); #endif diff --git a/src/filter.c b/src/filter.c index 38a5501d..e83e2dac 100644 --- a/src/filter.c +++ b/src/filter.c @@ -252,7 +252,7 @@ void filter_deblock_edge_chroma(encoder_control* encoder,int32_t xpos, int32_t y until the coded block size has been achived. Calls luma and chroma filtering functions for each coded CU size */ -void filter_deblock_CU(encoder_control* encoder, int32_t xCtb, int32_t yCtb, int8_t depth, int32_t edge) +void filter_deblock_cu(encoder_control* encoder, int32_t xCtb, int32_t yCtb, int8_t depth, int32_t edge) { CU_info *cur_CU = &encoder->in.cur_pic->CU[depth][xCtb+yCtb*(encoder->in.width_in_lcu<depth > depth)?1:0; @@ -268,19 +268,19 @@ void filter_deblock_CU(encoder_control* encoder, int32_t xCtb, int32_t yCtb, int { /* Split blocks and remember to change x and y block positions */ uint8_t change = 1<<(MAX_DEPTH-1-depth); - filter_deblock_CU(encoder,xCtb,yCtb,depth+1,edge); /* x,y */ + filter_deblock_cu(encoder,xCtb,yCtb,depth+1,edge); /* x,y */ if(!border_x || border_split_x) { - filter_deblock_CU(encoder,xCtb+change,yCtb,depth+1,edge); /* x+1,y */ + filter_deblock_cu(encoder,xCtb+change,yCtb,depth+1,edge); /* x+1,y */ } if(!border_y || border_split_y) { - filter_deblock_CU(encoder,xCtb,yCtb+change,depth+1,edge); /* x,y+1 */ + filter_deblock_cu(encoder,xCtb,yCtb+change,depth+1,edge); /* x,y+1 */ } if((!border_x && !border_y) || (border_split_x && border_split_y) ) { - filter_deblock_CU(encoder,xCtb+change,yCtb+change,depth+1,edge); /* x+1,y+1 */ + filter_deblock_cu(encoder,xCtb+change,yCtb+change,depth+1,edge); /* x+1,y+1 */ } return; } @@ -311,7 +311,7 @@ void filter_deblock(encoder_control* encoder) { for(xCtb = 0; xCtb < encoder->in.width_in_lcu; xCtb++) { - filter_deblock_CU(encoder, xCtb<in.width_in_lcu; xCtb++) { - filter_deblock_CU(encoder, xCtb<