Searched refs:HIST_SIZE (Results 1 – 7 of 7) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | vf_thumbnail_cuda.c | 34 #define HIST_SIZE (3*256) macro 50 int histogram[HIST_SIZE]; ///< RGB color distribution histogram of the frame 110 for (i = 0; i < HIST_SIZE; i++) { in frame_sum_square_err() 123 double avg_hist[HIST_SIZE] = {0}, sq_err, min_sq_err = -1; in get_best_frame() 266 CHECK_CU(cu->cuMemsetD8Async(s->data, 0, HIST_SIZE * sizeof(int), s->cu_stream)); in filter_frame() 274 cpy.srcPitch = HIST_SIZE * sizeof(int); in filter_frame() 275 cpy.dstPitch = HIST_SIZE * sizeof(int); in filter_frame() 276 cpy.WidthInBytes = HIST_SIZE * sizeof(int); in filter_frame() 287 for (i = 256; i < HIST_SIZE; i++) in filter_frame() 390 ret = CHECK_CU(cu->cuMemAlloc(&s->data, HIST_SIZE * sizeof(int))); in config_props()
|
D | vf_idet.h | 25 #define HIST_SIZE 4 macro 59 uint8_t history[HIST_SIZE];
|
D | vf_thumbnail.c | 34 #define HIST_SIZE (3*256) macro 38 int histogram[HIST_SIZE]; ///< RGB color distribution histogram of the frame 84 for (i = 0; i < HIST_SIZE; i++) { in frame_sum_square_err() 97 double avg_hist[HIST_SIZE] = {0}, sq_err, min_sq_err = -1; in get_best_frame()
|
D | vf_palettegen.c | 62 #define HIST_SIZE (1<<(3*NBITS)) macro 72 struct hist_node histogram[HIST_SIZE]; // histogram/hashtable of the colors 273 for (j = 0; j < HIST_SIZE; j++) { in load_color_refs() 500 for (i = 0; i < HIST_SIZE; i++) in filter_frame() 548 for (i = 0; i < HIST_SIZE; i++) in uninit()
|
D | f_ebur128.c | 65 #define HIST_SIZE ((ABS_UP_THRES - ABS_THRES) * HIST_GRAIN + 1) macro 484 struct hist_entry *h = av_calloc(HIST_SIZE, sizeof(*h)); in get_histogram() 488 for (i = 0; i < HIST_SIZE; i++) { in get_histogram() 573 ipower = av_clip(HIST_POS(loudness), 0, HIST_SIZE - 1); in gate_update() 583 gate_hist_pos = av_clip(HIST_POS(integ->rel_threshold), 0, HIST_SIZE - 1); in gate_update() 709 for (i = gate_hist_pos; i < HIST_SIZE; i++) { in filter_frame() 735 for (i = gate_hist_pos; i < HIST_SIZE; i++) in filter_frame() 743 for (i = gate_hist_pos; i < HIST_SIZE; i++) { in filter_frame() 754 for (i = HIST_SIZE - 1; i >= 0; i--) { in filter_frame()
|
D | vf_idet.c | 164 memmove(idet->history+1, idet->history, HIST_SIZE-1); in filter() 167 for(i=0; i<HIST_SIZE; i++){ in filter() 411 memset(idet->history, UNDETERMINED, HIST_SIZE); in init()
|
/third_party/uboot/u-boot-2020.01/common/ |
D | cli_readline.c | 74 #define HIST_SIZE CONFIG_SYS_CBSIZE macro 82 static char hist_lines[HIST_MAX][HIST_SIZE + 1]; /* Save room for NULL */
|