Searched refs:NELEMENTS (Results 1 – 5 of 5) sorted by relevance
/external/libvpx/libvpx/test/ |
D | decode_api_test.cc | 19 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro 38 vpx_codec_decode(NULL, buf, NELEMENTS(buf), NULL, 0)); in TEST() 40 vpx_codec_decode(NULL, NULL, NELEMENTS(buf), NULL, 0)); in TEST() 44 for (int i = 0; i < NELEMENTS(kCodecs); ++i) { in TEST() 50 vpx_codec_decode(&dec, buf, NELEMENTS(buf), NULL, 0)); in TEST() 52 vpx_codec_decode(&dec, NULL, NELEMENTS(buf), NULL, 0)); in TEST() 71 for (int i = 0; i < NELEMENTS(kControls); ++i) { in TestVp9Controls()
|
D | test_vectors.cc | 15 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro 52 const int kNumVP8TestVectors = NELEMENTS(kVP8TestVectors); 186 const int kNumVP9TestVectors = NELEMENTS(kVP9TestVectors);
|
D | encode_perf_test.cc | 55 #define NELEMENTS(x) (sizeof((x)) / sizeof((x)[0])) macro 124 for (size_t i = 0; i < NELEMENTS(kVP9EncodePerfTestVectors); ++i) { in TEST_P() 125 for (size_t j = 0; j < NELEMENTS(kEncodePerfTestSpeeds); ++j) { in TEST_P()
|
/external/libvpx/libvpx/ |
D | vpxenc.c | 572 #define NELEMENTS(x) (sizeof(x)/sizeof(x[0])) macro 575 #define ARG_CTRL_CNT_MAX NELEMENTS(vp8_arg_ctrl_map) 577 #define ARG_CTRL_CNT_MAX NELEMENTS(vp9_arg_ctrl_map) 579 #define ARG_CTRL_CNT_MAX MAX(NELEMENTS(vp8_arg_ctrl_map), \ 580 NELEMENTS(vp9_arg_ctrl_map))
|
/external/libvpx/libvpx/vp8/ |
D | vp8_dx_iface.c | 41 #define NELEMENTS(x) ((int)(sizeof(x)/sizeof(x[0]))) macro
|