dzhoshkun / cuda-learning

BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Benchmark a CIELAB color conversion pipeline #11

Closed dzhoshkun closed 6 years ago

dzhoshkun commented 6 years ago

Description

The following steps are a possible way to make video data available for GIFT-Grab-supported pipelines processing images on the GPU using the CIELAB color space using NVIDIA Performance Primitives (NPP):

  1. Capture image data in I420 color format
  2. Copy data from host to device
  3. Convert I420 data to BGR format
  4. Convert BGR data to CIELAB format
  5. Do process data
  6. Convert CIELAB data to BGR format
  7. Convert BGR data to I420 format
  8. Copy data from device back to host

The indirect conversions are because currently no direct conversion is supported by NPP.

Aim

The performance of this pipeline should be assessed by measuring the time it takes to perform steps 2, 3, 4, 6, 7, and 8 so as to know how much time is left for step 5 in a pre-defined frame rate configuration.

Variables

dzhoshkun commented 6 years ago

Possible roadmap:

dzhoshkun commented 6 years ago
dzhoshkun commented 6 years ago