NVIDIA DRIVE OS Linux SDK API Reference

5.2.3 Release
For Test and Development only
nvmedia_common_encode_decode.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved. All
3  * information contained herein is proprietary and confidential to NVIDIA
4  * Corporation. Any use, reproduction, or disclosure without the written
5  * permission of NVIDIA Corporation is prohibited.
6  */
7 
8 
17 #ifndef NVMEDIA_COMMON_ENCODE_DECODE_H
18 #define NVMEDIA_COMMON_ENCODE_DECODE_H
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 #include "nvmedia_core.h"
25 
38 typedef enum {
63 #if NV_BUILD_CONFIGURATION_EXPOSING_T23X
64 
65  NVMEDIA_VIDEO_CODEC_AV1,
66 #endif
67 
70 
75 typedef struct {
77  uint8_t *bitstream;
79  uint32_t bitstreamBytes;
81  uint32_t bitstreamSize;
83 
86 #ifdef __cplusplus
87 }; /* extern "C" */
88 #endif
89 
90 #endif /* NVMEDIA_COMMON_ENCODE_DECODE_H */
NVMEDIA_VIDEO_CODEC_MPEG2
@ NVMEDIA_VIDEO_CODEC_MPEG2
MPEG2 codec.
Definition: nvmedia_common_encode_decode.h:48
NvMediaBitstreamBuffer::bitstreamBytes
uint32_t bitstreamBytes
The number of data bytes.
Definition: nvmedia_common_encode_decode.h:79
NvMediaBitstreamBuffer::bitstreamSize
uint32_t bitstreamSize
Size of bitstream array.
Definition: nvmedia_common_encode_decode.h:81
NVMEDIA_VIDEO_CODEC_VC1
@ NVMEDIA_VIDEO_CODEC_VC1
VC-1 simple and main profile codec.
Definition: nvmedia_common_encode_decode.h:42
NVMEDIA_VIDEO_CODEC_VP8
@ NVMEDIA_VIDEO_CODEC_VP8
VP8 codec.
Definition: nvmedia_common_encode_decode.h:54
NvMediaVideoCodec
NvMediaVideoCodec
Video codec type.
Definition: nvmedia_common_encode_decode.h:38
NVMEDIA_VIDEO_CODEC_MJPEG
@ NVMEDIA_VIDEO_CODEC_MJPEG
MJPEG codec.
Definition: nvmedia_common_encode_decode.h:52
NVMEDIA_VIDEO_CODEC_VC1_ADVANCED
@ NVMEDIA_VIDEO_CODEC_VC1_ADVANCED
VC-1 advanced profile codec.
Definition: nvmedia_common_encode_decode.h:44
NVMEDIA_VIDEO_CODEC_HEVC
@ NVMEDIA_VIDEO_CODEC_HEVC
H265 codec.
Definition: nvmedia_common_encode_decode.h:56
nvmedia_core.h
NVIDIA Media Interface: Core
NvMediaBitstreamBuffer
Holds an application data buffer containing compressed video data.
Definition: nvmedia_common_encode_decode.h:75
NVMEDIA_VIDEO_CODEC_VP9
@ NVMEDIA_VIDEO_CODEC_VP9
VP9 codec.
Definition: nvmedia_common_encode_decode.h:58
NVMEDIA_VIDEO_CODEC_MPEG4
@ NVMEDIA_VIDEO_CODEC_MPEG4
MPEG4 Part 2 codec.
Definition: nvmedia_common_encode_decode.h:50
NVMEDIA_VIDEO_CODEC_END
@ NVMEDIA_VIDEO_CODEC_END
Definition: nvmedia_common_encode_decode.h:68
NVMEDIA_VIDEO_CODEC_H264
@ NVMEDIA_VIDEO_CODEC_H264
H.264 codec.
Definition: nvmedia_common_encode_decode.h:40
NVMEDIA_VIDEO_CODEC_H264_MVC
@ NVMEDIA_VIDEO_CODEC_H264_MVC
H.264 Multiview Video Coding codec.
Definition: nvmedia_common_encode_decode.h:60
NVMEDIA_VIDEO_CODEC_HEVC_MV
@ NVMEDIA_VIDEO_CODEC_HEVC_MV
H265 Multiview Video Coding codec.
Definition: nvmedia_common_encode_decode.h:62
NVMEDIA_VIDEO_CODEC_MPEG1
@ NVMEDIA_VIDEO_CODEC_MPEG1
MPEG1 codec.
Definition: nvmedia_common_encode_decode.h:46
NvMediaBitstreamBuffer::bitstream
uint8_t * bitstream
A pointer to the bitstream data bytes.
Definition: nvmedia_common_encode_decode.h:77