Home
last modified time | relevance | path

Searched refs:INVALID_IDX (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.h14 #define INVALID_IDX -1 // Invalid buffer index. macro
Dvp9_onyxc_int.h293 i = INVALID_IDX; in get_free_fb()
/external/libaom/libaom/av1/common/
Donyxc_int.h611 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()
Dalloccommon.h15 #define INVALID_IDX -1 // Invalid buffer index. macro
Dmvref_common.c1277 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()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h942 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()
Dvp9_encoder.c3171 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 …]
Dvp9_svc_layercontext.c143 lc->alt_ref_idx = INVALID_IDX; in vp9_init_layer_context()
144 lc->gold_ref_idx = INVALID_IDX; in vp9_init_layer_context()
Dvp9_rd.c631 return (scaled_idx != ref_idx && scaled_idx != INVALID_IDX) in vp9_get_scaled_ref_frame()
Dvp9_bitstream.c1242 assert(get_ref_frame_map_idx(cpi, ref_frame) != INVALID_IDX); in write_uncompressed_header()
Dvp9_firstpass.c1460 if (cm->current_video_frame == 0 && cpi->gld_fb_idx != INVALID_IDX) { in vp9_first_pass()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c379 if (cm->new_fb_idx == INVALID_IDX) { in vp9_receive_compressed_data()
Dvp9_decodeframe.c1553 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()
/external/libaom/libaom/av1/decoder/
Ddecoder.c430 cm->remapped_ref_idx[ref_index] = INVALID_IDX; in swap_frame_buffers()
Ddecodeframe.c4797 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()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c208 cm->new_fb_idx = INVALID_IDX; in init_buffer_callbacks()
/external/libaom/libaom/av1/encoder/
Dencoder.h1127 (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; in av1_get_ref_frame_hash_map()
Dfirstpass.c837 get_ref_frame_map_idx(cm, GOLDEN_FRAME) != INVALID_IDX) { in av1_first_pass()
Dbitstream.c2472 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()
Dencoder.c3389 if (new_fb_idx == INVALID_IDX) { in scale_references()
Drdopt.c10928 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()