mirror of
https://github.com/libjpeg-turbo/libjpeg-turbo.git
synced 2026-01-18 21:41:20 +01:00
Doc: Further clarify MCU definition
This commit is contained in:
Binary file not shown.
@@ -2199,14 +2199,17 @@ public static final int FLAG_LIMITSCANS</pre>
|
||||
<p>In a typical lossy JPEG image, 8x8 blocks of DCT coefficients for each
|
||||
component are interleaved in a single scan. If the image uses chrominance
|
||||
subsampling, then multiple luminance blocks are stored together, followed
|
||||
by a single block for each chrominance component. The combination of the
|
||||
full-resolution luminance block(s) and the (possibly subsampled)
|
||||
chrominance blocks corresponding to the same pixels is called a "Minimum
|
||||
Coded Unit" (MCU.) In a non-interleaved lossy JPEG image, each component
|
||||
is stored in a separate scan, and an MCU is a single DCT block, so we use
|
||||
the term "iMCU" (interleaved MCU) to refer to the equivalent of an MCU in
|
||||
an interleaved JPEG image. For the common case of interleaved JPEG
|
||||
images, an iMCU is the same as an MCU.</div>
|
||||
by a single block for each chrominance component. The minimum set of
|
||||
full-resolution luminance block(s) and corresponding (possibly subsampled)
|
||||
chrominance blocks necessary to represent at least one DCT block per
|
||||
component is called a "Minimum Coded Unit" or "MCU". (For example, an MCU
|
||||
in an interleaved lossy JPEG image that uses 4:2:2 subsampling consists of
|
||||
two luminance blocks followed by one block for each chrominance
|
||||
component.) In a non-interleaved lossy JPEG image, each component is
|
||||
stored in a separate scan, and an MCU is a single DCT block, so we use the
|
||||
term "iMCU" (interleaved MCU) to refer to the equivalent of an MCU in an
|
||||
interleaved JPEG image. For the common case of interleaved JPEG images,
|
||||
an iMCU is the same as an MCU.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>subsamp</code> - the level of chrominance subsampling (one of
|
||||
@@ -2228,14 +2231,17 @@ public static final int FLAG_LIMITSCANS</pre>
|
||||
<p>In a typical lossy JPEG image, 8x8 blocks of DCT coefficients for each
|
||||
component are interleaved in a single scan. If the image uses chrominance
|
||||
subsampling, then multiple luminance blocks are stored together, followed
|
||||
by a single block for each chrominance component. The combination of the
|
||||
full-resolution luminance block(s) and the (possibly subsampled)
|
||||
chrominance blocks corresponding to the same pixels is called a "Minimum
|
||||
Coded Unit" (MCU.) In a non-interleaved lossy JPEG image, each component
|
||||
is stored in a separate scan, and an MCU is a single DCT block, so we use
|
||||
the term "iMCU" (interleaved MCU) to refer to the equivalent of an MCU in
|
||||
an interleaved JPEG image. For the common case of interleaved JPEG
|
||||
images, an iMCU is the same as an MCU.</div>
|
||||
by a single block for each chrominance component. The minimum set of
|
||||
full-resolution luminance block(s) and corresponding (possibly subsampled)
|
||||
chrominance blocks necessary to represent at least one DCT block per
|
||||
component is called a "Minimum Coded Unit" or "MCU". (For example, an MCU
|
||||
in an interleaved lossy JPEG image that uses 4:2:2 subsampling consists of
|
||||
two luminance blocks followed by one block for each chrominance
|
||||
component.) In a non-interleaved lossy JPEG image, each component is
|
||||
stored in a separate scan, and an MCU is a single DCT block, so we use the
|
||||
term "iMCU" (interleaved MCU) to refer to the equivalent of an MCU in an
|
||||
interleaved JPEG image. For the common case of interleaved JPEG images,
|
||||
an iMCU is the same as an MCU.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>subsamp</code> - the level of chrominance subsampling (one of
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -126,14 +126,17 @@ public final class TJ {
|
||||
* <p>In a typical lossy JPEG image, 8x8 blocks of DCT coefficients for each
|
||||
* component are interleaved in a single scan. If the image uses chrominance
|
||||
* subsampling, then multiple luminance blocks are stored together, followed
|
||||
* by a single block for each chrominance component. The combination of the
|
||||
* full-resolution luminance block(s) and the (possibly subsampled)
|
||||
* chrominance blocks corresponding to the same pixels is called a "Minimum
|
||||
* Coded Unit" (MCU.) In a non-interleaved lossy JPEG image, each component
|
||||
* is stored in a separate scan, and an MCU is a single DCT block, so we use
|
||||
* the term "iMCU" (interleaved MCU) to refer to the equivalent of an MCU in
|
||||
* an interleaved JPEG image. For the common case of interleaved JPEG
|
||||
* images, an iMCU is the same as an MCU.
|
||||
* by a single block for each chrominance component. The minimum set of
|
||||
* full-resolution luminance block(s) and corresponding (possibly subsampled)
|
||||
* chrominance blocks necessary to represent at least one DCT block per
|
||||
* component is called a "Minimum Coded Unit" or "MCU". (For example, an MCU
|
||||
* in an interleaved lossy JPEG image that uses 4:2:2 subsampling consists of
|
||||
* two luminance blocks followed by one block for each chrominance
|
||||
* component.) In a non-interleaved lossy JPEG image, each component is
|
||||
* stored in a separate scan, and an MCU is a single DCT block, so we use the
|
||||
* term "iMCU" (interleaved MCU) to refer to the equivalent of an MCU in an
|
||||
* interleaved JPEG image. For the common case of interleaved JPEG images,
|
||||
* an iMCU is the same as an MCU.
|
||||
*
|
||||
* @param subsamp the level of chrominance subsampling (one of
|
||||
* {@link #SAMP_444 SAMP_*})
|
||||
@@ -156,14 +159,17 @@ public final class TJ {
|
||||
* <p>In a typical lossy JPEG image, 8x8 blocks of DCT coefficients for each
|
||||
* component are interleaved in a single scan. If the image uses chrominance
|
||||
* subsampling, then multiple luminance blocks are stored together, followed
|
||||
* by a single block for each chrominance component. The combination of the
|
||||
* full-resolution luminance block(s) and the (possibly subsampled)
|
||||
* chrominance blocks corresponding to the same pixels is called a "Minimum
|
||||
* Coded Unit" (MCU.) In a non-interleaved lossy JPEG image, each component
|
||||
* is stored in a separate scan, and an MCU is a single DCT block, so we use
|
||||
* the term "iMCU" (interleaved MCU) to refer to the equivalent of an MCU in
|
||||
* an interleaved JPEG image. For the common case of interleaved JPEG
|
||||
* images, an iMCU is the same as an MCU.
|
||||
* by a single block for each chrominance component. The minimum set of
|
||||
* full-resolution luminance block(s) and corresponding (possibly subsampled)
|
||||
* chrominance blocks necessary to represent at least one DCT block per
|
||||
* component is called a "Minimum Coded Unit" or "MCU". (For example, an MCU
|
||||
* in an interleaved lossy JPEG image that uses 4:2:2 subsampling consists of
|
||||
* two luminance blocks followed by one block for each chrominance
|
||||
* component.) In a non-interleaved lossy JPEG image, each component is
|
||||
* stored in a separate scan, and an MCU is a single DCT block, so we use the
|
||||
* term "iMCU" (interleaved MCU) to refer to the equivalent of an MCU in an
|
||||
* interleaved JPEG image. For the common case of interleaved JPEG images,
|
||||
* an iMCU is the same as an MCU.
|
||||
*
|
||||
* @param subsamp the level of chrominance subsampling (one of
|
||||
* {@link #SAMP_444 SAMP_*})
|
||||
|
||||
Reference in New Issue
Block a user