hw_context.h 176 Bytes
Newer Older
moto's avatar
moto committed
1
2
#pragma once

3
#include <libtorio/ffmpeg/ffmpeg.h>
moto's avatar
moto committed
4

moto-meta's avatar
moto-meta committed
5
namespace torio::io {
moto's avatar
moto committed
6
7
8
9
10

AVBufferRef* get_cuda_context(int index);

void clear_cuda_context_cache();

moto-meta's avatar
moto-meta committed
11
} // namespace torio::io