|
Jetson Linux API Reference
|
32.7.5 Release
|
Go to the documentation of this file.
46 #ifndef __NV_VIDEO_CONVERTER_H__
47 #define __NV_VIDEO_CONVERTER_H__
208 int setCropRect(uint32_t left, uint32_t top, uint32_t width,
224 int setDestRect(uint32_t left, uint32_t top, uint32_t width,
Defines a helper class for V4L2 based components.
v4l2_nv_buffer_layout
Enum specifying types of buffer layouts.
int setCropRect(uint32_t left, uint32_t top, uint32_t width, uint32_t height)
Set the cropping rectangle for the converter.
int setInterpolationMethod(enum v4l2_interpolation_method method)
Sets the interpolation(filter) method used for scaling.
v4l2_tnr_algorithm
Specifies the types of TNR algorithms.
int setFlipMethod(enum v4l2_flip_method method)
Sets the flip method.
int setDestRect(uint32_t left, uint32_t top, uint32_t width, uint32_t height)
Sets the destnation rectangle for the converter.
int setTnrAlgorithm(enum v4l2_tnr_algorithm algorithm)
Sets the TNR(Temporal Noise Reduction) algorithm to use.
static NvVideoConverter * createVideoConverter(const char *name, int flags=0)
Creates a new V4L2 Video Converter object named name.
Defines a helper class for V4L2 Video Converter.
int waitForIdle(uint32_t max_wait_ms)
Waits until all buffers queued on the output plane are converted and dequeued from the capture plane.
int setOutputPlaneFormat(uint32_t pixfmt, uint32_t width, uint32_t height, enum v4l2_nv_buffer_layout type)
Sets the format on the converter output plane.
int setCapturePlaneBufferLayout(enum v4l2_nv_buffer_layout type)
Sets the buffer layout of the capture plane buffers.
int setOutputPlaneBufferLayout(enum v4l2_nv_buffer_layout type)
Sets the buffer layout of the output plane buffers.
v4l2_yuv_rescale_method
Specifies the types of YUV rescale methods.
static const ProfilerField PROFILER_FIELD_LATENCIES
v4l2_interpolation_method
Specifies the types of interpolation methods.
static const ProfilerField PROFILER_FIELD_FPS
int setYUVRescale(enum v4l2_yuv_rescale_method method)
Sets the YUV Rescale method to use.
static const ProfilerField PROFILER_FIELD_TOTAL_UNITS
v4l2_flip_method
Specifies the types of rotation/flip algorithms.
int setCapturePlaneFormat(uint32_t pixfmt, uint32_t width, uint32_t height, enum v4l2_nv_buffer_layout type)
Sets the format on the converter output plane.