Home
last modified time | relevance | path

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

/external/libvpx/libvpx/test/
Dtest_vectors.cc15 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro
51 const int kNumVP8TestVectors = NELEMENTS(kVP8TestVectors);
378 const int kNumVP9TestVectors = NELEMENTS(kVP9TestVectors);
379 const int kNumVP9TestVectorsSvc = NELEMENTS(kVP9TestVectorsSvc);
381 const int kNumVP9TestVectorsResize = NELEMENTS(kVP9TestVectorsResize);
Ddecode_api_test.cc20 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro
39 vpx_codec_decode(NULL, buf, NELEMENTS(buf), NULL, 0)); in TEST()
41 vpx_codec_decode(NULL, NULL, NELEMENTS(buf), NULL, 0)); in TEST()
45 for (int i = 0; i < NELEMENTS(kCodecs); ++i) { in TEST()
51 vpx_codec_decode(&dec, buf, NELEMENTS(buf), NULL, 0)); in TEST()
53 vpx_codec_decode(&dec, NULL, NELEMENTS(buf), NULL, 0)); in TEST()
84 for (int i = 0; i < NELEMENTS(kControls); ++i) { in TestVp9Controls()
Dencode_perf_test.cc54 #define NELEMENTS(x) (sizeof((x)) / sizeof((x)[0])) macro
125 for (size_t i = 0; i < NELEMENTS(kVP9EncodePerfTestVectors); ++i) { in TEST_P()
126 for (size_t j = 0; j < NELEMENTS(kEncodePerfTestSpeeds); ++j) { in TEST_P()
127 for (size_t k = 0; k < NELEMENTS(kEncodePerfTestThreads); ++k) { in TEST_P()
Dencode_api_test.cc19 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro
48 for (int i = 0; i < NELEMENTS(kCodecs); ++i) { in TEST()
129 for (int c = 0; c < NELEMENTS(kCodecs); ++c) { in TEST()
/external/libaom/libaom/test/
Ddecode_api_test.cc36 aom_codec_decode(NULL, buf, NELEMENTS(buf), NULL)); in TEST()
38 aom_codec_decode(NULL, NULL, NELEMENTS(buf), NULL)); in TEST()
42 for (int i = 0; i < NELEMENTS(kCodecs); ++i) { in TEST()
48 aom_codec_decode(&dec, NULL, NELEMENTS(buf), NULL)); in TEST()
Dav1_inv_txfm2d_test.cc67 ASSERT_LE(txfm2d_size, NELEMENTS(input)); in RunRoundtripCheck()
79 ASSERT_LE(txfm2d_size, NELEMENTS(expected)); in RunRoundtripCheck()
83 ASSERT_LE(txfm2d_size, NELEMENTS(ref_input)); in RunRoundtripCheck()
88 ASSERT_LE(txfm2d_size, NELEMENTS(ref_coeffs)); in RunRoundtripCheck()
93 ASSERT_LE(txfm2d_size, NELEMENTS(ref_coeffs_int)); in RunRoundtripCheck()
106 ASSERT_LE(txfm2d_size, NELEMENTS(coeffs)); in RunRoundtripCheck()
110 ASSERT_LE(txfm2d_size, NELEMENTS(actual)); in RunRoundtripCheck()
Dav1_inv_txfm1d_test.cc76 ASSERT_EQ(NELEMENTS(max_error), TX_SIZES); in TEST()
77 ASSERT_EQ(NELEMENTS(inv_txfm_func_ls), TX_SIZES); in TEST()
121 for (int si = 0; si < NELEMENTS(fwd_txfm_func_ls); ++si) { in TEST()
137 ASSERT_LE(txfm_size, NELEMENTS(input)); in TEST()
Dtest_vectors.cc16 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro
256 const int kNumAV1TestVectors = NELEMENTS(kAV1TestVectors);
Dencode_perf_test.cc126 for (size_t i = 0; i < NELEMENTS(kAV1EncodePerfTestVectors); ++i) { in TEST_P()
127 for (size_t j = 0; j < NELEMENTS(kEncodePerfTestSpeeds); ++j) { in TEST_P()
128 for (size_t k = 0; k < NELEMENTS(kEncodePerfTestThreads); ++k) { in TEST_P()
Dencode_api_test.cc46 for (int i = 0; i < NELEMENTS(kCodecs); ++i) { in TEST()
Dcoding_path_sync.cc61 format_ = fmts[rnd_.PseudoUniform(NELEMENTS(fmts))]; in CompressedSource()
/external/libaom/libaom/aom/
Daom_integer.h75 #define NELEMENTS(x) (int)(sizeof(x) / sizeof(x[0])) macro
/external/libaom/libaom/av1/common/
Dblockd.h103 assert(NELEMENTS(lut) == MB_MODE_COUNT); in compound_ref0_mode()
136 assert(NELEMENTS(lut) == MB_MODE_COUNT); in compound_ref1_mode()
326 assert(NELEMENTS(lut) == TOTAL_UNIDIR_COMP_REFS); in comp_ref0()
342 assert(NELEMENTS(lut) == TOTAL_UNIDIR_COMP_REFS); in comp_ref1()
Dreconintra.c463 assert(NELEMENTS(mode_to_angle_map) == INTRA_MODES); in init_intra_predictors_internal()
Dav1_loopfilter.c497 assert(MB_MODE_COUNT == NELEMENTS(mode_lf_lut)); in av1_loop_filter_init()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c41 #define NELEMENTS(x) ((int)(sizeof(x) / sizeof(x[0]))) macro
/external/libvpx/libvpx/
Dvpxenc.c838 #define NELEMENTS(x) (sizeof(x) / sizeof(x[0])) macro
840 #define ARG_CTRL_CNT_MAX NELEMENTS(vp9_arg_ctrl_map)
842 #define ARG_CTRL_CNT_MAX NELEMENTS(vp8_arg_ctrl_map)
/external/libaom/libaom/apps/
Daomenc.c1018 #define ARG_CTRL_CNT_MAX NELEMENTS(av1_arg_ctrl_map)