Searched refs:NELEMENTS (Results 1 – 3 of 3) sorted by relevance
15 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro52 const int kNumVP8TestVectors = NELEMENTS(kVP8TestVectors);169 const int kNumVP9TestVectors = NELEMENTS(kVP9TestVectors);
40 #define NELEMENTS(x) ((int)(sizeof(x)/sizeof(x[0]))) macro53 vpx_codec_mmap_t mmaps[NELEMENTS(vp8_mem_req_segs)-1];97 for (i = 0; i < NELEMENTS(ctx->priv->alg_priv->mmaps); i++) in vp8_init_ctx()184 for (i = NELEMENTS(ctx->mmaps) - 1; i >= 0; i--) in vp8_destroy()399 for (i = 1; !res && i < NELEMENTS(ctx->mmaps); i++) in vp8_decode()427 vp8_mem_req_segs, NELEMENTS(vp8_mem_req_segs), in vp8_decode()684 for (i = 0; i < NELEMENTS(ctx->priv->alg_priv->mmaps); i++) in vp8_xma_set_mmap()
591 #define NELEMENTS(x) (sizeof(x)/sizeof(x[0])) macro594 #define ARG_CTRL_CNT_MAX NELEMENTS(vp8_arg_ctrl_map)596 #define ARG_CTRL_CNT_MAX NELEMENTS(vp9_arg_ctrl_map)598 #define ARG_CTRL_CNT_MAX MAX(NELEMENTS(vp8_arg_ctrl_map), \599 NELEMENTS(vp9_arg_ctrl_map))