Commit f8fafc17 authored by malenov's avatar malenov
Browse files

add max_num_indices as a parameter to ind_list_realloc()

parent 064d3e8b
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -528,14 +528,7 @@ int16_t get_max_num_indices_metadata( /* o : maximum number of indices */

ivas_error ind_list_realloc(
    BSTR_ENC_HANDLE hBstr,         /* i/o: encoder bitstream handle  */
    const IVAS_FORMAT ivas_format, /* i  : IVAS format               */
    const int32_t total_brate      /* i  : total bitrate             */
);

ivas_error ind_list_metadata_realloc(
    BSTR_ENC_HANDLE hMetaData,     /* i/o: encoder bitstream handle  */
    const IVAS_FORMAT ivas_format, /* i  : IVAS format               */
    const int32_t ivas_total_brate /* i  : IVAS total bitrate        */
    int16_t max_num_indices        /* i  : new maximum number of allowed indices in the list */
);

int16_t find_indice(       /* o  : index of the indice in the list, -1 if not found */