Home
last modified time | relevance | path

Searched refs:NELEMENTS (Results 1 – 5 of 5) sorted by relevance

/external/libvpx/libvpx/test/
Ddecode_api_test.cc20 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro
42 vpx_codec_decode(NULL, buf, NELEMENTS(buf), NULL, 0)); in TEST()
44 vpx_codec_decode(NULL, NULL, NELEMENTS(buf), NULL, 0)); in TEST()
48 for (int i = 0; i < NELEMENTS(kCodecs); ++i) { in TEST()
54 vpx_codec_decode(&dec, buf, NELEMENTS(buf), NULL, 0)); in TEST()
56 vpx_codec_decode(&dec, NULL, NELEMENTS(buf), NULL, 0)); in TEST()
91 for (int i = 0; i < NELEMENTS(kControls); ++i) { in TestVp9Controls()
Dtest_vectors.cc15 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro
52 const int kNumVP8TestVectors = NELEMENTS(kVP8TestVectors);
199 const int kNumVP9TestVectors = NELEMENTS(kVP9TestVectors);
Dencode_perf_test.cc57 #define NELEMENTS(x) (sizeof((x)) / sizeof((x)[0])) macro
138 for (size_t i = 0; i < NELEMENTS(kVP9EncodePerfTestVectors); ++i) { in TEST_P()
139 for (size_t j = 0; j < NELEMENTS(kEncodePerfTestSpeeds); ++j) { in TEST_P()
140 for (size_t k = 0; k < NELEMENTS(kEncodePerfTestThreads); ++k) { in TEST_P()
/external/libvpx/libvpx/
Dvpxenc.c775 #define NELEMENTS(x) (sizeof(x)/sizeof(x[0])) macro
777 #define ARG_CTRL_CNT_MAX NELEMENTS(vp10_arg_ctrl_map)
779 #define ARG_CTRL_CNT_MAX NELEMENTS(vp9_arg_ctrl_map)
781 #define ARG_CTRL_CNT_MAX NELEMENTS(vp8_arg_ctrl_map)
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c44 #define NELEMENTS(x) ((int)(sizeof(x)/sizeof(x[0]))) macro