• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • NVIDIA DRIVE OS Linux SDK API Reference

    6.0.9 Release
    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    nvmedia_ijpd.h File Reference

    Detailed Description

    NVIDIA Media Interface: Image JPEG Decode Processing (IJDP)

    Description: This file contains the ImageJPEG Decode Processing API".

    Definition in file nvmedia_ijpd.h.

    Go to the source code of this file.

    Data Structures

    struct  NVMEDIAJPEGDecAttributes
     Holds image JPEG decoder attributes. More...
     
    struct  NvMediaJPEGAppMarkerInfo
     Holds image JPEG decoder marker Info. More...
     
    struct  NVMEDIAJPEGDecInfo
     Holds image JPEG decoder stream information. More...
     

    Macros

    #define NVMEDIA_IJPD_VERSION_MAJOR   1
     Major version number. More...
     
    #define NVMEDIA_IJPD_VERSION_MINOR   0
     Minor version number. More...
     
    #define NVMEDIA_IJPD_VERSION_PATCH   0
     Patch version number. More...
     
    #define NVMEDIA_IJPD_MAX_PRENVSCISYNCFENCES   (16U)
     Specifies the maximum number of times NvMediaIJPDInsertPreNvSciSyncFence() can be called before each call to NvMediaIJPDFeedFrame(). More...
     
    #define NVMEDIA_JPEG_DEC_ATTRIBUTE_ALPHA_VALUE
     JPEG decode set alpha. More...
     
    #define NVMEDIA_JPEG_DEC_ATTRIBUTE_COLOR_STANDARD
     JPEG decode set color standard. More...
     
    #define NVMEDIA_IJPD_RENDER_FLAG_ROTATE_0
     JPEG decode render flag rotate 0. More...
     
    #define NVMEDIA_IJPD_RENDER_FLAG_ROTATE_90
     JPEG decode render flag rotate 90. More...
     
    #define NVMEDIA_IJPD_RENDER_FLAG_ROTATE_180
     JPEG decode render flag rotate 180. More...
     
    #define NVMEDIA_IJPD_RENDER_FLAG_ROTATE_270
     JPEG decode render flag rotate 270. More...
     
    #define NVMEDIA_IJPD_RENDER_FLAG_FLIP_HORIZONTAL
     JPEG decode render flag flip horizontal. More...
     
    #define NVMEDIA_IJPD_RENDER_FLAG_FLIP_VERTICAL
     JPEG decode render flag flip vertical. More...
     
    #define NVMEDIA_MAX_JPEG_APP_MARKERS
     JPEG decode max number of app markers supported. More...
     

    Typedefs

    typedef struct NvMediaIJPD NvMediaIJPD
     An opaque NvMediaIJPD object created by NvMediaIJPDCreate. More...
     

    Enumerations

    enum  NvMediaIJPDColorStandard {
      NVMEDIA_IJPD_COLOR_STANDARD_ITUR_BT_601,
      NVMEDIA_IJPD_COLOR_STANDARD_ITUR_BT_709,
      NVMEDIA_IJPD_COLOR_STANDARD_SMPTE_240M,
      NVMEDIA_IJPD_COLOR_STANDARD_ITUR_BT_601_ER,
      NVMEDIA_IJPD_COLOR_STANDARD_ITUR_BT_709_ER
    }
     Defines color standards. More...
     

    Functions

    NvMediaStatus NvMediaIJPDGetVersion (NvMediaVersion *version)
     Retrieves the version information for the NvMedia IJPD library. More...
     
    NvMediaIJPDNvMediaIJPDCreate (uint16_t maxWidth, uint16_t maxHeight, uint32_t maxBitstreamBytes, bool supportPartialAccel, NvMediaJPEGInstanceId instanceId)
     Creates a JPEG decoder object capable of decoding a JPEG stream into an image surface. More...
     
    void NvMediaIJPDDestroy (NvMediaIJPD *decoder)
     Destroys an NvMedia image JPEG decoder. More...
     
    NvMediaStatus NvMediaIJPDResize (NvMediaIJPD *decoder, uint16_t maxWidth, uint16_t maxHeight, uint32_t maxBitstreamBytes)
     Resizes an existing image JPEG decoder. More...
     
    NvMediaStatus NvMediaIJPDSetAttributes (const NvMediaIJPD *decoder, uint32_t attributeMask, const void *attributes)
     Sets attributes of an existing image JPEG decoder. More...
     
    NvMediaStatus NvMediaIJPDGetInfo (NVMEDIAJPEGDecInfo *info, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams)
     A helper function that determines whether the JPEG decoder HW engine can decode the input JPEG stream. More...
     
    NvMediaStatus NvMediaIJPDRender (const NvMediaIJPD *decoder, NvSciBufObj target, const NvMediaRect *srcRect, const NvMediaRect *dstRect, uint8_t downscaleLog2, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, uint32_t flags, NvMediaJPEGInstanceId instanceId)
     Decodes a JPEG image. More...
     
    NvMediaStatus NvMediaIJPDRenderYUV (const NvMediaIJPD *decoder, NvSciBufObj target, uint8_t downscaleLog2, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, uint32_t flags, NvMediaJPEGInstanceId instanceId)
     Decodes a JPEG image into YUV format. More...
     
    NvMediaStatus NvMediaIJPDRegisterNvSciBufObj (const NvMediaIJPD *decoder, NvSciBufObj bufObj)
     Registers NvSciBufObj for use with a NvMediaIJPD handle. More...
     
    NvMediaStatus NvMediaIJPDUnregisterNvSciBufObj (const NvMediaIJPD *decoder, NvSciBufObj bufObj)
     Un-registers NvSciBufObj which was previously registered with NvMediaIJPD using NvMediaIJPDRegisterNvSciBufObj(). More...
     
    NvMediaStatus NvMediaIJPDFillNvSciBufAttrList (NvMediaJPEGInstanceId instanceId, NvSciBufAttrList attrlist)
     Fills the NvMediaIJPD specific NvSciBuf attributes which than then be used to allocate an NvSciBufObj that NvMediaIJPD can consume. More...
     
    NvMediaStatus NvMediaIJPDFillNvSciSyncAttrList (const NvMediaIJPD *decoder, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype)
     Fills the NvMediaIJPD specific NvSciSync attributes. More...
     
    NvMediaStatus NvMediaIJPDRegisterNvSciSyncObj (const NvMediaIJPD *decoder, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync)
     Registers an NvSciSyncObj with NvMediaIJPD. More...
     
    NvMediaStatus NvMediaIJPDUnregisterNvSciSyncObj (const NvMediaIJPD *decoder, NvSciSyncObj nvscisync)
     Unregisters an NvSciSyncObj with NvMediaIJPD. More...
     
    NvMediaStatus NvMediaIJPDSetNvSciSyncObjforEOF (const NvMediaIJPD *decoder, NvSciSyncObj nvscisyncEOF)
     Specifies the NvSciSyncObj to be used for an EOF NvSciSyncFence. More...
     
    NvMediaStatus NvMediaIJPDInsertPreNvSciSyncFence (const NvMediaIJPD *decoder, const NvSciSyncFence *prenvscisyncfence)
     Sets an NvSciSyncFence as a prefence for an NvMediaIJPDRender() NvSciSyncFence operation. More...
     
    NvMediaStatus NvMediaIJPDGetEOFNvSciSyncFence (const NvMediaIJPD *decoder, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
     Gets EOF NvSciSyncFence for an NvMediaIJPDRender() operation. More...
     
    人人超碰97caoporen国产