Skip to main content

Legacy compatibility functions for pixtreme (_cp functions)

Reason this release was yanked:

Critical bug

Project description

pixtreme-legacy

⚠️ Legacy Compatibility Package: This package provides _cp functions removed from pixtreme v0.5.1+.

Status

  • Current Version: 0.5.1
  • Maintenance Mode: Functions migrated from main pixtreme package in v0.5.1
  • Recommendation: Migrate to standard functions (without _cp suffix) when possible

Purpose

This package provides backward compatibility for _cp functions that were removed from the main pixtreme package in v0.5.1. It contains the following functions:

  • apply_lut_cp - Apply 3D LUT with CuPy implementation
  • uyvy422_to_ycbcr444_cp - Convert UYVY422 to YCbCr444
  • ndi_uyvy422_to_ycbcr444_cp - Convert NDI UYVY422 to YCbCr444
  • yuv420p_to_ycbcr444_cp - Convert YUV420 to YCbCr444
  • yuv422p10le_to_ycbcr444_cp - Convert YUV422p10le to YCbCr444

Installation

pip install pixtreme-legacy

Usage

from pixtreme_legacy import apply_lut_cp

# No warnings - clean compatibility layer
result = apply_lut_cp(image, lut)

Note: This package depends on pixtreme>=0.5.1 for common utilities (to_float32, resize, etc.).

Migration Guide

Replace _cp functions with their standard equivalents:

Before (deprecated)

from pixtreme import apply_lut_cp
result = apply_lut_cp(image, lut, interpolation=0)

After (recommended)

from pixtreme import apply_lut
result = apply_lut(image, lut, interpolation=0)

Why were _cp functions deprecated?

The _cp suffix originally indicated "CuPy native" implementations, as opposed to CUDA kernel implementations. However:

  1. Redundancy: Both implementations exist in the main functions now
  2. Confusion: Users don't need to choose between implementations
  3. Maintenance: Duplicate APIs increase maintenance burden

The standard functions (without _cp) now automatically select the best implementation.

Timeline

  • v0.4.0: _cp functions available without warnings
  • v0.5.0: _cp functions deprecated with warnings, pixtreme-legacy package created
  • v0.5.1: _cp functions removed from main package, migrated to pixtreme-legacy without warnings
  • v0.6.0 (Future): Main pixtreme package will split into modular packages (pixtreme-core, pixtreme-color, etc.)

License

MIT License (same as pixtreme)

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

pixtreme_legacy-0.5.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

pixtreme_legacy-0.5.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file pixtreme_legacy-0.5.1.tar.gz.

File metadata

  • Download URL: pixtreme_legacy-0.5.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.18

File hashes

Hashes for pixtreme_legacy-0.5.1.tar.gz
Algorithm Hash digest
SHA256 767956566987a657c1d369383d71ede2c4926e770e4c955d28e4fbeaba8cb8a9
MD5 754984dab1f94856b54ed9422c38c3c0
BLAKE2b-256 b77a3adb2f489f02357430472fcecfd2a6750a83698b5090520dc1a534568ed9

See more details on using hashes here.

File details

Details for the file pixtreme_legacy-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pixtreme_legacy-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3145fa756aaf8486aef3b3428a426f7e2e55bff7d9d22fbf172b479b78497de
MD5 af6958e9748bc294c22c9396cc6e495e
BLAKE2b-256 f1a6d00ed7a10e3d0d3156018bfd259898f2ebe8b46466e75ab8dd2893e59133

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