nvenc: Port to GstCudaGraphicsResource
authorSeungha Yang <seungha.yang@navercorp.com>
Sun, 18 Aug 2019 05:09:16 +0000 (14:09 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Thu, 29 Aug 2019 09:45:25 +0000 (18:45 +0900)
commit338a32b67261db0e3b1000619a123970fbe2815f
tree38939303ea93907bee23e534fd5ee4bf255ab0b8
parentd0846f8eaba68aefd3bba11e7367ff68f630a078
nvenc: Port to GstCudaGraphicsResource

Register openGL resource only once per memory. Also if upstream
provides the registered information, reuse the information
instead of doing it again. This can improve performance dramatically
depending on system since the resource registration might cause
high overhead.
sys/nvcodec/gstnvbaseenc.c