Lines Matching refs:nvenc_api
65 static NV_ENCODE_API_FUNCTION_LIST nvenc_api; variable
71 g_assert (nvenc_api.nvEncOpenEncodeSessionEx != NULL); in NvEncOpenEncodeSessionEx()
72 return nvenc_api.nvEncOpenEncodeSessionEx (params, encoder); in NvEncOpenEncodeSessionEx()
78 g_assert (nvenc_api.nvEncDestroyEncoder != NULL); in NvEncDestroyEncoder()
79 return nvenc_api.nvEncDestroyEncoder (encoder); in NvEncDestroyEncoder()
86 g_assert (nvenc_api.nvEncGetEncodeGUIDs != NULL); in NvEncGetEncodeGUIDs()
87 return nvenc_api.nvEncGetEncodeGUIDs (encoder, array, array_size, count); in NvEncGetEncodeGUIDs()
94 g_assert (nvenc_api.nvEncGetEncodeProfileGUIDCount != NULL); in NvEncGetEncodeProfileGUIDCount()
95 return nvenc_api.nvEncGetEncodeProfileGUIDCount (encoder, encodeGUID, in NvEncGetEncodeProfileGUIDCount()
103 g_assert (nvenc_api.nvEncGetEncodeProfileGUIDs != NULL); in NvEncGetEncodeProfileGUIDs()
104 return nvenc_api.nvEncGetEncodeProfileGUIDs (encoder, encodeGUID, in NvEncGetEncodeProfileGUIDs()
112 g_assert (nvenc_api.nvEncGetInputFormats != NULL); in NvEncGetInputFormats()
113 return nvenc_api.nvEncGetInputFormats (encoder, enc_guid, array, size, num); in NvEncGetInputFormats()
120 g_assert (nvenc_api.nvEncGetEncodeProfileGUIDCount != NULL); in NvEncGetEncodePresetCount()
121 return nvenc_api.nvEncGetEncodePresetCount (encoder, encodeGUID, in NvEncGetEncodePresetCount()
129 g_assert (nvenc_api.nvEncGetEncodeProfileGUIDs != NULL); in NvEncGetEncodePresetGUIDs()
130 return nvenc_api.nvEncGetEncodePresetGUIDs (encoder, encodeGUID, in NvEncGetEncodePresetGUIDs()
138 g_assert (nvenc_api.nvEncGetEncodePresetConfig != NULL); in NvEncGetEncodePresetConfig()
139 return nvenc_api.nvEncGetEncodePresetConfig (encoder, encodeGUID, presetGUID, in NvEncGetEncodePresetConfig()
147 g_assert (nvenc_api.nvEncGetEncodeCaps != NULL); in NvEncGetEncodeCaps()
148 return nvenc_api.nvEncGetEncodeCaps (encoder, encodeGUID, capsParam, capsVal); in NvEncGetEncodeCaps()
155 g_assert (nvenc_api.nvEncGetSequenceParams != NULL); in NvEncGetSequenceParams()
156 return nvenc_api.nvEncGetSequenceParams (encoder, sequenceParamPayload); in NvEncGetSequenceParams()
162 g_assert (nvenc_api.nvEncInitializeEncoder != NULL); in NvEncInitializeEncoder()
163 return nvenc_api.nvEncInitializeEncoder (encoder, params); in NvEncInitializeEncoder()
169 g_assert (nvenc_api.nvEncReconfigureEncoder != NULL); in NvEncReconfigureEncoder()
170 return nvenc_api.nvEncReconfigureEncoder (encoder, params); in NvEncReconfigureEncoder()
176 g_assert (nvenc_api.nvEncRegisterResource != NULL); in NvEncRegisterResource()
177 return nvenc_api.nvEncRegisterResource (encoder, params); in NvEncRegisterResource()
183 g_assert (nvenc_api.nvEncUnregisterResource != NULL); in NvEncUnregisterResource()
184 return nvenc_api.nvEncUnregisterResource (encoder, resource); in NvEncUnregisterResource()
190 g_assert (nvenc_api.nvEncMapInputResource != NULL); in NvEncMapInputResource()
191 return nvenc_api.nvEncMapInputResource (encoder, params); in NvEncMapInputResource()
197 g_assert (nvenc_api.nvEncUnmapInputResource != NULL); in NvEncUnmapInputResource()
198 return nvenc_api.nvEncUnmapInputResource (encoder, input_buffer); in NvEncUnmapInputResource()
204 g_assert (nvenc_api.nvEncCreateInputBuffer != NULL); in NvEncCreateInputBuffer()
205 return nvenc_api.nvEncCreateInputBuffer (encoder, input_buf); in NvEncCreateInputBuffer()
211 g_assert (nvenc_api.nvEncLockInputBuffer != NULL); in NvEncLockInputBuffer()
212 return nvenc_api.nvEncLockInputBuffer (encoder, input_buf); in NvEncLockInputBuffer()
218 g_assert (nvenc_api.nvEncUnlockInputBuffer != NULL); in NvEncUnlockInputBuffer()
219 return nvenc_api.nvEncUnlockInputBuffer (encoder, input_buf); in NvEncUnlockInputBuffer()
225 g_assert (nvenc_api.nvEncDestroyInputBuffer != NULL); in NvEncDestroyInputBuffer()
226 return nvenc_api.nvEncDestroyInputBuffer (encoder, input_buf); in NvEncDestroyInputBuffer()
232 g_assert (nvenc_api.nvEncCreateBitstreamBuffer != NULL); in NvEncCreateBitstreamBuffer()
233 return nvenc_api.nvEncCreateBitstreamBuffer (encoder, bb); in NvEncCreateBitstreamBuffer()
239 g_assert (nvenc_api.nvEncLockBitstream != NULL); in NvEncLockBitstream()
240 return nvenc_api.nvEncLockBitstream (encoder, lock_bs); in NvEncLockBitstream()
246 g_assert (nvenc_api.nvEncUnlockBitstream != NULL); in NvEncUnlockBitstream()
247 return nvenc_api.nvEncUnlockBitstream (encoder, bb); in NvEncUnlockBitstream()
253 g_assert (nvenc_api.nvEncDestroyBitstreamBuffer != NULL); in NvEncDestroyBitstreamBuffer()
254 return nvenc_api.nvEncDestroyBitstreamBuffer (encoder, bit_buf); in NvEncDestroyBitstreamBuffer()
260 g_assert (nvenc_api.nvEncEncodePicture != NULL); in NvEncEncodePicture()
261 return nvenc_api.nvEncEncodePicture (encoder, pic_params); in NvEncEncodePicture()
953 nvenc_api.version = GST_NVENCAPI_STRUCT_VERSION (2, gst_nvenc_api_version); in gst_nvenc_load_library()
954 ret = nvEncodeAPICreateInstance (&nvenc_api); in gst_nvenc_load_library()