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