Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 21f45bf

Browse files
committedJan 5, 2018
Move planes order to the Components sections
No modification of text
1 parent 64b63de commit 21f45bf

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed
 

‎ffv1.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,15 @@ Background: in first implementations of FFV1 bitstream, the index for Cb and Cr
291291

292292
FFV1 supports 1 Luma component, optionally 2 Chroma components, and optionally 1 Alpha component that can be used to code transparency data.
293293

294+
The Cb and Cr planes are optional, but if used then MUST be used together. Omitting the Cb and Cr planes codes the frames in grayscale without color data. An FFV1 `Frame` using YCbCr MUST use one of the following arrangements:
295+
296+
- Y
297+
- Y, Alpha
298+
- Y, Cb, Cr
299+
- Y, Cb, Cr, Alpha
300+
301+
When FFV1 uses no Pixel transformation, the Y plane MUST be coded first. If the Cb and Cr planes are used then they MUST be coded after the Y plane. If an Alpha (transparency) plane is used, then it MUST be coded last.
302+
294303
## Pixel transformations
295304

296305
Pixel transformations permit to modify the pixel data in a reversible way in order to improve the compression ratio, before being compressed. An example of usage is to compress RGB content which could have each component independently compressed but with a less optimal compression ratio.
@@ -301,15 +310,6 @@ Pixel transformation is indicated in the bitstream in order to permit the decode
301310

302311
There is no Pixel transformation, the source content is directly compressed.
303312

304-
The Cb and Cr planes are optional, but if used then MUST be used together. Omitting the Cb and Cr planes codes the frames in grayscale without color data. An FFV1 `Frame` using YCbCr MUST use one of the following arrangements:
305-
306-
- Y
307-
- Y, Alpha
308-
- Y, Cb, Cr
309-
- Y, Cb, Cr, Alpha
310-
311-
When FFV1 uses no Pixel transformation, the Y plane MUST be coded first. If the Cb and Cr planes are used then they MUST be coded after the Y plane. If an Alpha (transparency) plane is used, then it MUST be coded last.
312-
313313
### JPEG2000-RCT
314314

315315
JPEG2000-RCT is a Reversible Color Transform that codes RGB (red, green, blue) planes losslessly in a modified YCbCr color space. Reversible Pixel transformations between YCbCr and RGB use the following formulae.

0 commit comments

Comments
 (0)
Please sign in to comment.