killodigital.blogg.se

Nvidia mpeg 2 decoder
Nvidia mpeg 2 decoder





nvidia mpeg 2 decoder
  1. #Nvidia mpeg 2 decoder software
  2. #Nvidia mpeg 2 decoder code

HRESULT ResetToDefaults ( eMPEG2DecoderApiLevel ApiLevel) This method is automatically called by the property page when you apply modified settings by clicking the Apply or OK button. Writes the values of all of the properties listed above to the system registry, so that the decoder will remember these settings the next time it is used. GPUCount indicates the number of CUDA-capable devices and can be obtained calling the GetCUDAInfo method. If you wish to change the selection, set the PreferredCUDADevice property to the device you wish to use (value between 0 and GPU_Count - 1).

#Nvidia mpeg 2 decoder code

In this case, the return code from the call to change the property will be LTMM_S_WRONG_STATE (0x00050055).Ī 0-based read-only property that can be used to find out which CUDA device will be used for conversion. If you change the preferred CUDA device while the graph is running, the change will take effect when the graph is restarted. If the AutoSelect mode is used (if this property is -1), then you can find out which device will actually be used by getting the SelectedCUDADevice property. You can also call it to find out which device will be used.

nvidia mpeg 2 decoder

The GPUCount indicates the number of CUDA-capable devices and can be obtained calling the GetCUDAInfo method. A burnout situation can occur if the fan does not cool the card properly in this situation, the card can be permanently destroyed by over-use. Decodings will be faster and you will also avoid burnout situations. In general, it is better for operations to be balanced among the existing CUDA devices. N (between 0 and GPUCount - 1), indicates the decoder will use device N regardless of whether it is already in use or not.-1 (default), which indicates the decoder will automatically select the CUDA device (AutoSelect mode).The property can be set to the following values: You can set this property to indicate which device to use. This property is useful only when the decoder is using the NVIDIA CUDA hardware acceleration and the system has more than one NVIDIA graphics card with CUDA capabilities. The property page calls this property when you enable/disable the hardware acceleration check boxes.Ī read-write property indicating which CUDA device to use (0-based). In other words, if you do not call this property and enable acceleration, the acceleration will not be used. Hardware acceleration is disabled by default because some streams are not supported by hardware acceleration decoders. if the Capability property does not return a value that has the MPEG2DecodingCapability_CUDA flag set). This property is ignored if the computer is not capable of CUDA hardware acceleration (i.e. If this decoding engine is not enabled, the decoder will not use CUDA hardware acceleration even if the computer is capable of CUDA hardware acceleration. MPEG2DecodingEngine_CUDA : NVIDIA CUDA hardware acceleration. if the Capability property does not contain MPEG2DecodingCapability_QuickSync). This property is ignored if the computer is not capable of Quick Sync hardware acceleration (i.e. If this decoding engine is not enabled, the decoder will not use Quick Sync Video hardware acceleration even if the computer is capable of Quick Sync hardware acceleration. MPEG2DecodingEngine_QuickSync : Intel Quick Sync Video hardware acceleration. The decodingEngine parameter indicates which engine to enable or disable.Ĭurrently the following values can be passed for decodingEngine: If you detect this event, it is recommended that you disable the hardware decoding engine and try playing/converting the stream again.ĮnableDecodingEngine( eMPEG2DecodingEngine decodingEngine)įlag that indicates whether a certain decompression engine should be used. If you try to play/convert a stream using hardware acceleration and the decoder does not output a single frame, the decoder will send the ltmmEC_No_Samples_Delivered (0xA001) event with the lParam1 value set to the active decoding engine (MPEG2DecodingEngine_CUDA_Hardware or MPEG2DecodingEngine_QuickSync_Hardware).

#Nvidia mpeg 2 decoder software

For example, video streams containing only P frames can be decoded when you use the software decompression but not when you use hardware acceleration (Quick Sync Video or CUDA).

nvidia mpeg 2 decoder nvidia mpeg 2 decoder

The hardware acceleration is disabled by default because some video streams will not play properly with hardware acceleration.







Nvidia mpeg 2 decoder