Searched refs:INVALID_IDX (Results 1 – 23 of 23) sorted by relevance
22 #define INVALID_IDX UINT_MAX macro39 parser_lib_indices[index] = INVALID_IDX; in img_parser_init()59 INVALID_IDX); in img_parser_init()81 assert(idx != INVALID_IDX); in img_parser_check_integrity()121 assert(idx != INVALID_IDX); in img_parser_get_auth_param()
590 int ref_map_index = INVALID_IDX; in av1_get_refresh_ref_frame_map()612 INVALID_IDX; in update_arf_stack()625 INVALID_IDX; in update_arf_stack()722 return INVALID_IDX; in get_free_ref_map_index()761 if (ref_frame_map_idx != INVALID_IDX) in av1_get_refresh_frame_flags()765 if (ref_frame_map_idx != INVALID_IDX) in av1_get_refresh_frame_flags()769 if (ref_frame_map_idx != INVALID_IDX) in av1_get_refresh_frame_flags()774 if (ref_frame_map_idx != INVALID_IDX) in av1_get_refresh_frame_flags()778 if (ref_frame_map_idx != INVALID_IDX) in av1_get_refresh_frame_flags()782 if (ref_frame_map_idx != INVALID_IDX) in av1_get_refresh_frame_flags()[all …]
1055 get_ref_frame_map_idx(cm, GOLDEN_FRAME) != INVALID_IDX) { in av1_first_pass()
1506 for (int i = 0; i < *stack_size; ++i) stack[i] = INVALID_IDX; in stack_reset()
2501 assert(ref_idx != INVALID_IDX); in write_film_grain_params()2798 if (remapped_ref_idx_decoder[ref_idx] != INVALID_IDX) { in check_frame_refs_short_signaling()3019 assert(get_ref_frame_map_idx(cm, ref_frame) != INVALID_IDX); in write_uncompressed_header_obu()
2913 if (skip_mode_info->ref_frame_idx_0 == INVALID_IDX || in rd_pick_skip_mode()2914 skip_mode_info->ref_frame_idx_1 == INVALID_IDX) { in rd_pick_skip_mode()
3916 if (new_fb_idx == INVALID_IDX) { in scale_references()
15 #define INVALID_IDX -1 // Invalid buffer index. macro
790 i = INVALID_IDX; in get_free_fb()806 if (new_fb_idx == INVALID_IDX) return NULL; in assign_cur_frame_new_fb()846 : INVALID_IDX; in get_ref_frame_map_idx()852 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; in get_ref_frame_buf()860 return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; in get_ref_scale_factors_const()866 return (map_idx != INVALID_IDX) ? &cm->ref_scale_factors[map_idx] : NULL; in get_ref_scale_factors()874 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; in get_primary_ref_frame_buf()
1252 skip_mode_info->ref_frame_idx_0 = INVALID_IDX; in av1_setup_skip_mode_allowed()1253 skip_mode_info->ref_frame_idx_1 = INVALID_IDX; in av1_setup_skip_mode_allowed()1261 int ref_idx[2] = { INVALID_IDX, INVALID_IDX }; in av1_setup_skip_mode_allowed()1290 if (ref_idx[0] != INVALID_IDX && ref_idx[1] != INVALID_IDX) { in av1_setup_skip_mode_allowed()1295 } else if (ref_idx[0] != INVALID_IDX && ref_idx[1] == INVALID_IDX) { in av1_setup_skip_mode_allowed()
14 #define INVALID_IDX (-1) // Invalid buffer index. macro
313 i = INVALID_IDX; in get_free_fb()
953 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : INVALID_IDX; in get_ref_frame_buf_idx()957 return fb_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[fb_idx] : NULL; in get_ref_cnt_buffer()964 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf in get_ref_frame_buffer()
2165 cm->new_fb_idx = INVALID_IDX; in init_ref_frame_bufs()2167 cm->ref_frame_map[i] = INVALID_IDX; in init_ref_frame_bufs()3371 cpi->scaled_ref_idx[ref_frame - 1] = INVALID_IDX;3380 if (new_fb == INVALID_IDX) {3384 if (new_fb == INVALID_IDX) return;3405 if (new_fb == INVALID_IDX) {3409 if (new_fb == INVALID_IDX) return;3430 if (buf_idx != INVALID_IDX) {3433 cpi->scaled_ref_idx[ref_frame - 1] = INVALID_IDX;3445 cpi->scaled_ref_idx[ref_frame - 1] = INVALID_IDX;[all …]
145 lc->alt_ref_idx = INVALID_IDX; in vp9_init_layer_context()146 lc->gold_ref_idx = INVALID_IDX; in vp9_init_layer_context()
661 return (scaled_idx != ref_idx && scaled_idx != INVALID_IDX) in vp9_get_scaled_ref_frame()
1247 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()
417 cm->remapped_ref_idx[ref_index] = INVALID_IDX; in update_frame_buffers()
4399 cm->remapped_ref_idx[i] = INVALID_IDX; in show_existing_frame_reset()4687 cm->remapped_ref_idx[i] = INVALID_IDX; in read_uncompressed_header()4730 if (buf_idx == INVALID_IDX) { in read_uncompressed_header()
438 if (cm->new_fb_idx == INVALID_IDX) { in vp9_receive_compressed_data()
1562 if (cm->frame_refs[i].idx != INVALID_IDX) { in setup_frame_size_with_refs()1586 (ref_frame->idx != INVALID_IDX && in setup_frame_size_with_refs()1595 if (ref_frame->idx == INVALID_IDX || in setup_frame_size_with_refs()2690 cm->frame_refs[i].idx = INVALID_IDX; in read_uncompressed_header()
208 cm->new_fb_idx = INVALID_IDX; in init_buffer_callbacks()