Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_cmyk_to_srgb.h
Go to the documentation of this file.
1// Copyright 2019 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FXGE_DIB_CFX_CMYK_TO_SRGB_H_
8#define CORE_FXGE_DIB_CFX_CMYK_TO_SRGB_H_
9
10#include <stdint.h>
11
12#include "core/fxge/dib/fx_dib.h"
13
14namespace fxge {
15
16FX_RGB_STRUCT<float> AdobeCMYK_to_sRGB(float c, float m, float y, float k);
17FX_RGB_STRUCT<uint8_t> AdobeCMYK_to_sRGB1(uint8_t c,
18 uint8_t m,
19 uint8_t y,
20 uint8_t k);
21
22} // namespace fxge
23
24using fxge::AdobeCMYK_to_sRGB;
25using fxge::AdobeCMYK_to_sRGB1;
26
27#endif // CORE_FXGE_DIB_CFX_CMYK_TO_SRGB_H_
#define DCHECK
Definition check.h:33
std::vector< RetainPtr< CPDF_Object > >::const_iterator const_iterator
Definition cpdf_array.h:29
Family GetFamily() const
CPDF_ColorSpace(Family family)
static uint32_t ComponentsForFamily(Family family)
bool IsStdConversionEnabled() const
void SetComponentsForStockCS(uint32_t nComponents)
~CPDF_DeviceCS() override
std::optional< FX_RGB_STRUCT< float > > GetRGB(pdfium::span< const float > pBuf) const override
void TranslateImageLine(pdfium::span< uint8_t > dest_span, pdfium::span< const uint8_t > src_span, int pixels, int image_width, int image_height, bool bTransMask) const override
uint32_t v_Load(CPDF_Document *pDoc, const CPDF_Array *pArray, std::set< const CPDF_Object * > *pVisited) override
void ReverseRGB(pdfium::span< uint8_t > pDestBuf, pdfium::span< const uint8_t > pSrcBuf, int pixels)
Definition fx_codec.cpp:23
FX_RGB_STRUCT< float > AdobeCMYK_to_sRGB(float c, float m, float y, float k)
FX_RGB_STRUCT< uint8_t > AdobeCMYK_to_sRGB1(uint8_t c, uint8_t m, uint8_t y, uint8_t k)
#define NOTREACHED_NORETURN()
Definition notreached.h:22
#define CHECK(cvref)