Home
last modified time | relevance | path

Searched refs:FRAME_WINDOW_SIZE (Results 1 – 4 of 4) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dlevel.h48 #define FRAME_WINDOW_SIZE 256 macro
50 FrameRecord buf[FRAME_WINDOW_SIZE];
Dlevel.c435 if (buffer->num < FRAME_WINDOW_SIZE) { in store_frame_record()
438 buffer->start = (buffer->start + 1) % FRAME_WINDOW_SIZE; in store_frame_record()
440 const int new_idx = (buffer->start + buffer->num - 1) % FRAME_WINDOW_SIZE; in store_frame_record()
457 const int current_idx = (buffer->start + buffer->num - 1) % FRAME_WINDOW_SIZE; in count_frames()
466 if (index < 0) index = FRAME_WINDOW_SIZE - 1; in count_frames()
481 int index = (buffer->start + num_frames_in_buffer - 1) % FRAME_WINDOW_SIZE; in scan_past_frames()
497 if (index < 0) index = FRAME_WINDOW_SIZE - 1; in scan_past_frames()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h452 #define FRAME_WINDOW_SIZE 128 macro
498 FrameRecord buf[FRAME_WINDOW_SIZE];
Dvp9_encoder.c5236 if (level_stats->frame_window_buffer.len < FRAME_WINDOW_SIZE - 1) {
5239 FRAME_WINDOW_SIZE;
5242 level_stats->frame_window_buffer.start = (idx + 1) % FRAME_WINDOW_SIZE;
5277 FRAME_WINDOW_SIZE;
5297 FRAME_WINDOW_SIZE;
5395 FRAME_WINDOW_SIZE;