Python bindings for cpl_image buffer access via raw pointer.
More...
#include <cpl_image.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <cstdint>
#include <cstring>
Python bindings for cpl_image buffer access via raw pointer.
- Copyright
- SPDX-FileCopyrightText: 2026 European Southern Observatory (ESO) SPDX-License-Identifier: LGPL-3.0-only
◆ Define2DPyBuffer()
template<typename T>
| pybind11::buffer_info Define2DPyBuffer |
( |
const size_t | height, |
|
|
const size_t | width, |
|
|
void * | data_ptr ) |
◆ Define2DPyBufferDecoder()
| pybind11::buffer_info Define2DPyBufferDecoder |
( |
const size_t | height, |
|
|
const size_t | width, |
|
|
void * | data_ptr, |
|
|
cpl_type | type ) |
◆ PYBIND11_MODULE()