Searched refs:INVALID_IDX (Results 1 – 11 of 11) sorted by relevance
14 #define INVALID_IDX -1 // Invalid buffer index. macro
283 i = INVALID_IDX; in get_free_fb()
795 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : INVALID_IDX; in get_ref_frame_buf_idx()802 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf in get_ref_frame_buffer()
3010 cpi->scaled_ref_idx[ref_frame - 1] = INVALID_IDX;3019 if (new_fb == INVALID_IDX) {3023 if (new_fb == INVALID_IDX) return;3044 if (new_fb == INVALID_IDX) {3048 if (new_fb == INVALID_IDX) return;3069 buf = (buf_idx != INVALID_IDX) ? &pool->frame_bufs[buf_idx] : NULL;3072 cpi->scaled_ref_idx[ref_frame - 1] = INVALID_IDX;3084 cpi->scaled_ref_idx[ref_frame - 1] = INVALID_IDX;3102 idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[idx] : NULL;3108 cpi->scaled_ref_idx[i - 1] = INVALID_IDX;[all …]
108 lc->alt_ref_idx = INVALID_IDX; in vp9_init_layer_context()109 lc->gold_ref_idx = INVALID_IDX; in vp9_init_layer_context()
576 return (scaled_idx != ref_idx && scaled_idx != INVALID_IDX) in vp9_get_scaled_ref_frame()
1231 assert(get_ref_frame_map_idx(cpi, ref_frame) != INVALID_IDX); in write_uncompressed_header()
1537 if (cm->current_video_frame == 0 && cpi->gld_fb_idx != INVALID_IDX && in vp9_first_pass()
299 if (cm->new_fb_idx == INVALID_IDX) { in vp9_receive_compressed_data()
1213 if (cm->frame_refs[i].idx != INVALID_IDX) { in setup_frame_size_with_refs()1237 (ref_frame->idx != INVALID_IDX && in setup_frame_size_with_refs()1246 if (ref_frame->idx == INVALID_IDX || in setup_frame_size_with_refs()1784 cm->frame_refs[i].idx = INVALID_IDX; in read_uncompressed_header()
205 cm->new_fb_idx = INVALID_IDX; in init_buffer_callbacks()