Skip to main content

Routines for computing quantisation matrices for the SMPTE ST 2042-2 VC-2 professional video codec.

Project description

SMPTE ST 2042-1 (VC-2) Quantisation Matrix Computation Routines

This Python package, vc2_quantisation_matrices, provides both a standalone software tool and Python module for computing 'default' quantisation matrices for the SMPTE ST 2042-1:2017 VC-2 professional video codec. Specifically, this software implements the procedure from section (D.3.2) of the standard for computing quantisation matrices which achieve noise-power normalisation.

This software is provided both as an informal reference and also as a tool for computing quantisation matrices for wavelet transform and depth combinations for which no default matrix is provided.

For further information, please conatact Jonathan Heathcote or John Fletcher.

Installation

You can install the vc2_quantisation_matrices Python module from PyPI using:

$ pip install vc2_quantisation_matrices

Alternatively you can install it from a copy of this repository using:

$ python setup.py install

Documentation

You can read the vc2_quantisation_matrices manual online here (also available in PDF format). This includes both instruction on the use of this software as well as a more thorough overview of the process it implements.

Running the Tests

To run the test suite, first install the test suite dependencies using:

$ pip install -r requirements-test.txt

Then run the tests:

$ pytest tests/

Building the Documentation

To build the documentation, first install the build dependencies:

$ pip install -r requirements-doc.txt

Then build the documentation:

$ cd docs
$ make html  # or make latexpdf 

The built documentation can then be found in docs/build/.

License

This software is distributed under the GNU General Public License version 3, © BBC 2021.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vc2_quantisation_matrices-1.0.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vc2_quantisation_matrices-1.0.0-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file vc2_quantisation_matrices-1.0.0.tar.gz.

File metadata

  • Download URL: vc2_quantisation_matrices-1.0.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for vc2_quantisation_matrices-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d76e81d8637e64ee9f58330fa65ad0b214fc89c58f067d43771c76a9f9648001
MD5 67be29088e4b559a3b7233a09f753023
BLAKE2b-256 a8c48d430756f6b5f2466123864b1e846f5b0d3a170d6ace2d0bba06c4ec602f

See more details on using hashes here.

File details

Details for the file vc2_quantisation_matrices-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vc2_quantisation_matrices-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for vc2_quantisation_matrices-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c39765ab52404b5264c98a6c3242646a4ffed482958c41b848767c584e5efbb
MD5 0ad36ae6d890cdcf67b5bacf7d86dfdf
BLAKE2b-256 d3e16deeaba150cee6092745b8dfc3925652c84fef92fc03e31e4a715d9edc61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page