Skip to content

Commit 66622e4

Browse files
committed
comment
1 parent 3b1d100 commit 66622e4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/torchcodec/_core/DeviceInterface.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ class DeviceInterface {
142142
// Pixel format used for encoding on CUDA devices
143143
static constexpr AVPixelFormat CUDA_ENCODING_PIXEL_FORMAT = AV_PIX_FMT_NV12;
144144

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
149145
virtual UniqueAVFrame convertTensorToAVFrameForEncoding(
150146
[[maybe_unused]] const torch::Tensor& tensor,
151147
[[maybe_unused]] int frameIndex,

0 commit comments

Comments
 (0)