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 __COLORCOMP_H__ 00026 #define __COLORCOMP_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 CJPEGColorComponent 00039 { 00040 public: 00041 int m_id; 00042 int m_comp_no; 00043 int m_hsampling; 00044 int m_vsampling; 00045 int m_h_factor; 00046 int m_v_factor; 00047 int m_nblocks; 00048 int m_q_selector; 00049 int m_dc_selector; 00050 int m_ac_selector; 00051 int m_ac_scan_completed; 00052 Ipp16s m_lastDC; 00053 00054 Ipp8u* m_cc_buffer; 00055 Ipp8u* m_ss_buffer; 00056 Ipp8u* m_top_row; 00057 Ipp8u* m_bottom_row; 00058 00059 Ipp16s* m_curr_row; 00060 Ipp16s* m_prev_row; 00061 00062 CJPEGColorComponent(void); 00063 virtual ~CJPEGColorComponent(void); 00064 00065 }; 00066 00067 00068 #endif // __COLORCOMP_H__ 00069