<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
<entry>
  <name>jpegNPP</name>
  <cuda_api_list>
    <toolkit>nppGetGpuComputeCapability</toolkit>
    <toolkit>nppiDCTInitAlloc</toolkit>
    <toolkit>nppiDecodeHuffmanScanHost_JPEG_8u16s_P3R</toolkit>
    <toolkit>nppiDCTQuantInv8x8LS_JPEG_16s8u_C1R_NEW</toolkit>
    <toolkit>nppiResizeSqrPixel_8u_C1R</toolkit>
    <toolkit>nppiEncodeHuffmanGetSize</toolkit>
    <toolkit>nppiDCTFree</toolkit>
  </cuda_api_list>
  <description><![CDATA[This sample demonstrates a simple image processing pipeline. First, a JPEG file is huffman decoded and inverse DCT transformed and dequantized. Then the different planes are resized. Finally, the resized image is quantized, forward DCT transformed and huffman encoded.]]></description>
  <devicecompilation>whole</devicecompilation>
  <fallback_min_ptx>true</fallback_min_ptx>
  <files>
    <file>..\..\common\data\Growth_of_cubic_bacteria_25x16.jpg</file>
  </files>
  <includepaths>
    <path>../common/UtilNPP</path>
    <path>../common/FreeImage/include</path>
    <path>./</path>
    <path>../</path>
    <path>../../common/inc</path>
  </includepaths>
  <keywords>
    <keyword>CUDA</keyword>
    <keyword>NPP</keyword>
    <keyword>JPEG</keyword>
    <keyword>Image Processing</keyword>
    <keyword>Image Compression</keyword>
  </keywords>
  <libraries>
    <library>nppisu</library>
    <library>nppicom</library>
    <library>nppig</library>
    <library>nppc</library>
    <library>freeimage</library>
  </libraries>
  <librarypaths>
    <path>../common/FreeImage/lib/$(TARGET_OS)</path>
    <path>../common/FreeImage/lib/$(TARGET_OS)/$(TARGET_ARCH)</path>
  </librarypaths>
  <nsight_eclipse>true</nsight_eclipse>
  <primary_file>jpegNPP.cpp</primary_file>
  <required_dependencies>
    <dependency>FreeImage</dependency>
    <dependency>NPP</dependency>
  </required_dependencies>
  <scopes>
    <scope>1:CUDA Basic Topics</scope>
    <scope>1:Performance Strategies</scope>
    <scope>2:Computer Vision</scope>
  </scopes>
  <sm-arch>sm30</sm-arch>
  <sm-arch>sm35</sm-arch>
  <sm-arch>sm37</sm-arch>
  <sm-arch>sm50</sm-arch>
  <sm-arch>sm52</sm-arch>
  <sm-arch>sm60</sm-arch>
  <sm-arch>sm61</sm-arch>
  <sm-arch>sm70</sm-arch>
  <sm-arch>sm75</sm-arch>
  <supported_envs>
    <env>
      <arch>x86_64</arch>
      <platform>linux</platform>
    </env>
    <env>
      <platform>windows7</platform>
    </env>
    <env>
      <arch>x86_64</arch>
      <platform>macosx</platform>
    </env>
    <env>
      <arch>arm</arch>
    </env>
    <env>
      <arch>ppc64le</arch>
      <platform>linux</platform>
    </env>
  </supported_envs>
  <supported_sm_architectures>
    <include>all</include>
  </supported_sm_architectures>
  <title>JPEG encode/decode and resize with NPP</title>
  <type>exe</type>
</entry>
