Searched refs:NB_ITEMS (Results 1 – 1 of 1) sorted by relevance
63 #define NB_ITEMS(list) (list ## _size / sizeof(*list)) macro68 int nb_layouts = NB_ITEMS(buf->channel_layouts); in cleanup_redundant_layouts()69 int nb_counts = NB_ITEMS(buf->channel_counts); in cleanup_redundant_layouts()243 for (i = 0; i < NB_ITEMS(buf->pixel_fmts); i++)270 for (i = 0; i < NB_ITEMS(buf->sample_fmts); i++) in asink_query_formats()280 for (i = 0; i < NB_ITEMS(buf->channel_layouts); i++) in asink_query_formats()283 for (i = 0; i < NB_ITEMS(buf->channel_counts); i++) in asink_query_formats()299 for (i = 0; i < NB_ITEMS(buf->sample_rates); i++) in asink_query_formats()