Skip to main content

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.

Metadata

Release files for vc2-quantisation-matrices 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vc2-quantisation-matrices 1.0.0
File Size Uploaded
vc2_quantisation_matrices-1.0.0.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vc2-quantisation-matrices 1.0.0
File Interpreter ABI Platform
vc2_quantisation_matrices-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.0 kB

Release files / vc2_quantisation_matrices-1.0.0.tar.gz

Download URL vc2_quantisation_matrices-1.0.0.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d76e81d8637e64ee9f58330fa65ad0b214fc89c58f067d43771c76a9f9648001
BLAKE2b-256 checksum
How to use checksums
a8c48d430756f6b5f2466123864b1e846f5b0d3a170d6ace2d0bba06c4ec602f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / vc2_quantisation_matrices-1.0.0-py3-none-any.whl

Download URL vc2_quantisation_matrices-1.0.0-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c39765ab52404b5264c98a6c3242646a4ffed482958c41b848767c584e5efbb
BLAKE2b-256 checksum
How to use checksums
d3e16deeaba150cee6092745b8dfc3925652c84fef92fc03e31e4a715d9edc61
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page