colorcomp.cpp

来自「这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数」· C++ 代码 · 共 55 行

CPP
55
字号
/*////               INTEL CORPORATION PROPRIETARY INFORMATION//  This software is supplied under the terms of a license agreement or//  nondisclosure agreement with Intel Corporation and may not be copied//  or disclosed except in accordance with the terms of that agreement.//    Copyright (c) 2001-2005 Intel Corporation. All Rights Reserved.//*/#include "precomp.h"#ifndef __COLORCOMP_H__#include "colorcomp.h"#endifCJPEGColorComponent::CJPEGColorComponent(void){  m_id          = 0;  m_comp_no     = 0;  m_hsampling   = 0;  m_vsampling   = 0;  m_h_factor    = 0;  m_v_factor    = 0;  m_nblocks     = 0;  m_q_selector  = 0;  m_dc_selector = 0;  m_ac_selector = 0;  m_cc_buffer   = 0;  m_ss_buffer   = 0;  m_lastDC      = 0;  m_ac_scan_completed = 0;  return;} // ctorCJPEGColorComponent::~CJPEGColorComponent(void){  if(0 != m_cc_buffer)  {    ippFree(m_cc_buffer);    m_cc_buffer = 0;  }  if(0 != m_ss_buffer)  {    ippFree(m_ss_buffer);    m_ss_buffer = 0;  }  return;} // dtor;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?