File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1021,9 +1021,11 @@ Parameters( ) { |
1021
1021
colorspace_type | ur
1022
1022
if (version >= 1) |
1023
1023
bits_per_raw_sample | ur
1024
- chroma_planes | br
1025
- log2_h_chroma_subsample | ur
1026
- log2_v_chroma_subsample | ur
1024
+ if (colorspace_type <= 1) { |
1025
+ chroma_planes | br
1026
+ log2( h_chroma_subsample ) | ur
1027
+ log2( v_chroma_subsample ) | ur
1028
+ } |
1027
1029
alpha_plane | br
1028
1030
if (version >= 3) { |
1029
1031
num_h_slices - 1 | ur
@@ -1112,6 +1114,7 @@ If state_transition_delta is not present in the FFV1 bitstream, all Range coder
1112
1114
|-------|:--------------------------------|:--------------------------------|:--------------------------------|
1113
1115
| 0 | YCbCr | No Pixel transformation | plane then line |
1114
1116
| 1 | RGB | JPEG2000-RCT | line then plane |
1117
+ | 2 | BGGR (Bayer) | YDgCoCg-R | line then plane |
1115
1118
| Other | reserved for future use | reserved for future use | reserved for future use |
1116
1119
1117
1120
Restrictions:
You can’t perform that action at this time.
0 commit comments