LIBJXL: C++ helpers

LIBJXL

Loading...
Searching...
No Matches
Files | Classes | Typedefs
C++ helpers
JPEG XL library (libjxl)
Collaboration diagram for C++ helpers:

## Files
file | decode_cxx.h
| C++ header-only helper for decode.h.
file | encode_cxx.h
| C++ header-only helper for encode.h.
file | resizable_parallel_runner_cxx.h
| C++ header-only helper for resizable_parallel_runner.h.
file | thread_parallel_runner_cxx.h
| C++ header-only helper for thread_parallel_runner.h.

## Classes
struct | JxlDecoderDestroyStruct
| Struct to call JxlDecoderDestroy from the JxlDecoderPtr unique_ptr. More...
struct | JxlEncoderDestroyStruct
| Struct to call JxlEncoderDestroy from the JxlEncoderPtr unique_ptr. More...
struct | JxlResizableParallelRunnerDestroyStruct
struct | JxlThreadParallelRunnerDestroyStruct

## Typedefs
typedef std::unique_ptr< JxlDecoder, JxlDecoderDestroyStruct > | JxlDecoderPtr
typedef std::unique_ptr< JxlEncoder, JxlEncoderDestroyStruct > | JxlEncoderPtr
typedef std::unique_ptr< void, JxlResizableParallelRunnerDestroyStruct > | JxlResizableParallelRunnerPtr
typedef std::unique_ptr< void, JxlThreadParallelRunnerDestroyStruct > | JxlThreadParallelRunnerPtr

## Detailed Description

## Typedef Documentation

## ◆ JxlDecoderPtr

typedef std::unique_ptr<JxlDecoder, JxlDecoderDestroyStruct> JxlDecoderPtr

std::unique_ptr<> type that calls JxlDecoderDestroy() when releasing the decoder.

Use this helper type from C++ sources to ensure the decoder is destroyed and their internal resources released.

## ◆ JxlEncoderPtr

typedef std::unique_ptr<JxlEncoder, JxlEncoderDestroyStruct> JxlEncoderPtr

std::unique_ptr<> type that calls JxlEncoderDestroy() when releasing the encoder.

Use this helper type from C++ sources to ensure the encoder is destroyed and their internal resources released.

## ◆ JxlResizableParallelRunnerPtr

typedef std::unique_ptr<void, JxlResizableParallelRunnerDestroyStruct> JxlResizableParallelRunnerPtr

std::unique_ptr<> type that calls JxlResizableParallelRunnerDestroy() when releasing the runner.

Use this helper type from C++ sources to ensure the runner is destroyed and their internal resources released.

## ◆ JxlThreadParallelRunnerPtr

typedef std::unique_ptr<void, JxlThreadParallelRunnerDestroyStruct> JxlThreadParallelRunnerPtr

std::unique_ptr<> type that calls JxlThreadParallelRunnerDestroy() when releasing the runner.

Use this helper type from C++ sources to ensure the runner is destroyed and their internal resources released.