test              113 libavcodec/dct-test.c static void init_block(int16_t block[64], int test, int is_idct, AVLFG *prng, int vals)
test              119 libavcodec/dct-test.c     switch (test) {
test              173 libavcodec/dct-test.c static int dct_error(const struct algo *dct, int test, int is_idct, int speed, const int bits)
test              194 libavcodec/dct-test.c         init_block(block1, test, is_idct, &prng, vals);
test              256 libavcodec/dct-test.c     init_block(block, test, is_idct, &prng, vals);
test              456 libavcodec/dct-test.c     int test = 1;
test              485 libavcodec/dct-test.c         test = atoi(argv[optind]);
test              496 libavcodec/dct-test.c                 err |= dct_error(&idct_tab[i], test, test_idct, speed, bits);
test              500 libavcodec/dct-test.c                     err |= dct_error(&idct_tab_arch[i], test, test_idct, speed, bits);
test              505 libavcodec/dct-test.c                 err |= dct_error(&fdct_tab[i], test, test_idct, speed, bits);
test              509 libavcodec/dct-test.c                     err |= dct_error(&fdct_tab_arch[i], test, test_idct, speed, bits);
test              135 libavdevice/jack_audio.c     int test, pkt_size = self->buffer_size * self->nports * sizeof(float);
test              141 libavdevice/jack_audio.c         if ((test = av_new_packet(&pkt, pkt_size)) < 0) {
test              143 libavdevice/jack_audio.c             return test;
test              154 libavdevice/jack_audio.c     int i, test;
test              200 libavdevice/jack_audio.c     if ((test = supply_new_packets(self, context))) {
test              202 libavdevice/jack_audio.c         return test;
test              237 libavdevice/jack_audio.c     int test;
test              239 libavdevice/jack_audio.c     if ((test = start_jack(context)))
test              240 libavdevice/jack_audio.c         return test;
test              265 libavdevice/jack_audio.c     int test;
test              315 libavdevice/jack_audio.c     if ((test = supply_new_packets(self, context)))
test              316 libavdevice/jack_audio.c         return test;
test               58 libavfilter/vsrc_mptestsrc.c     enum test_type test;
test               69 libavfilter/vsrc_mptestsrc.c     { "test", "set test to perform", OFFSET(test),  AV_OPT_TYPE_INT,   {.i64=TEST_ALL}, 0, INT_MAX, FLAGS, "test" },
test               70 libavfilter/vsrc_mptestsrc.c     { "t",    "set test to perform", OFFSET(test),  AV_OPT_TYPE_INT,   {.i64=TEST_ALL}, 0, INT_MAX, FLAGS, "test" },
test              258 libavfilter/vsrc_mptestsrc.c     MPTestContext *test = ctx->priv;
test              260 libavfilter/vsrc_mptestsrc.c     test->max_pts = test->duration >= 0 ?
test              261 libavfilter/vsrc_mptestsrc.c         av_rescale_q(test->duration, AV_TIME_BASE_Q, av_inv_q(test->frame_rate)) : -1;
test              262 libavfilter/vsrc_mptestsrc.c     test->pts = 0;
test              265 libavfilter/vsrc_mptestsrc.c            test->frame_rate.num, test->frame_rate.den,
test              266 libavfilter/vsrc_mptestsrc.c            test->duration < 0 ? -1 : test->max_pts * av_q2d(av_inv_q(test->frame_rate)));
test              275 libavfilter/vsrc_mptestsrc.c     MPTestContext *test = ctx->priv;
test              278 libavfilter/vsrc_mptestsrc.c     test->hsub = pix_desc->log2_chroma_w;
test              279 libavfilter/vsrc_mptestsrc.c     test->vsub = pix_desc->log2_chroma_h;
test              283 libavfilter/vsrc_mptestsrc.c     outlink->time_base = av_inv_q(test->frame_rate);
test              300 libavfilter/vsrc_mptestsrc.c     MPTestContext *test = outlink->src->priv;
test              303 libavfilter/vsrc_mptestsrc.c         cw = FF_CEIL_RSHIFT(w, test->hsub), ch = FF_CEIL_RSHIFT(h, test->vsub);
test              305 libavfilter/vsrc_mptestsrc.c     enum test_type tt = test->test;
test              308 libavfilter/vsrc_mptestsrc.c     if (test->max_pts >= 0 && test->pts > test->max_pts)
test              313 libavfilter/vsrc_mptestsrc.c     picref->pts = test->pts++;
test              102 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              104 libavfilter/vsrc_testsrc.c     test->time_base = av_inv_q(test->frame_rate);
test              105 libavfilter/vsrc_testsrc.c     test->nb_frame = 0;
test              106 libavfilter/vsrc_testsrc.c     test->pts = 0;
test              109 libavfilter/vsrc_testsrc.c            test->w, test->h, test->frame_rate.num, test->frame_rate.den,
test              110 libavfilter/vsrc_testsrc.c            test->duration < 0 ? -1 : (double)test->duration/1000000,
test              111 libavfilter/vsrc_testsrc.c            test->sar.num, test->sar.den);
test              117 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              119 libavfilter/vsrc_testsrc.c     av_frame_free(&test->picref);
test              124 libavfilter/vsrc_testsrc.c     TestSourceContext *test = outlink->src->priv;
test              126 libavfilter/vsrc_testsrc.c     outlink->w = test->w;
test              127 libavfilter/vsrc_testsrc.c     outlink->h = test->h;
test              128 libavfilter/vsrc_testsrc.c     outlink->sample_aspect_ratio = test->sar;
test              129 libavfilter/vsrc_testsrc.c     outlink->frame_rate = test->frame_rate;
test              130 libavfilter/vsrc_testsrc.c     outlink->time_base  = test->time_base;
test              137 libavfilter/vsrc_testsrc.c     TestSourceContext *test = outlink->src->priv;
test              140 libavfilter/vsrc_testsrc.c     if (test->duration >= 0 &&
test              141 libavfilter/vsrc_testsrc.c         av_rescale_q(test->pts, test->time_base, AV_TIME_BASE_Q) >= test->duration)
test              144 libavfilter/vsrc_testsrc.c     if (test->draw_once) {
test              145 libavfilter/vsrc_testsrc.c         if (test->draw_once_reset) {
test              146 libavfilter/vsrc_testsrc.c             av_frame_free(&test->picref);
test              147 libavfilter/vsrc_testsrc.c             test->draw_once_reset = 0;
test              149 libavfilter/vsrc_testsrc.c         if (!test->picref) {
test              150 libavfilter/vsrc_testsrc.c             test->picref =
test              151 libavfilter/vsrc_testsrc.c                 ff_get_video_buffer(outlink, test->w, test->h);
test              152 libavfilter/vsrc_testsrc.c             if (!test->picref)
test              154 libavfilter/vsrc_testsrc.c             test->fill_picture_fn(outlink->src, test->picref);
test              156 libavfilter/vsrc_testsrc.c         frame = av_frame_clone(test->picref);
test              158 libavfilter/vsrc_testsrc.c         frame = ff_get_video_buffer(outlink, test->w, test->h);
test              162 libavfilter/vsrc_testsrc.c     frame->pts                 = test->pts;
test              166 libavfilter/vsrc_testsrc.c     frame->sample_aspect_ratio = test->sar;
test              167 libavfilter/vsrc_testsrc.c     if (!test->draw_once)
test              168 libavfilter/vsrc_testsrc.c         test->fill_picture_fn(outlink->src, frame);
test              170 libavfilter/vsrc_testsrc.c     test->pts++;
test              171 libavfilter/vsrc_testsrc.c     test->nb_frame++;
test              189 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              190 libavfilter/vsrc_testsrc.c     ff_fill_rectangle(&test->draw, &test->color,
test              192 libavfilter/vsrc_testsrc.c                       0, 0, test->w, test->h);
test              197 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              198 libavfilter/vsrc_testsrc.c     test->fill_picture_fn = color_fill_picture;
test              199 libavfilter/vsrc_testsrc.c     test->draw_once = 1;
test              212 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              215 libavfilter/vsrc_testsrc.c     ff_draw_init(&test->draw, inlink->format, 0);
test              216 libavfilter/vsrc_testsrc.c     ff_draw_color(&test->draw, &test->color, test->color_rgba);
test              218 libavfilter/vsrc_testsrc.c     test->w = ff_draw_round_to_sub(&test->draw, 0, -1, test->w);
test              219 libavfilter/vsrc_testsrc.c     test->h = ff_draw_round_to_sub(&test->draw, 1, -1, test->h);
test              220 libavfilter/vsrc_testsrc.c     if (av_image_check_size(test->w, test->h, 0, ctx) < 0)
test              232 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              242 libavfilter/vsrc_testsrc.c         memcpy(test->color_rgba, color_rgba, sizeof(color_rgba));
test              243 libavfilter/vsrc_testsrc.c         ff_draw_color(&test->draw, &test->color, test->color_rgba);
test              244 libavfilter/vsrc_testsrc.c         test->draw_once_reset = 1;
test              414 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              416 libavfilter/vsrc_testsrc.c     test->fill_picture_fn = nullsrc_fill_picture;
test              528 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              577 libavfilter/vsrc_testsrc.c     grad = (256 * test->nb_frame * test->time_base.num / test->time_base.den) %
test              614 libavfilter/vsrc_testsrc.c         double time = av_q2d(test->time_base) * test->nb_frame *
test              615 libavfilter/vsrc_testsrc.c                       pow(10, test->nb_decimals);
test              619 libavfilter/vsrc_testsrc.c         for (x = 0; x < test->nb_decimals; x++)
test              622 libavfilter/vsrc_testsrc.c         second = av_rescale_rnd(test->nb_frame * test->time_base.num, p10decimals, test->time_base.den, AV_ROUND_ZERO);
test              638 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              640 libavfilter/vsrc_testsrc.c     test->fill_picture_fn = test_fill_picture;
test              720 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              733 libavfilter/vsrc_testsrc.c                                ctx->outputs[0]->format, test->rgba_map);
test              740 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              742 libavfilter/vsrc_testsrc.c     test->draw_once = 1;
test              743 libavfilter/vsrc_testsrc.c     test->fill_picture_fn = rgbtest_fill_picture;
test              763 libavfilter/vsrc_testsrc.c     TestSourceContext *test = outlink->src->priv;
test              765 libavfilter/vsrc_testsrc.c     ff_fill_rgba_map(test->rgba_map, outlink->format);
test              837 libavfilter/vsrc_testsrc.c static void draw_bar(TestSourceContext *test, const uint8_t color[4],
test              845 libavfilter/vsrc_testsrc.c     x = FFMIN(x, test->w - 1);
test              846 libavfilter/vsrc_testsrc.c     y = FFMIN(y, test->h - 1);
test              847 libavfilter/vsrc_testsrc.c     w = FFMIN(w, test->w - x);
test              848 libavfilter/vsrc_testsrc.c     h = FFMIN(h, test->h - y);
test              850 libavfilter/vsrc_testsrc.c     av_assert0(x + w <= test->w);
test              851 libavfilter/vsrc_testsrc.c     av_assert0(y + h <= test->h);
test              907 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              913 libavfilter/vsrc_testsrc.c     r_w = FFALIGN((test->w + 6) / 7, 1 << pixdesc->log2_chroma_w);
test              914 libavfilter/vsrc_testsrc.c     r_h = FFALIGN(test->h * 2 / 3, 1 << pixdesc->log2_chroma_h);
test              915 libavfilter/vsrc_testsrc.c     w_h = FFALIGN(test->h * 3 / 4 - r_h,  1 << pixdesc->log2_chroma_h);
test              917 libavfilter/vsrc_testsrc.c     p_h = test->h - w_h - r_h;
test              920 libavfilter/vsrc_testsrc.c         draw_bar(test, rainbow[i], x, 0,   r_w, r_h, picref);
test              921 libavfilter/vsrc_testsrc.c         draw_bar(test, wobnair[i], x, r_h, r_w, w_h, picref);
test              925 libavfilter/vsrc_testsrc.c     draw_bar(test, i_pixel, x, r_h + w_h, p_w, p_h, picref);
test              927 libavfilter/vsrc_testsrc.c     draw_bar(test, white, x, r_h + w_h, p_w, p_h, picref);
test              929 libavfilter/vsrc_testsrc.c     draw_bar(test, q_pixel, x, r_h + w_h, p_w, p_h, picref);
test              932 libavfilter/vsrc_testsrc.c     draw_bar(test, black, x, r_h + w_h, tmp, p_h, picref);
test              935 libavfilter/vsrc_testsrc.c     draw_bar(test, neg4ire, x, r_h + w_h, tmp, p_h, picref);
test              937 libavfilter/vsrc_testsrc.c     draw_bar(test, black, x, r_h + w_h, tmp, p_h, picref);
test              939 libavfilter/vsrc_testsrc.c     draw_bar(test, pos4ire, x, r_h + w_h, tmp, p_h, picref);
test              941 libavfilter/vsrc_testsrc.c     draw_bar(test, black, x, r_h + w_h, test->w - x, p_h, picref);
test              946 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              948 libavfilter/vsrc_testsrc.c     test->fill_picture_fn = smptebars_fill_picture;
test              949 libavfilter/vsrc_testsrc.c     test->draw_once = 1;
test              974 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test              980 libavfilter/vsrc_testsrc.c     d_w = FFALIGN(test->w / 8, 1 << pixdesc->log2_chroma_w);
test              981 libavfilter/vsrc_testsrc.c     r_h = FFALIGN(test->h * 7 / 12, 1 << pixdesc->log2_chroma_h);
test              982 libavfilter/vsrc_testsrc.c     draw_bar(test, gray40, x, 0, d_w, r_h, picref);
test              985 libavfilter/vsrc_testsrc.c     r_w = FFALIGN((((test->w + 3) / 4) * 3) / 7, 1 << pixdesc->log2_chroma_w);
test              987 libavfilter/vsrc_testsrc.c         draw_bar(test, rainbow[i], x, 0, r_w, r_h, picref);
test              990 libavfilter/vsrc_testsrc.c     draw_bar(test, gray40, x, 0, test->w - x, r_h, picref);
test              992 libavfilter/vsrc_testsrc.c     r_h = FFALIGN(test->h / 12, 1 << pixdesc->log2_chroma_h);
test              993 libavfilter/vsrc_testsrc.c     draw_bar(test, cyan, 0, y, d_w, r_h, picref);
test              995 libavfilter/vsrc_testsrc.c     draw_bar(test, i_pixel, x, y, r_w, r_h, picref);
test              998 libavfilter/vsrc_testsrc.c     draw_bar(test, rainbow[0], x, y, tmp, r_h, picref);
test             1001 libavfilter/vsrc_testsrc.c     draw_bar(test, blue, x, y, test->w - x, r_h, picref);
test             1003 libavfilter/vsrc_testsrc.c     draw_bar(test, yellow, 0, y, d_w, r_h, picref);
test             1005 libavfilter/vsrc_testsrc.c     draw_bar(test, q_pixel, x, y, r_w, r_h, picref);
test             1016 libavfilter/vsrc_testsrc.c         draw_bar(test, yramp, x, y, 1 << pixdesc->log2_chroma_w, r_h, picref);
test             1019 libavfilter/vsrc_testsrc.c     draw_bar(test, red, x, y, test->w - x, r_h, picref);
test             1021 libavfilter/vsrc_testsrc.c     draw_bar(test, gray15, 0, y, d_w, test->h - y, picref);
test             1024 libavfilter/vsrc_testsrc.c     draw_bar(test, black0, x, y, tmp, test->h - y, picref);
test             1027 libavfilter/vsrc_testsrc.c     draw_bar(test, white, x, y, tmp, test->h - y, picref);
test             1030 libavfilter/vsrc_testsrc.c     draw_bar(test, black0, x, y, tmp, test->h - y, picref);
test             1033 libavfilter/vsrc_testsrc.c     draw_bar(test,   neg2, x, y, tmp, test->h - y, picref);
test             1035 libavfilter/vsrc_testsrc.c     draw_bar(test, black0, x, y, tmp, test->h - y, picref);
test             1037 libavfilter/vsrc_testsrc.c     draw_bar(test, black2, x, y, tmp, test->h - y, picref);
test             1039 libavfilter/vsrc_testsrc.c     draw_bar(test, black0, x, y, tmp, test->h - y, picref);
test             1041 libavfilter/vsrc_testsrc.c     draw_bar(test, black4, x, y, tmp, test->h - y, picref);
test             1044 libavfilter/vsrc_testsrc.c     draw_bar(test, black0, x, y, r_w, test->h - y, picref);
test             1046 libavfilter/vsrc_testsrc.c     draw_bar(test, gray15, x, y, test->w - x, test->h - y, picref);
test             1051 libavfilter/vsrc_testsrc.c     TestSourceContext *test = ctx->priv;
test             1053 libavfilter/vsrc_testsrc.c     test->fill_picture_fn = smptehdbars_fill_picture;
test             1054 libavfilter/vsrc_testsrc.c     test->draw_once = 1;
test               33 libavformat/noproxy-test.c     test(NULL, "domain.com");
test               34 libavformat/noproxy-test.c     test("example.com domain.com", "domain.com");
test               35 libavformat/noproxy-test.c     test("example.com other.com", "domain.com");
test               36 libavformat/noproxy-test.c     test("example.com,domain.com", "domain.com");
test               37 libavformat/noproxy-test.c     test("example.com,domain.com", "otherdomain.com");
test               38 libavformat/noproxy-test.c     test("example.com, *.domain.com", "sub.domain.com");
test               39 libavformat/noproxy-test.c     test("example.com, *.domain.com", "domain.com");
test               40 libavformat/noproxy-test.c     test("example.com, .domain.com", "domain.com");
test               41 libavformat/noproxy-test.c     test("*", "domain.com");
test               41 libavformat/url-test.c     test(NULL, "baz");
test               42 libavformat/url-test.c     test("/foo/bar", "baz");
test               43 libavformat/url-test.c     test("/foo/bar", "../baz");
test               44 libavformat/url-test.c     test("/foo/bar", "/baz");
test               45 libavformat/url-test.c     test("http://server/foo/", "baz");
test               46 libavformat/url-test.c     test("http://server/foo/bar", "baz");
test               47 libavformat/url-test.c     test("http://server/foo/", "../baz");
test               48 libavformat/url-test.c     test("http://server/foo/bar/123", "../../baz");
test               49 libavformat/url-test.c     test("http://server/foo/bar/123", "/baz");
test               50 libavformat/url-test.c     test("http://server/foo/bar/123", "https://other/url");
test               51 libavformat/url-test.c     test("http://server/foo/bar?param=value/with/slashes", "/baz");
test               52 libavformat/url-test.c     test("http://server/foo/bar?param&otherparam", "?someparam");
test               53 libavformat/url-test.c     test("http://server/foo/bar", "//other/url");
test              526 libavutil/blowfish.c                           const char *test)
test              531 libavutil/blowfish.c         printf("%s failed\ngot      ", test);
test              226 libavutil/hmac.c     test(hmac, key1, 16, data1, sizeof(data1));
test              227 libavutil/hmac.c     test(hmac, key2, sizeof(key2), data2, sizeof(data2));
test              228 libavutil/hmac.c     test(hmac, key3, 16, data3, sizeof(data3));
test              229 libavutil/hmac.c     test(hmac, key3, 80, data4, sizeof(data4));
test              230 libavutil/hmac.c     test(hmac, key3, 80, data5, sizeof(data5));
test              238 libavutil/hmac.c     test(hmac, key1, sizeof(key1), data1, sizeof(data1));
test              239 libavutil/hmac.c     test(hmac, key2, sizeof(key2), data2, sizeof(data2));
test              240 libavutil/hmac.c     test(hmac, key3, 20, data3, sizeof(data3));
test              241 libavutil/hmac.c     test(hmac, key3, 80, data4, sizeof(data4));
test              242 libavutil/hmac.c     test(hmac, key3, 80, data5, sizeof(data5));
test              249 libavutil/hmac.c         test(hmac, key1, sizeof(key1), data1, sizeof(data1));
test              250 libavutil/hmac.c         test(hmac, key2, sizeof(key2), data2, sizeof(data2));
test              251 libavutil/hmac.c         test(hmac, key3, 20, data3, sizeof(data3));
test              252 libavutil/hmac.c         test(hmac, key3, sizeof(key3), data4, sizeof(data4));
test              253 libavutil/hmac.c         test(hmac, key3, sizeof(key3), data6, sizeof(data6));
test               95 libavutil/pixelutils.c static int run_single_test(const char *test,
test              115 libavutil/pixelutils.c            test, 1<<n, 1<<n, out, ref);
test              119 libavutil/pixelutils.c static int run_test(const char *test,
test              134 libavutil/pixelutils.c             int r = run_single_test(test, b1, W1, b2, W2, a, i);
test              232 libavutil/xtea.c                       const char *test)
test              237 libavutil/xtea.c         printf("%s failed\ngot      ", test);
test              241 libswresample/swresample-test.c     int test;
test              268 libswresample/swresample-test.c     for(test=0; test<num_tests; test++){
test              271 libswresample/swresample-test.c         r = (seed * (uint64_t)(max_tests - test)) >>32;
test              272 libswresample/swresample-test.c         FFSWAP(int, remaining_tests[r], remaining_tests[max_tests - test - 1]);
test              276 libswresample/swresample-test.c     for(test=0; test<num_tests; test++){
test              279 libswresample/swresample-test.c         unsigned vector= remaining_tests[max_tests - test - 1];