Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: core/include/fxcrt/fx_basic.h

Issue 403163002: CalRGB color correction (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Clean up Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _FX_BASIC_H_ 7 #ifndef _FX_BASIC_H_
8 #define _FX_BASIC_H_ 8 #define _FX_BASIC_H_
9 #ifndef _FX_SYSTEM_H_ 9 #ifndef _FX_SYSTEM_H_
10 #include "fx_system.h" 10 #include "fx_system.h"
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 typedef enum { 1573 typedef enum {
1574 Ready, 1574 Ready,
1575 ToBeContinued, 1575 ToBeContinued,
1576 Found, 1576 Found,
1577 NotFound, 1577 NotFound,
1578 Failed, 1578 Failed,
1579 Done 1579 Done
1580 } FX_ProgressiveStatus; 1580 } FX_ProgressiveStatus;
1581 #define ProgressiveStatus FX_ProgressiveStatus 1581 #define ProgressiveStatus FX_ProgressiveStatus
1582 #define FX_NAMESPACE_DECLARE(namespace, type) namespace::type 1582 #define FX_NAMESPACE_DECLARE(namespace, type) namespace::type
1583
1584 class CFX_Vector_3by1 : public CFX_Object
1585 {
1586 public:
1587
1588 CFX_Vector_3by1() :
1589 a(0.0f), b(0.0f), c(0.0f)
1590 {}
1591
1592 CFX_Vector_3by1(FX_FLOAT a1, FX_FLOAT b1, FX_FLOAT c1):
1593 a(a1), b(b1), c(c1)
1594 {}
1595
1596 FX_FLOAT a;
1597 FX_FLOAT b;
1598 FX_FLOAT c;
1599 };
1600 class CFX_Matrix_3by3 : public CFX_Object
1601 {
1602 public:
1603
1604 CFX_Matrix_3by3():
1605 a(0.0f), b(0.0f), c(0.0f), d(0.0f), e(0.0f), f(0.0f), g(0.0f), h(0.0f), i(0.0f)
1606 {}
1607
1608 CFX_Matrix_3by3(FX_FLOAT a1, FX_FLOAT b1, FX_FLOAT c1, FX_FLOAT d1, FX_FLOAT e1, FX_FLOAT f1, FX_FLOAT g1, FX_FLOAT h1, FX_FLOAT i1) :
1609 a(a1), b(b1), c(c1), d(d1), e(e1), f(f1), g(g1), h(h1), i(i1)
1610 {}
1611
1612 CFX_Matrix_3by3 Inverse();
1613
1614 CFX_Matrix_3by3 Multiply(const CFX_Matrix_3by3 &m);
1615
1616 CFX_Vector_3by1 TransformVector(const CFX_Vector_3by1 &v);
1617
1618 FX_FLOAT a;
1619 FX_FLOAT b;
1620 FX_FLOAT c;
1621 FX_FLOAT d;
1622 FX_FLOAT e;
1623 FX_FLOAT f;
1624 FX_FLOAT g;
1625 FX_FLOAT h;
1626 FX_FLOAT i;
1627 };
1628
1583 #endif 1629 #endif
OLDNEW
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698