encqtbl.h
Go to the documentation of this file.
00001 /*
00002 //
00003 //               INTEL CORPORATION PROPRIETARY INFORMATION
00004 //  This software is supplied under the terms of a license agreement or
00005 //  nondisclosure agreement with Intel Corporation and may not be copied
00006 //  or disclosed except in accordance with the terms of that agreement.
00007 //    Copyright (c) 2001-2004 Intel Corporation. All Rights Reserved.
00008 //
00009 //  Intel® Integrated Performance Primitives JPEG Viewer Sample for Windows*
00010 //
00011 //  By downloading and installing this sample, you hereby agree that the
00012 //  accompanying Materials are being provided to you under the terms and
00013 //  conditions of the End User License Agreement for the Intel® Integrated
00014 //  Performance Primitives product previously accepted by you. Please refer
00015 //  to the file ipplic.htm located in the root directory of your Intel® IPP product
00016 //  installation for more information.
00017 //
00018 //  JPEG is an international standard promoted by ISO/IEC and other organizations.
00019 //  Implementations of these standards, or the standard enabled platforms may
00020 //  require licenses from various entities, including Intel Corporation.
00021 //
00022 //
00023 */
00024 
00025 #ifndef __ENCQTBL_H__
00026 #define __ENCQTBL_H__
00027 
00028 #ifndef __IPPJ_H__
00029 #include "ippj.h"
00030 #endif
00031 #ifndef __JPEGBASE_H__
00032 #include "jpegbase.h"
00033 #endif
00034 
00035 
00036 
00037 
00038 class CJPEGEncoderQuantTable
00039 {
00040 private:
00041   Ipp8u   m_rbf[DCTSIZE2+(CPU_CACHE_LINE-1)];
00042   Ipp8u   m_qbf[DCTSIZE2*sizeof(Ipp16u)+(CPU_CACHE_LINE-1)];
00043   Ipp16u* m_qnt;
00044   int     m_initialized;
00045 
00046 public:
00047   int     m_id;
00048   int     m_precision;
00049   Ipp8u*  m_raw;
00050 
00051   CJPEGEncoderQuantTable(void);
00052   virtual ~CJPEGEncoderQuantTable(void);
00053 
00054   JERRCODE Init(int id,int quality,Ipp8u raw[DCTSIZE2]);
00055 
00056   operator Ipp16u*() { return m_qnt; }
00057 };
00058 
00059 
00060 
00061 #endif // __ENCQTBL_H__


canon_vbc50i
Author(s): Cedric Pradalier
autogenerated on Mon Jan 6 2014 11:18:27