This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Encoder hevc_nvenc [NVIDIA NVENC hevc encoder]: | |
General capabilities: dr1 delay hardware | |
Threading capabilities: none | |
Supported hardware devices: cuda cuda d3d11va d3d11va | |
Supported pixel formats: yuv420p nv12 p010le yuv444p p016le yuv444p16le bgr0 bgra rgb0 rgba x2rgb10le x2bgr10le gbrp gbrp16le cuda d3d11 | |
hevc_nvenc AVOptions: | |
-preset <int> E..V....... Set the encoding preset (from 0 to 18) (default p4) | |
default 0 E..V....... | |
slow 1 E..V....... hq 2 passes | |
medium 2 E..V....... hq 1 pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
typedef DataDidChangeCallback<T> = bool Function(T o, T n); | |
///Fades out the old data and back in with the new | |
class AnimatedFadeOutIn<T> extends StatefulWidget { | |
///If [initialData] is not null on first build it will be shown. | |
///Directly after that the animation changes the value to [data]. | |
final T? initialData; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math' show Rectangle; | |
import 'package:my_app/database/database.dart'; | |
import 'package:my_app/util/chart/tooltip_data.dart'; | |
import 'package:charts_flutter/flutter.dart' | |
show | |
CircleSymbolRenderer, | |
Color, | |
SelectionModel, | |
ChartCanvas, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class CrossFade<T> extends StatefulWidget { | |
final T initialData; | |
final T data; | |
final Duration duration; | |
final Widget Function(T data) builder; | |
final VoidCallback onFadeComplete; | |
const CrossFade({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:developer'; | |
import 'package:logging/logging.dart'; | |
import 'package:stack_trace/stack_trace.dart'; | |
class LOG { | |
static String _getTag() { | |
try { | |
var t = Trace.current(2); | |
var fileLine = t.frames[0].toString().split(" "); | |
//return name and line number |