Skip to main content

oxidctf

oxidctf is a Rust port of HolyWu/VapourSynth-DCTFilter / Mr-Z-2697/VapourSynth-DCTFilter, a VapourSynth plugin that suppresses selected frequencies of a clip. For each n x n block it performs a Discrete Cosine Transform (DCT), scales down the selected frequency values, and then reverses the process with an Inverse Discrete Cosine Transform (IDCT).

Install

pip install vapoursynth-oxidctf

API

oxidctf.DCTFilter(
  clip: vs.VideoNode,
  factors: Sequence[float],
  nsize: int = 8,
  planes: Sequence[int] = [0, 1, 2],
) -> vs.VideoNode
  • clip — Clip to process. Any format with either an integer sample type of 8-16 bit depth or a float sample type of 32 bit depth is supported.

  • factors — Either nsize or nsize * nsize floating point numbers, all of which must be in the range 0.0 <= x <= 1.0.

    With nsize values, these correspond to scaling factors for the rows and columns of the n x n DCT blocks. The leftmost number corresponds to the top row, left column. This is the DC component of the transform and should always be left as 1.0. The row and column numbers are multiplied together to get the scale factor for each of the values in a block.

    With nsize * nsize values, they are used directly as a row-major per-coefficient scaling matrix, which allows patterns that the outer product cannot express.

  • nsize — Size of the DCT blocks.

  • planes — Which planes to process. Any unfiltered planes are copied from the input clip.

Download files

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

Source Distribution

vapoursynth_oxidctf-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distributions

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

vapoursynth_oxidctf-0.1.0-py3-none-win_amd64.whl (1.0 MB view details)

Uploaded Python 3Windows x86-64

vapoursynth_oxidctf-0.1.0-py3-none-manylinux_2_28_x86_64.whl (1.4 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

vapoursynth_oxidctf-0.1.0-py3-none-macosx_13_0_arm64.whl (391.4 kB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file vapoursynth_oxidctf-0.1.0.tar.gz.

File metadata

  • Download URL: vapoursynth_oxidctf-0.1.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for vapoursynth_oxidctf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ada789d0c33b5fcf93599fbddaaa70a18354b70afc376ce99cc7a1a510f867b
MD5 76086242771ebbb12f2a03befe6cdd87
BLAKE2b-256 e06976219e13eed3b9ede3f0d73f12ada765e38a2dc52733a9798358a1357064

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_oxidctf-0.1.0.tar.gz:

Publisher: publish.yml on sgt0/oxidctf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_oxidctf-0.1.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for vapoursynth_oxidctf-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 30b9a236bf550036a23e9f6bf31411adeb1737a7b5b018e74bf3715bb728b7b3
MD5 462e4e5d80a54d01c2b0b7c310d3e662
BLAKE2b-256 c2d6e21054cb90fbd8d56032419a10f5a62b3710b3ed884187100bd7e26d1ffd

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_oxidctf-0.1.0-py3-none-win_amd64.whl:

Publisher: publish.yml on sgt0/oxidctf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_oxidctf-0.1.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_oxidctf-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5c7c9c8fe9497ce856254a79a4a50c56d1777852099ec8f597a6512bb08491f7
MD5 48342363c69e87920c74cae46c7bc870
BLAKE2b-256 f5bb36947183d0527f7ae4a956ca682a96ca92aba01f86e09b3e26e484d804aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_oxidctf-0.1.0-py3-none-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on sgt0/oxidctf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_oxidctf-0.1.0-py3-none-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for vapoursynth_oxidctf-0.1.0-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 47608afefb54aee43e4ca6edbc328c909422388652ef419e63f8f4a08d6b9acc
MD5 1674a4c2a2481cc5b2f3e06ea2ebea43
BLAKE2b-256 5fcc2177088d3649245a65d8b97f1eee62e352cf7fccc3dcd09d079ef8d57072

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_oxidctf-0.1.0-py3-none-macosx_13_0_arm64.whl:

Publisher: publish.yml on sgt0/oxidctf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

4 files

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