mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
4ef9bdaa8a
Previously, we represented quantizer values as an owned `String` for constructing various encoder commands, which is much slower and less robust than representing the quantizer as an integral value. This has been updated to represent the `q` and `n_threads` both as a `usize`, and only convert to a `String` for formatting as needed. Furthermore, several struct fields containing paths have been updated to use a `PathBuf` or `&Path` instead of a `String`. These are the first steps required to supporting non-UTF8 filenames on Windows and Unix-based operating systems. `run_vmaf_on_chunk`'s function signature has been update to take generic arguments that satisfy `AsRef<Path>`, which allows the caller to save themselves from creating a new `Path` if the original argument was a `String`, for example. * Do not represent the concatenation method as a string * Fix pedantic clippy warnings * Remove Cargo.lock from .gitignore * Fix startup_check for ivf concatenation * Add doc comment to `Args` for better help generation in Clap * Use Display impl instead of directly using str::From for `Encoder` and `ConcatMethod` * Do not unwrap the result of killing child processes * Assert that VMAF calculation was successful * Use more idiomatic Rust
154 lines
1.9 KiB
Text
154 lines
1.9 KiB
Text
# Byte-compiled / optimized / DLL files
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
.idea/
|
|
.temp/
|
|
|
|
# C extensions
|
|
*.so
|
|
|
|
# Videos
|
|
*.mp4
|
|
*.av1
|
|
*.webm
|
|
*.y4m
|
|
|
|
# Hidden folders
|
|
! .github
|
|
.*
|
|
|
|
# Distribution / packaging
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
pip-wheel-metadata/
|
|
share/python-wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
MANIFEST
|
|
|
|
# PyInstaller
|
|
# Usually these files are written by a python script from a template
|
|
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
*.manifest
|
|
*.spec
|
|
|
|
# Installer logs
|
|
pip-log.txt
|
|
pip-delete-this-directory.txt
|
|
|
|
# Unit test / coverage reports
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
.coverage
|
|
.coverage.*
|
|
.cache
|
|
nosetests.xml
|
|
coverage.xml
|
|
*.cover
|
|
*.py,cover
|
|
.hypothesis/
|
|
.pytest_cache/
|
|
|
|
# Translations
|
|
*.mo
|
|
*.pot
|
|
|
|
# Django stuff:
|
|
*.log
|
|
local_settings.py
|
|
db.sqlite3
|
|
db.sqlite3-journal
|
|
|
|
# Flask stuff:
|
|
instance/
|
|
.webassets-cache
|
|
|
|
# Scrapy stuff:
|
|
.scrapy
|
|
|
|
# Sphinx documentation
|
|
docs/_build/
|
|
|
|
# PyBuilder
|
|
target/
|
|
|
|
# Jupyter Notebook
|
|
.ipynb_checkpoints
|
|
|
|
# IPython
|
|
profile_default/
|
|
ipython_config.py
|
|
|
|
# pyenv
|
|
.python-version
|
|
|
|
# pipenv
|
|
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
# install all needed dependencies.
|
|
#Pipfile.lock
|
|
|
|
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
__pypackages__/
|
|
|
|
# Celery stuff
|
|
celerybeat-schedule
|
|
celerybeat.pid
|
|
|
|
# SageMath parsed files
|
|
*.sage.py
|
|
|
|
# Environments
|
|
.env
|
|
.venv
|
|
env/
|
|
venv/
|
|
ENV/
|
|
env.bak/
|
|
venv.bak/
|
|
|
|
# Spyder project settings
|
|
.spyderproject
|
|
.spyproject
|
|
|
|
# Rope project settings
|
|
.ropeproject
|
|
|
|
# mkdocs documentation
|
|
/site
|
|
|
|
# mypy
|
|
.mypy_cache/
|
|
.dmypy.json
|
|
dmypy.json
|
|
|
|
# Pyre type checker
|
|
.pyre/
|
|
*.avi
|
|
*.mkv
|
|
*.exe
|
|
|
|
# VS Code
|
|
.vscode/*
|
|
.directory
|
|
Upload.sh
|
|
|
|
*.backup
|
|
|
|
*.png
|
|
*.json
|