Searched refs:INVALID_IDX (Results 1 – 21 of 21) sorted by relevance
14 #define INVALID_IDX -1 // Invalid buffer index. macro
293 i = INVALID_IDX; in get_free_fb()
611 i = INVALID_IDX; in get_free_fb()627 if (new_fb_idx == INVALID_IDX) return NULL; in assign_cur_frame_new_fb()667 : INVALID_IDX; in get_ref_frame_map_idx()673 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; in get_ref_frame_buf()681 return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; in get_ref_scale_factors_const()687 return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; in get_ref_scale_factors()694 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; in get_primary_ref_frame_buf()
15 #define INVALID_IDX -1 // Invalid buffer index. macro
1277 skip_mode_info->ref_frame_idx_0 = INVALID_IDX; in av1_setup_skip_mode_allowed()1278 skip_mode_info->ref_frame_idx_1 = INVALID_IDX; in av1_setup_skip_mode_allowed()1286 int ref_idx[2] = { INVALID_IDX, INVALID_IDX }; in av1_setup_skip_mode_allowed()1315 if (ref_idx[0] != INVALID_IDX && ref_idx[1] != INVALID_IDX) { in av1_setup_skip_mode_allowed()1320 } else if (ref_idx[0] != INVALID_IDX && ref_idx[1] == INVALID_IDX) { in av1_setup_skip_mode_allowed()
942 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : INVALID_IDX; in get_ref_frame_buf_idx()946 return fb_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[fb_idx] : NULL; in get_ref_cnt_buffer()953 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf in get_ref_frame_buffer()
3171 cpi->scaled_ref_idx[ref_frame - 1] = INVALID_IDX;3180 if (new_fb == INVALID_IDX) {3184 if (new_fb == INVALID_IDX) return;3205 if (new_fb == INVALID_IDX) {3209 if (new_fb == INVALID_IDX) return;3230 if (buf_idx != INVALID_IDX) {3233 cpi->scaled_ref_idx[ref_frame - 1] = INVALID_IDX;3245 cpi->scaled_ref_idx[ref_frame - 1] = INVALID_IDX;3262 if (idx != INVALID_IDX) {3268 cpi->scaled_ref_idx[i - 1] = INVALID_IDX;[all …]
143 lc->alt_ref_idx = INVALID_IDX; in vp9_init_layer_context()144 lc->gold_ref_idx = INVALID_IDX; in vp9_init_layer_context()
631 return (scaled_idx != ref_idx && scaled_idx != INVALID_IDX) in vp9_get_scaled_ref_frame()
1242 assert(get_ref_frame_map_idx(cpi, ref_frame) != INVALID_IDX); in write_uncompressed_header()
1460 if (cm->current_video_frame == 0 && cpi->gld_fb_idx != INVALID_IDX) { in vp9_first_pass()
379 if (cm->new_fb_idx == INVALID_IDX) { in vp9_receive_compressed_data()
1553 if (cm->frame_refs[i].idx != INVALID_IDX) { in setup_frame_size_with_refs()1577 (ref_frame->idx != INVALID_IDX && in setup_frame_size_with_refs()1586 if (ref_frame->idx == INVALID_IDX || in setup_frame_size_with_refs()2236 cm->frame_refs[i].idx = INVALID_IDX; in read_uncompressed_header()
430 cm->remapped_ref_idx[ref_index] = INVALID_IDX; in swap_frame_buffers()
4797 cm->remapped_ref_idx[i] = INVALID_IDX; in show_existing_frame_reset()5087 cm->remapped_ref_idx[i] = INVALID_IDX; in read_uncompressed_header()5129 if (buf_idx == INVALID_IDX) { in read_uncompressed_header()
208 cm->new_fb_idx = INVALID_IDX; in init_buffer_callbacks()
1127 (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; in av1_get_ref_frame_hash_map()
837 get_ref_frame_map_idx(cm, GOLDEN_FRAME) != INVALID_IDX) { in av1_first_pass()
2472 assert(ref_idx != INVALID_IDX); in write_film_grain_params()2770 if (remapped_ref_idx_decoder[ref_idx] != INVALID_IDX) { in check_frame_refs_short_signaling()2988 assert(get_ref_frame_map_idx(cm, ref_frame) != INVALID_IDX); in write_uncompressed_header_obu()
3389 if (new_fb_idx == INVALID_IDX) { in scale_references()
10928 if (skip_mode_info->ref_frame_idx_0 == INVALID_IDX || in rd_pick_skip_mode()10929 skip_mode_info->ref_frame_idx_1 == INVALID_IDX) { in rd_pick_skip_mode()