File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,6 @@ void CudaDeviceInterface::convertAVFrameToFrameOutput(
227
227
NppiSize oSizeROI = {width, height};
228
228
Npp8u* input[2 ] = {avFrame->data [0 ], avFrame->data [1 ]};
229
229
230
- auto start = std::chrono::high_resolution_clock::now ();
231
230
NppStatus status;
232
231
if (avFrame->colorspace == AVColorSpace::AVCOL_SPC_BT709) {
233
232
status = nppiNV12ToRGB_709CSC_8u_P2C3R (
@@ -253,12 +252,6 @@ void CudaDeviceInterface::convertAVFrameToFrameOutput(
253
252
c10::cuda::getStreamFromExternal (nppGetStream (), device_.index ());
254
253
nppDoneEvent.record (nppStreamWrapper);
255
254
nppDoneEvent.block (at::cuda::getCurrentCUDAStream ());
256
-
257
- auto end = std::chrono::high_resolution_clock::now ();
258
-
259
- std::chrono::duration<double , std::micro> duration = end - start;
260
- VLOG (9 ) << " NPP Conversion of frame height=" << height << " width=" << width
261
- << " took: " << duration.count () << " us" << std::endl;
262
255
}
263
256
264
257
// inspired by https://github.com/FFmpeg/FFmpeg/commit/ad67ea9
You can’t perform that action at this time.
0 commit comments