-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #311 from t20100/fcidecomp
Updated Fcidecomp plugin (v2.0.1) and CharLS library (v2.1.0)
- Loading branch information
Showing
412 changed files
with
25,868 additions
and
5,730 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright (c) Team CharLS. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
BasedOnStyle: LLVM | ||
Language: Cpp | ||
|
||
# Use features of C++11, C++14 and C++17 (e.g. A<A<int>> instead of A<A<int> >) | ||
Standard: Cpp11 | ||
|
||
UseTab: Never | ||
IndentWidth: 4 | ||
ColumnLimit: 0 | ||
PointerAlignment: Left | ||
|
||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterClass: true | ||
AfterControlStatement: true | ||
AfterEnum: true | ||
AfterFunction: true | ||
AfterNamespace: false | ||
AfterObjCDeclaration: true | ||
AfterStruct: true | ||
AfterUnion: true | ||
BeforeCatch: true | ||
BeforeElse: true | ||
IndentBraces: false | ||
|
||
AccessModifierOffset: -4 | ||
AlignTrailingComments: true | ||
AllowShortFunctionsOnASingleLine: true | ||
AllowShortIfStatementsOnASingleLine: true | ||
AlwaysBreakTemplateDeclarations: true | ||
BreakConstructorInitializers: AfterColon | ||
CompactNamespaces: true | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeCpp11BracedList: false | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
MaxEmptyLinesToKeep: 2 | ||
NamespaceIndentation: None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,57 @@ | ||
# Copyright (c) Team CharLS. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
root = true | ||
|
||
[{src}/**.{h,cpp}] | ||
# Default settings | ||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
trim_trailing_whitespace = true | ||
|
||
[*.{h,cpp}] | ||
indent_size = 4 | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[CMakeLists.txt] | ||
indent_size = 2 | ||
|
||
[*.cs] | ||
indent_size = 4 | ||
|
||
# New line preferences | ||
csharp_new_line_before_catch = true | ||
csharp_new_line_before_else = true | ||
csharp_new_line_before_open_brace = control_blocks, types, methods, object_collection, accessors, properties | ||
|
||
# Indentation preferences | ||
csharp_indent_case_contents = true | ||
csharp_indent_switch_labels = true | ||
|
||
# Space preferences | ||
csharp_space_after_cast = false | ||
csharp_space_after_colon_in_inheritance_clause = true | ||
csharp_space_after_keywords_in_control_flow_statements = true | ||
csharp_space_before_colon_in_inheritance_clause = true | ||
csharp_space_between_method_call_empty_parameter_list_parentheses = false | ||
csharp_space_between_method_call_name_and_opening_parenthesis = false | ||
csharp_space_between_method_call_parameter_list_parentheses = false | ||
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false | ||
csharp_space_between_method_declaration_parameter_list_parentheses = false | ||
|
||
csharp_preserve_single_line_blocks = true | ||
|
||
csharp_style_expression_bodied_constructors = false:suggestion | ||
csharp_style_expression_bodied_methods = false:suggestion | ||
csharp_style_expression_bodied_properties = true:suggestion | ||
csharp_style_inlined_variable_declaration = false:suggestion | ||
csharp_style_var_for_built_in_types = true:suggestion | ||
csharp_style_var_when_type_is_apparent = true:suggestion | ||
|
||
dotnet_sort_system_directives_first = true | ||
|
||
dotnet_style_predefined_type_for_member_access = true:suggestion | ||
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion | ||
dotnet_style_qualification_for_field = false:suggestion | ||
dotnet_style_qualification_for_method = false:suggestion | ||
dotnet_style_qualification_for_property = false:suggestion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,22 @@ | ||
dist: bionic | ||
|
||
language: cpp | ||
|
||
compiler: | ||
- gcc | ||
- clang | ||
|
||
install: | ||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi | ||
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
- llvm-toolchain-precise-3.7 | ||
packages: | ||
- gcc-4.8 | ||
- g++-4.8 | ||
- clang-3.7 | ||
|
||
sudo: false | ||
|
||
before_script: | ||
- mkdir debug | ||
- cd debug | ||
- cmake -DCMAKE_BUILD_TYPE=Debug .. | ||
- cmake -DCMAKE_BUILD_TYPE=Debug -DCHARLS_PEDANTIC_WARNINGS=On -DCHARLS_THREAT_WARNINGS_AS_ERRORS=On .. | ||
|
||
script: make | ||
script: make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [2.1.0] - 2019-12-29 | ||
|
||
### Added | ||
|
||
- Two new C++ classes (jpegls_encoder \ jpegls_decoder) have been added to make it much easier to use CharLS from C++ | ||
- A new C API (charls_xxx functions) was added to provide a more stable ABI for future updates. The old API calls are internally forwarded to the new API. | ||
- CharLS can now read and write JPEG-LS standard SPIFF headers | ||
- Support has been added to detect the unsupported JPEG-LS extension (ISO/IEC 14495-2) SOF_57 marker and IDs in LSE marker | ||
- The unit test project has been extended and now includes 188 tests. | ||
- Support has been added to encode\decode 4 component images in all interleave modes | ||
|
||
### Deprecated | ||
|
||
- The legacy 1.x\2.0 C API has been marked as deprecated. This legacy API will be maintained until the next major upgrade. | ||
Future 2.x updates will start to mark the legacy types and functions with the C++ ```[[deprecated]]``` attribute. | ||
|
||
### Changed | ||
|
||
- charls_error has been replaced by a C++11 compatible jpegls_errc error code enum design | ||
- The included C and C++ sample have been updated to use the new C\C++ API | ||
- Improved the validation of the JPEG-LS stream during decoding | ||
- #pragma once is now used to prevent that header files are included multiple times (supported by all modern C++ compilers) | ||
- The referenced NuGet packages of the .NET wrapper assembly are updated to their latest versions | ||
- The CMake build script has been updated to modern CMake and requires at least CMake 3.9 | ||
- All types are now in the charls C++ namespace | ||
- All source code files now use the SPDX Unique License Identifiers (BSD-3-Clause) to identify the license | ||
|
||
### Removed | ||
|
||
- Support to write JFIF headers during encoding has been removed. JFIF headers were already skipped when present during decoding. | ||
SPIFF headers should be used when creating standalone .jls files | ||
- Support for .NET Code Contracts has been removed as this technology is being phased out by Microsoft | ||
|
||
### Fixed | ||
|
||
- Fixed [#7](https://github.com/team-charls/charls/issues/7), How to compile CharLS with Xcode has been documented in the Wiki | ||
- Fixed [#44](https://github.com/team-charls/charls/issues/44), Only the API functions should be exported from a Linux shared library | ||
- Fixes [#35](https://github.com/team-charls/charls/issues/35), Encoding will fail if the bit per sample is greater than 8, and a custom RESET value is used | ||
- Fixes [#51](https://github.com/team-charls/charls/issues/51), The default threshold values are not corrected computed for 6 bit images or less | ||
- Fixed the ASSERT in the ModuloRange function, which would trigger false assertions in debug builds | ||
|
||
## [2.0.0] - 2016-5-18 | ||
|
||
### Changed | ||
|
||
- Updated the source code to C++14 | ||
- Refactored several APIs to make usage of the library easier | ||
|
||
### Fixed | ||
|
||
- Fixes [#10](https://github.com/team-charls/charls/issues/10), Fixed the problem that "output buffer to small" was not detected when writing encoded bytes to a fixed output buffer. This could cause memory corruption problems | ||
- Fixes [11](https://github.com/team-charls/charls/issues/11), Update charlstest to return EXIT_SUCCESS/FAILURE | ||
- Fixed the issue that DecodeToPnm would set params.colorTransform = ColorTransformation::BigEndian but the library didn’t support this option during decoding | ||
|
||
## [1.1.0] - 2016-5-15 | ||
|
||
### Fixed | ||
|
||
- Fixes [#9](https://github.com/team-charls/charls/issues/9) EncoderStrategy::AppendToBitStream method fails if buffer is full, 31 bits are added and xFF bytes are written | ||
|
||
## [1.0.0] - 2010-11-18 | ||
|
||
First release of the CharLS JPEG-LS codec. |
Oops, something went wrong.