4 Commits

Author SHA1 Message Date
Maizer
15c6928fe3 Add AVPixFmtDescriptor to retrieve flags for AVPixelFormat (#154)
* 1. Adds hardware_frames_constraints to retrieve valid HWPixelFormats and SWPixelFormats for specific hardware frame configurations.

2. Implements a HardwareFramesConstraints method in hardware_device_context to obtain these constraints for a given hardware frames context.

* Add AVPixFmtDescriptor to retrieve flags for AVPixelFormat

feat(PixelFormat): Expose `AVPixFmtDescriptor` via `Descriptor()` method

This commit introduces support for `AVPixFmtDescriptor`, which provides
detailed information about an `AVPixelFormat`, including its flags.

A new `Descriptor()` method has been added to the `PixelFormat` type
(or class) to retrieve its corresponding `AVPixFmtDescriptor`. This allows
for easier access to extended properties of pixel formats.
2025-05-23 16:01:02 +02:00
Quentin Renard
b5db8fb22f Added Classer + now logs returns a Classer + tests are now done in astiav package 2024-02-28 18:05:36 +01:00
Quentin Renard
12f9a2e067 Added FindPixelFormatByName + frame.AllocSamples 2022-02-20 11:23:28 +01:00
Quentin Renard
477b147104 Initial commit 2022-02-13 19:08:18 +01:00