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/
Dtest_vectors.cc16 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro
260 const int kNumAV1TestVectors = NELEMENTS(kAV1TestVectors);
Dav1_inv_txfm1d_test.cc74 ASSERT_EQ(NELEMENTS(max_error), TX_SIZES); in TEST()
75 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()
Dav1_inv_txfm2d_test.cc90 ASSERT_LE(txfm2d_size, NELEMENTS(input)); in RunRoundtripCheck()
102 ASSERT_LE(txfm2d_size, NELEMENTS(expected)); in RunRoundtripCheck()
106 ASSERT_LE(txfm2d_size, NELEMENTS(ref_input)); in RunRoundtripCheck()
111 ASSERT_LE(txfm2d_size, NELEMENTS(ref_coeffs)); in RunRoundtripCheck()
116 ASSERT_LE(txfm2d_size, NELEMENTS(ref_coeffs_int)); in RunRoundtripCheck()
129 ASSERT_LE(txfm2d_size, NELEMENTS(coeffs)); in RunRoundtripCheck()
133 ASSERT_LE(txfm2d_size, NELEMENTS(actual)); in RunRoundtripCheck()
Dcoding_path_sync.cc23 #define NELEMENTS(x) static_cast<int>(sizeof(x) / sizeof(x[0])) macro
62 format_ = fmts[rnd_.PseudoUniform(NELEMENTS(fmts))]; in CompressedSource()
/external/libavc/fuzzer/
Davc_dec_fuzzer.cpp35 #define NELEMENTS(x) (sizeof(x) / sizeof(x[0])) macro
57 const static int kSupportedColorFormats = NELEMENTS(supportedColorFormats);
58 const static int kSupportedArchitectures = NELEMENTS(supportedArchitectures);
/external/libhevc/fuzzer/
Dhevc_dec_fuzzer.cpp35 #define NELEMENTS(x) (sizeof(x) / sizeof(x[0])) macro
57 const static int kSupportedColorFormats = NELEMENTS(supportedColorFormats);
58 const static int kSupportedArchitectures = NELEMENTS(supportedArchitectures);
/external/libmpeg2/fuzzer/
Dmpeg2_dec_fuzzer.cpp37 #define NELEMENTS(x) (sizeof(x) / sizeof(x[0])) macro
58 const static int kSupportedColorFormats = NELEMENTS(supportedColorFormats);
59 const static int kSupportedArchitectures = NELEMENTS(supportedArchitectures);
/external/libaom/libaom/aom_dsp/
Daom_dsp_common.h32 #define NELEMENTS(x) (int)(sizeof(x) / sizeof(x[0])) macro
/external/libaom/libaom/av1/common/
Dblockd.h105 assert(NELEMENTS(lut) == MB_MODE_COUNT); in compound_ref0_mode()
138 assert(NELEMENTS(lut) == MB_MODE_COUNT); in compound_ref1_mode()
325 assert(NELEMENTS(lut) == TOTAL_UNIDIR_COMP_REFS); in comp_ref0()
341 assert(NELEMENTS(lut) == TOTAL_UNIDIR_COMP_REFS); in comp_ref1()
Dav1_loopfilter.c104 assert(MB_MODE_COUNT == NELEMENTS(mode_lf_lut)); in av1_loop_filter_init()
Dreconintra.c464 assert(NELEMENTS(mode_to_angle_map) == INTRA_MODES); in init_intra_predictors_internal()
/external/libvpx/libvpx/
Dvpxenc.c583 #define NELEMENTS(x) (sizeof(x) / sizeof(x[0])) macro
585 #define ARG_CTRL_CNT_MAX NELEMENTS(vp9_arg_ctrl_map)
587 #define ARG_CTRL_CNT_MAX NELEMENTS(vp8_arg_ctrl_map)
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c41 #define NELEMENTS(x) ((int)(sizeof(x) / sizeof((x)[0]))) macro
/external/libaom/libaom/apps/
Daomenc.c1072 #define ARG_CTRL_CNT_MAX NELEMENTS(av1_arg_ctrl_map)