mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 10:34:05 +00:00
Fix search_cu log
This commit is contained in:
parent
8502f3d850
commit
6a937de9b2
|
@ -191,8 +191,8 @@ typedef int16_t coefficient;
|
|||
#define _DEBUG_PERF_ENCODE_LCU 0x0004
|
||||
#define _DEBUG_PERF_SAO_RECONSTRUCT_FRAME 0x0008
|
||||
#define _DEBUG_PERF_WRITE_BITSTREAM_LEAF 0x0010
|
||||
#define _DEBUG_PERF_SEARCH_PIXELS 0x0020
|
||||
#define _DEBUG_PERF_SEARCH_CU 0x0040
|
||||
#define _DEBUG_PERF_SEARCH_CU 0x0020
|
||||
#define _DEBUG_PERF_SEARCH_PIXELS 0x0040
|
||||
|
||||
//Constants
|
||||
typedef enum { COLOR_Y = 0, COLOR_U, COLOR_V, NUM_COLORS } color_index;
|
||||
|
|
|
@ -1258,7 +1258,12 @@ static int search_cu(encoder_state * const encoder_state, int x, int y, int dept
|
|||
}
|
||||
}
|
||||
|
||||
PERFORMANCE_MEASURE_END(_DEBUG_PERF_SEARCH_CU, encoder_state->encoder_control->threadqueue, "type=search_cu,frame=%d,tile=%d,slice=%d,x=%d,y=%d,depth=%d,split=%d,cur_cu_is_intra=%d", encoder_state->global->frame, encoder_state->tile->id, encoder_state->slice->id, x, y, depth, debug_split, (cur_cu->type==CU_INTRA)?1:0);
|
||||
PERFORMANCE_MEASURE_END(_DEBUG_PERF_SEARCH_CU, encoder_state->encoder_control->threadqueue, "type=search_cu,frame=%d,tile=%d,slice=%d,px_x=%d-%d,px_y=%d-%d,depth=%d,split=%d,cur_cu_is_intra=%d", encoder_state->global->frame, encoder_state->tile->id, encoder_state->slice->id,
|
||||
(encoder_state->tile->lcu_offset_x * LCU_WIDTH) + x,
|
||||
(encoder_state->tile->lcu_offset_x * LCU_WIDTH) + x + (LCU_WIDTH >> depth),
|
||||
(encoder_state->tile->lcu_offset_y * LCU_WIDTH) + y,
|
||||
(encoder_state->tile->lcu_offset_y * LCU_WIDTH) + y + (LCU_WIDTH >> depth),
|
||||
depth, debug_split, (cur_cu->type==CU_INTRA)?1:0);
|
||||
|
||||
return cost;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue