We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b1d100 commit 66622e4Copy full SHA for 66622e4
src/torchcodec/_core/DeviceInterface.h
@@ -142,10 +142,6 @@ class DeviceInterface {
142
// Pixel format used for encoding on CUDA devices
143
static constexpr AVPixelFormat CUDA_ENCODING_PIXEL_FORMAT = AV_PIX_FMT_NV12;
144
145
- // Function used for video encoding, only implemented in CudaDeviceInterface.
146
- // It is here to isolate CUDA dependencies from CPU builds
147
- // TODO Video-Encoder: Reconsider using video encoding functions in device
148
- // interface
149
virtual UniqueAVFrame convertTensorToAVFrameForEncoding(
150
[[maybe_unused]] const torch::Tensor& tensor,
151
[[maybe_unused]] int frameIndex,
0 commit comments