Home
last modified time | relevance | path

Searched refs:loop_count (Results 1 - 25 of 48) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
H A Dpeeling.cpp129 Instruction* loop_count = nullptr; in TEST_F()
131 loop_count = context->get_def_use_mgr()->GetDef(loop_count_id); in TEST_F()
135 loop_count = builder.GetSintConstant(10); in TEST_F()
138 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
767 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
768 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
770 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
819 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
820 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
822 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
1092 Instruction* loop_count = context->get_def_use_mgr()->GetDef(15); TEST_F() local
1144 Instruction* loop_count = context->get_def_use_mgr()->GetDef(15); TEST_F() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
H A Dpeeling.cpp129 Instruction* loop_count = nullptr; in TEST_F()
131 loop_count = context->get_def_use_mgr()->GetDef(loop_count_id); in TEST_F()
135 loop_count = builder.GetSintConstant(10); in TEST_F()
138 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
767 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
768 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
770 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
819 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
820 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
822 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
1092 Instruction* loop_count = context->get_def_use_mgr()->GetDef(15); TEST_F() local
1144 Instruction* loop_count = context->get_def_use_mgr()->GetDef(15); TEST_F() local
[all...]
/third_party/spirv-tools/test/opt/loop_optimizations/
H A Dpeeling.cpp128 Instruction* loop_count = nullptr; in TEST_F()
130 loop_count = context->get_def_use_mgr()->GetDef(loop_count_id); in TEST_F()
134 loop_count = builder.GetSintConstant(10); in TEST_F()
137 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
766 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
767 EXPECT_EQ(loop_count->opcode(), spv::Op::OpLoad); in TEST_F()
769 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
818 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
819 EXPECT_EQ(loop_count->opcode(), spv::Op::OpLoad); in TEST_F()
821 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
1091 Instruction* loop_count = context->get_def_use_mgr()->GetDef(15); TEST_F() local
1143 Instruction* loop_count = context->get_def_use_mgr()->GetDef(15); TEST_F() local
[all...]
/third_party/skia/third_party/externals/libwebp/examples/
H A Dimg2webp.c91 static int SetLoopCount(int loop_count, WebPData* const webp_data) { in SetLoopCount() argument
106 new_params.loop_count = loop_count; in SetLoopCount()
133 int loop_count = 0; in main() local
176 loop_count = ExUtilGetInt(argv[++c], 0, &parse_error); in main()
177 if (loop_count < 0) { in main()
178 fprintf(stderr, "Invalid non-positive loop-count (%d)\n", loop_count); in main()
304 if (ok && loop_count > 0) { // Re-mux to add loop count. in main()
305 ok = SetLoopCount(loop_count, &webp_data); in main()
H A Dgif2webp.c129 int loop_count = 0; // default: infinite in main() local
406 if (!GIFReadLoopCount(gif, &data, &loop_count)) { in main()
410 fprintf(stderr, "Loop count: %d\n", loop_count); in main()
412 stored_loop_count = loop_compatibility ? (loop_count != 0) : 1; in main()
470 loop_count = 0; in main()
478 loop_count = 1; in main()
480 } else if (loop_count > 0 && loop_count < 65535) { in main()
482 loop_count += 1; in main()
485 // loop_count o in main()
[all...]
H A Danim_diff.c151 if ((img1->format == ANIM_GIF && img1->loop_count == 65536 && in CompareAnimatedImagePair()
152 img2->format == ANIM_WEBP && img2->loop_count == 65535) || in CompareAnimatedImagePair()
153 (img1->format == ANIM_WEBP && img1->loop_count == 65535 && in CompareAnimatedImagePair()
154 img2->format == ANIM_GIF && img2->loop_count == 65536)) { in CompareAnimatedImagePair()
158 CompareValues(img1->loop_count, img2->loop_count, in CompareAnimatedImagePair()
H A Dvwebp.c63 int loop_count; member
199 --kParams.loop_count; in decode_callback()
200 kParams.done = (kParams.loop_count == 0); in decode_callback()
248 if (kParams.done && kParams.loop_count == 0) { in HandleKey()
249 kParams.loop_count = in HandleKey()
593 kParams.loop_count = (int)WebPDemuxGetI(kParams.dmux, WEBP_FF_LOOP_COUNT); in main()
596 curr->num_frames, kParams.loop_count); in main()
602 // We take this into account by bumping up loop_count. in main()
604 if (kParams.loop_count) ++kParams.loop_count; in main()
[all...]
H A Dwebpmux.c218 params.bgcolor, params.loop_count); in DisplayInfo()
968 const int loop_count = in Process() local
970 if (loop_count < 0 || loop_count > 65535) { in Process()
971 // Note: This is only a 'necessary' condition for loop_count in Process()
979 params.loop_count = loop_count; in Process()
1034 const int loop_count = in Process() local
1036 if (loop_count < 0 || loop_count > 6553 in Process()
[all...]
H A Dgifdec.c176 int* const loop_count) { in GIFReadLoopCount()
188 *loop_count = (*buf)[2] | ((*buf)[3] << 8); in GIFReadLoopCount()
358 int* const loop_count) { in GIFReadLoopCount()
361 (void)loop_count; in GIFReadLoopCount()
175 GIFReadLoopCount(GifFileType* const gif, GifByteType** const buf, int* const loop_count) GIFReadLoopCount() argument
357 GIFReadLoopCount(struct GifFileType* const gif, GifByteType** const buf, int* const loop_count) GIFReadLoopCount() argument
H A Danim_util.h41 uint32_t loop_count; member
H A Dgifdec.h83 int* const loop_count);
/third_party/ltp/testcases/kernel/sched/sched_stress/
H A Dsched_tc6.c317 int loop_count; in read_file() local
329 for (loop_count = 1; loop_count <= TIMES; loop_count++) { in read_file()
/third_party/libuv/test/
H A Dtest-metrics.c149 ASSERT_UINT64_EQ(cntr, metrics.loop_count); in TEST_IMPL()
160 ASSERT_UINT64_EQ(3, metrics.loop_count); in close_cb()
172 ASSERT_UINT64_EQ(2, metrics.loop_count); in write_cb()
191 ASSERT_UINT64_EQ(1, metrics.loop_count); in create_cb()
214 ASSERT_UINT64_EQ(0, metrics.loop_count); in prepare_cb()
H A Dbenchmark-loop-count.c66 BENCHMARK_IMPL(loop_count) { in BENCHMARK_IMPL()
79 fprintf(stderr, "loop_count: %d ticks in %.2fs (%.0f/s)\n", in BENCHMARK_IMPL()
101 fprintf(stderr, "loop_count: %lu ticks (%.0f ticks/s)\n", ticks, ticks / 5.0); in BENCHMARK_IMPL()
/third_party/ffmpeg/libavfilter/
H A Dsrc_movie.c69 int loop_count; member
95 { "loop", "set loop count", OFFSET(loop_count), AV_OPT_TYPE_INT, {.i64 = 1}, 0, INT_MAX, FLAGS },
241 if (movie->loop_count != 1 && nb_streams != 1) { in movie_common_init()
449 movie->loop_count = 1; /* do not try again */ in rewind_file()
587 if (movie->loop_count != 1) { in movie_request_frame()
591 movie->loop_count -= movie->loop_count > 1; in movie_request_frame()
/third_party/libsnd/src/
H A Dwav.c1226 psf_binheader_writef (psf, "m4", BHWm (smpl_MARKER), BHW4 (9 * 4 + psf->instrument->loop_count * 6 * 4)) ; in wav_write_header()
1233 psf_binheader_writef (psf, "44", BHW4 (psf->instrument->loop_count), BHW4 (0)) ; in wav_write_header()
1236 if (psf->instrument->loop_count > ARRAY_LEN (psf->instrument->loops)) in wav_write_header()
1237 psf->instrument->loop_count = ARRAY_LEN (psf->instrument->loops) ; in wav_write_header()
1239 for (tmp = 0 ; tmp < psf->instrument->loop_count ; tmp++) in wav_write_header()
1378 uint32_t thisread, bytesread = 0, dword, sampler_data, loop_count, actually_loop_count = 0 ; in wav_read_smpl_chunk() local
1414 bytesread += psf_binheader_readf (psf, "4", &loop_count) ; in wav_read_smpl_chunk()
1415 psf_log_printf (psf, " Loop Count : %u\n", loop_count) ; in wav_read_smpl_chunk()
1417 if (loop_count == 0 && chunklen == bytesread) in wav_read_smpl_chunk()
1433 psf->instrument->loop_count in wav_read_smpl_chunk()
[all...]
H A Daiff.c750 { psf->instrument->loop_count = 0 ; in aiff_read_header()
754 { psf->instrument->loop_count = 1 ; in aiff_read_header()
768 { psf->instrument->loop_count += 1 ; in aiff_read_header()
929 for (ji = 0 ; ji < psf->instrument->loop_count ; ji ++) in aiff_read_header()
938 if (psf->cues->cue_count > (uint32_t) (psf->instrument->loop_count * 2)) in aiff_read_header()
941 for (j = 0 ; j < psf->cues->cue_count - (uint32_t) (psf->instrument->loop_count * 2) ; j ++) in aiff_read_header()
943 psf->cues->cue_points [j].indx = psf->cues->cue_points [j + psf->instrument->loop_count * 2].indx ; in aiff_read_header()
944 psf->cues->cue_points [j].position = psf->cues->cue_points [j + psf->instrument->loop_count * 2].position ; in aiff_read_header()
945 psf->cues->cue_points [j].fcc_chunk = psf->cues->cue_points [j + psf->instrument->loop_count * 2].fcc_chunk ; in aiff_read_header()
946 psf->cues->cue_points [j].chunk_start = psf->cues->cue_points [j + psf->instrument->loop_count * in aiff_read_header()
[all...]
/third_party/mesa3d/src/intel/common/tests/
H A Dmi_builder_test.cpp1088 const uint64_t loop_count = 8;
1093 mi_break_if(&b, mi_uge(&b, out_mem64(0), mi_imm(loop_count)));
1100 EXPECT_EQ(*(uint64_t *)(output + 0), loop_count);
1124 const uint64_t loop_count = 8;
1130 mi_break_if(&b, mi_uge(&b, out_mem64(0), mi_imm(loop_count)));
1142 EXPECT_EQ(*(uint64_t *)(output + 0), loop_count);
1148 const uint64_t loop_count = 8;
1154 mi_break_if(&b, mi_uge(&b, out_mem64(0), mi_imm(loop_count)));
1182 EXPECT_EQ(*(uint64_t *)(output + 0), loop_count);
/third_party/ffmpeg/libavcodec/mips/
H A Dqpeldsp_msa.c314 uint8_t loop_count; in horiz_mc_qpel_aver_src0_8width_msa() local
325 for (loop_count = (height >> 2); loop_count--;) { in horiz_mc_qpel_aver_src0_8width_msa()
348 uint8_t loop_count; in horiz_mc_qpel_aver_src0_16width_msa() local
356 for (loop_count = (height >> 2); loop_count--;) { in horiz_mc_qpel_aver_src0_16width_msa()
392 uint8_t loop_count; in horiz_mc_qpel_8width_msa() local
403 for (loop_count = (height >> 2); loop_count--;) { in horiz_mc_qpel_8width_msa()
423 uint8_t loop_count; in horiz_mc_qpel_16width_msa() local
463 uint8_t loop_count; horiz_mc_qpel_aver_src1_8width_msa() local
499 uint8_t loop_count; horiz_mc_qpel_aver_src1_16width_msa() local
543 uint8_t loop_count; horiz_mc_qpel_no_rnd_aver_src0_8width_msa() local
578 uint8_t loop_count; horiz_mc_qpel_no_rnd_aver_src0_16width_msa() local
622 uint8_t loop_count; horiz_mc_qpel_no_rnd_8width_msa() local
653 uint8_t loop_count; horiz_mc_qpel_no_rnd_16width_msa() local
693 uint8_t loop_count; horiz_mc_qpel_no_rnd_aver_src1_8width_msa() local
730 uint8_t loop_count; horiz_mc_qpel_no_rnd_aver_src1_16width_msa() local
774 uint8_t loop_count; horiz_mc_qpel_avg_dst_aver_src0_8width_msa() local
813 uint8_t loop_count; horiz_mc_qpel_avg_dst_aver_src0_16width_msa() local
854 uint8_t loop_count; horiz_mc_qpel_avg_dst_8width_msa() local
890 uint8_t loop_count; horiz_mc_qpel_avg_dst_16width_msa() local
929 uint8_t loop_count; horiz_mc_qpel_avg_dst_aver_src1_8width_msa() local
970 uint8_t loop_count; horiz_mc_qpel_avg_dst_aver_src1_16width_msa() local
2721 uint8_t loop_count; hv_mc_qpel_no_rnd_horiz_src0_16x16_msa() local
2876 uint8_t loop_count; hv_mc_qpel_no_rnd_horiz_16x16_msa() local
3020 uint8_t loop_count; hv_mc_qpel_no_rnd_horiz_src1_16x16_msa() local
3778 uint8_t loop_count; hv_mc_qpel_aver_horiz_src0_16x16_msa() local
3923 uint8_t loop_count; hv_mc_qpel_aver_horiz_16x16_msa() local
4060 uint8_t loop_count; hv_mc_qpel_aver_horiz_src1_16x16_msa() local
[all...]
/third_party/skia/third_party/externals/libwebp/src/mux/
H A Dmuxedit.c332 if (params->loop_count < 0 || params->loop_count >= MAX_LOOP_COUNT) { in WebPMuxSetAnimationParams()
342 PutLE16(data + 4, params->loop_count); in WebPMuxSetAnimationParams()
/third_party/backends/backend/
H A Dmustek_usb_low.c110 chip->loop_count = 0x0db5; in usb_low_init()
1192 usb_low_set_cmt_loop_count (ma1017 * chip, SANE_Word loop_count) in usb_low_set_cmt_loop_count() argument
1210 chip->loop_count = loop_count; in usb_low_set_cmt_loop_count()
1212 data = LOBYTE (loop_count); in usb_low_set_cmt_loop_count()
1216 data = HIBYTE (loop_count); in usb_low_set_cmt_loop_count()
2313 if (chip->loop_count == 0) in usb_low_start_rowing()
2315 DBG (3, "usb_low_start_rowing loop_count hasn't been set yet\n"); in usb_low_start_rowing()
2346 ((SANE_Word) (chip->loop_count - 1)) * line_of_second + line_of_first; in usb_low_start_rowing()
H A Dmustek_usb_low.h144 SANE_Word loop_count; member
319 usb_low_set_cmt_loop_count (ma1017 * chip, SANE_Word loop_count);
/third_party/libsnd/examples/
H A Dsndfile-loopify.c161 instr.loop_count = 1 ; in add_instrument_data()
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Ddemux.h233 for (uint32_t i = 0; i < anim_info.loop_count; ++i) {
297 uint32_t loop_count; member
338 // info.loop_count times) without destroying and recreating the 'dec' object.
H A Dmux.h287 int loop_count; // Number of times to repeat the animation [0 = infinite]. member

Completed in 32 milliseconds

12