| /third_party/ffmpeg/libavformat/ |
| H A D | dxa.c | 62 int32_t fps; in dxa_read_header() local 78 fps = avio_rb32(pb); in dxa_read_header() 79 if(fps > 0){ in dxa_read_header() 81 num = fps; in dxa_read_header() 82 }else if (fps < 0 && fps > INT_MIN){ in dxa_read_header() 84 num = -fps; in dxa_read_header()
|
| H A D | mm.c | 63 int len, type, fps, w, h; in probe() local 72 fps = AV_RL16(&p->buf[8]); in probe() 75 if (!fps || fps > 60 || !w || w > 2048 || !h || h > 2048) in probe()
|
| H A D | westwood_vqa.c | 98 int fps, ret; in wsvqa_read_header() local 119 fps = header[12]; in wsvqa_read_header() 122 if (fps < 1 || fps > 30) { in wsvqa_read_header() 123 av_log(s, AV_LOG_ERROR, "invalid fps: %d\n", fps); in wsvqa_read_header() 126 avpriv_set_pts_info(st, 64, 1, fps); in wsvqa_read_header()
|
| H A D | luodatdec.c | 60 int index, ret, key, stream_id, stream_index, width, height, fps, pkt_size; in dat_read_packet() local 71 fps = avio_rl32(pb); in dat_read_packet() 100 avpriv_set_pts_info(st, 64, 1, fps); in dat_read_packet()
|
| H A D | gxf.c | 231 * @brief convert fps tag value to AVRational fps 232 * @param fps fps value from tag 233 * @return fps as AVRational, or 0 / 0 if unknown 235 static AVRational fps_tag2avr(int32_t fps) { in fps_tag2avr() argument 236 if (fps < 1 || fps > 9) fps = 9; in fps_tag2avr() 237 return frame_rate_tab[fps in fps_tag2avr() 408 AVRational fps; gxf_header() local [all...] |
| H A D | mvdec.c | 208 AVRational fps = var_read_float(pb, size); in parse_video_var() local 209 avpriv_set_pts_info(st, 64, fps.den, fps.num); in parse_video_var() 210 st->avg_frame_rate = fps; in parse_video_var() 306 AVRational fps; in mv_read_header() local 310 fps = av_d2q(av_int2double(avio_rb64(pb)), INT_MAX); in mv_read_header() 328 avpriv_set_pts_info(vst, 64, fps.den, fps.num); in mv_read_header() 330 vst->avg_frame_rate = fps; in mv_read_header()
|
| H A D | nuv.c | 164 double aspect, fps; in nuv_header() local 181 fps = av_int2double(avio_rl64(pb)); in nuv_header() 182 if (fps < 0.0f) { in nuv_header() 184 av_log(s, AV_LOG_ERROR, "Invalid frame rate %f\n", fps); in nuv_header() 187 av_log(s, AV_LOG_WARNING, "Invalid frame rate %f, setting to 0.\n", fps); in nuv_header() 188 fps = 0.0f; in nuv_header() 219 vst->avg_frame_rate = av_d2q(fps, 60000); in nuv_header()
|
| H A D | bfi.c | 58 int ret, fps, chunk_header; in bfi_read_header() local 82 fps = avio_rl32(pb); in bfi_read_header() 100 avpriv_set_pts_info(vstream, 32, 1, fps); in bfi_read_header()
|
| /device/soc/rockchip/rk3568/hardware/codec/src/ |
| H A D | hdi_mpp_config.c | 116 setup->fps.fpsInFlex = 0; in SetDefaultFps() 117 setup->fps.fpsInNum = FPS_SETUP_DEFAULT; in SetDefaultFps() 118 setup->fps.fpsOutNum = FPS_SETUP_DEFAULT; in SetDefaultFps() 119 setup->fps.fpsInDen = 1; in SetDefaultFps() 120 setup->fps.fpsOutDen = 1; in SetDefaultFps() 121 setup->fps.fpsOutFlex = 0; in SetDefaultFps() 136 setup->gop.gop = setup->fps.fpsOutNum * DFAULT_ENC_GOP_OPERATOR; in SetDefaultGopMode() 449 (encSetup->fps.fpsOutNum / encSetup->fps.fpsOutDen); in CalcBpsValue() 502 * 10 / 11 / 12 / 13 - qcif@15fps / ci in SetMimeSettings() [all...] |
| /device/soc/rockchip/rk3588/hardware/codec/src/ |
| H A D | hdi_mpp_config.c | 116 setup->fps.fpsInFlex = 0; in SetDefaultFps() 117 setup->fps.fpsInNum = FPS_SETUP_DEFAULT; in SetDefaultFps() 118 setup->fps.fpsOutNum = FPS_SETUP_DEFAULT; in SetDefaultFps() 119 setup->fps.fpsInDen = 1; in SetDefaultFps() 120 setup->fps.fpsOutDen = 1; in SetDefaultFps() 121 setup->fps.fpsOutFlex = 0; in SetDefaultFps() 136 setup->gop.gop = setup->fps.fpsOutNum * DFAULT_ENC_GOP_OPERATOR; in SetDefaultGopMode() 449 (encSetup->fps.fpsOutNum / encSetup->fps.fpsOutDen); in CalcBpsValue() 502 * 10 / 11 / 12 / 13 - qcif@15fps / ci in SetMimeSettings() [all...] |
| /third_party/ffmpeg/libavfilter/ |
| H A D | vf_decimate.c | 372 AVRational fps = inlink->frame_rate; in config_output() local 399 if (!fps.num || !fps.den) { in config_output() 401 "current rate of %d/%d is invalid\n", fps.num, fps.den); in config_output() 404 fps = av_mul_q(fps, (AVRational){dm->cycle - 1, dm->cycle}); in config_output() 406 inlink->frame_rate.num, inlink->frame_rate.den, fps.num, fps.den); in config_output() 408 outlink->frame_rate = fps; in config_output() [all...] |
| /foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
| H A D | rs_uni_hwc_prevalidate_util_test.cpp | 55 ASSERT_EQ(info.fps, DEFAULT_FPS); in HWTEST_F() 76 ASSERT_EQ(info.fps, DEFAULT_FPS); in HWTEST_F() 92 ASSERT_EQ(info.fps, DEFAULT_FPS); in HWTEST_F() 111 ASSERT_EQ(info.fps, DEFAULT_FPS); in HWTEST_F()
|
| /third_party/ffmpeg/tests/fate/ |
| H A D | filter-video.mak | 111 fate-filter-framerate-up: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=10 -t 1 112 fate-filter-framerate-down: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=1 -t 1 115 fate-filter-framerate-12bit-up: CMD = framecrc -lavfi testsrc2=r=50:d=1,format=pix_fmts=yuv422p12le,scale,framerate=fps=60,scale -t 1 -pix_fmt yuv422p12le 116 fate-filter-framerate-12bit-down: CMD = framecrc -lavfi testsrc2=r=60:d=1,format=pix_fmts=yuv422p12le,scale,framerate=fps=50,scale -t 1 -pix_fmt yuv422p12le 119 fate-filter-minterpolate-up: CMD = framecrc -lavfi testsrc2=r=2:d=10,minterpolate=fps=10 -t 1 120 fate-filter-minterpolate-down: CMD = framecrc -lavfi testsrc2=r=2:d=10,minterpolate=fps=1 -t 1 365 fate-filter-decimate: CMD = framecrc -lavfi testsrc2=r=24:d=10,fps=60,decimate=5,decimate=4,decimate=3 -pix_fmt yuv420p 368 fate-filter-mpdecimate: CMD = framecrc -lavfi testsrc2=r=2:d=10,fps=3,mpdecimate -r 3 -pix_fmt yuv420p 370 FATE_FILTER-$(call FILTERFRAMECRC, FPS TESTSRC2) += $(addprefix fate-filter-fps-, up up-round-down up-round-up down down-round-down down-round-up down-eof-pass start-drop start-fill) 371 fate-filter-fps [all...] |
| /foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/export/ |
| H A D | frame_painter.h | 45 void DrawFPSLine(Drawing::Canvas &canvas, uint32_t fps, double thickness, uint32_t color); 46 std::vector<struct TimeBar> GenerateTimeBars(uint32_t width, uint32_t height, uint32_t fps);
|
| /third_party/skia/src/gpu/ |
| H A D | GrProcessorAnalysis.cpp | 15 std::unique_ptr<GrFragmentProcessor> const fps[], in GrColorFragmentProcessorAnalysis() 24 const GrFragmentProcessor* fp = fps[i].get(); in GrColorFragmentProcessorAnalysis() 13 GrColorFragmentProcessorAnalysis( const GrProcessorAnalysisColor& input, std::unique_ptr<GrFragmentProcessor> const fps[], int count) GrColorFragmentProcessorAnalysis() argument
|
| /third_party/skia/experimental/ffmpeg/ |
| H A D | SkVideoEncoder.h | 34 bool beginRecording(SkISize, int fps); 62 bool init(int fps);
|
| /device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/ |
| H A D | procfs.c | 252 u64 fps, timestamp0, timestamp1; in rkcif_show_format() local 303 fps = timestamp0 > timestamp1 ? timestamp0 - timestamp1 : timestamp1 - timestamp0; in rkcif_show_format() 304 fps = div_u64(fps, 1000000); in rkcif_show_format() 325 seq_printf(f, "\trate:%llu ms\n", fps); in rkcif_show_format() 326 fps = div_u64(1000, fps); in rkcif_show_format() 327 seq_printf(f, "\tfps:%llu\n", fps); in rkcif_show_format()
|
| /device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/ |
| H A D | procfs.c | 253 u64 fps, timestamp0, timestamp1; in rkcif_show_format() local 308 fps = timestamp0 > timestamp1 ? in rkcif_show_format() 310 fps = div_u64(fps, 1000000); in rkcif_show_format() 333 seq_printf(f, "\trate:%llu ms\n", fps); in rkcif_show_format() 334 fps = div_u64(1000, fps); in rkcif_show_format() 335 seq_printf(f, "\tfps:%llu\n", fps); in rkcif_show_format()
|
| /foundation/resourceschedule/qos_manager/common/include/ |
| H A D | config_reader.h | 33 int GetDegratationFps(int fps); 36 bool IsValidFps(const std::string& fps);
|
| /third_party/skia/tools/android/ |
| H A D | measure_fps.py | 39 fps = (endframe - startframe) / (endtime - starttime) 40 print("%.2f" % fps)
|
| /third_party/ffmpeg/libavutil/ |
| H A D | timecode.h | 45 unsigned fps; ///< frame per second; must be consistent with the rate field member 52 * @param fps frame per second, multiples of 30 56 int av_timecode_adjust_ntsc_framenum2(int framenum, int fps); 116 * fps timecodes by using the field bit.
|
| /third_party/skia/modules/skottie/src/layers/ |
| H A D | AudioLayer.cpp | 24 float fps ) in ForwardingPlaybackController() 28 , fFps(fps) {} in ForwardingPlaybackController()
|
| /third_party/skia/tools/viewer/ |
| H A D | SkottieSlide.cpp | 182 fFrameTimes.resize(SkScalarCeilToInt(fAnimation->duration() * fAnimation->fps())); in load() 256 const auto frame_count = fAnimation->duration() * fAnimation->fps(); in animate() 261 fCurrentFrame = std::fmod(t_sec * fAnimation->fps(), frame_count); in animate() 264 fTimeBase = nanos - fCurrentFrame / fAnimation->fps() * 1e9; in animate() 270 const auto fps_scale = fFrameRate / fAnimation->fps(); in animate() 345 ImGui::SliderFloat("", &fCurrentFrame, 0, fAnimation->duration() * fAnimation->fps() - 1); in renderUI() 352 add_frame_rate_option("Native", fAnimation->fps()); in renderUI()
|
| /third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
| H A D | glmark2Benchmark.cpp | 113 mReporter->RegisterImportantMetric(".fps", "fps"); in GLMark2Benchmark() 238 size_t fps; in parseOutput() local 241 lin >> fpsTag >> fps >> frametimeTag >> frametime; in parseOutput() 255 mReporter->AddResult(".fps", fps); in parseOutput()
|
| /third_party/skia/modules/skottie/src/ |
| H A D | Skottie.cpp | 400 const auto fps = ParseDefault<float>(json["fr"], -1.0f), in make() local 403 duration = sk_ieee_float_divide(outPoint - inPoint, fps); in make() 405 if (size.isEmpty() || version.isEmpty() || fps <= 0 || in make() 411 version.c_str(), size.width(), size.height(), fps, inPoint, outPoint); in make() 424 &fStats, size, duration, fps, fFlags); in make() local 447 fps, in make() 461 double inPoint, double outPoint, double duration, double fps, uint32_t flags) in Animation() 469 , fFPS(fps) in Animation() 458 Animation(std::unique_ptr<sksg::Scene> scene, std::vector<sk_sp<internal::Animator>>&& animators, SkString version, const SkSize& size, double inPoint, double outPoint, double duration, double fps, uint32_t flags) Animation() argument
|