Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

QuickTime Graphics

From Wikipedia, the free encyclopedia
Video codec by Apple Inc
"Apple SMC" redirects here. For the SMC used in Intel-based Macintosh computers, seeSystem Management Controller.

QuickTime Graphics is alossy video compression and decompression algorithm (codec) developed byApple Inc. and first released as part ofQuickTime 1.x in the early 1990s.[1] The codec is also known by the nameApple Graphics and itsFourCCSMC.[2][1] The codec operates on 8-bit palettizedRGB data.[1] The bit-stream format of QuickTime Graphics has been reverse-engineered and a decoder has been implemented in the projectsXAnim andlibavcodec.[3][2]

Technical Details

[edit]

The input video that the codec operates on is in an 8-bitpalettizedRGB colorspace. Compression is achieved byconditional replenishment and by reducing the palette from 256 colors to a per-4×4 block adaptive palette of 1-16 colors. Because Apple Video operates in the image domain without motion compensation, decoding is much faster thanMPEG-style codecs which usemotion compensation and perform coding in atransform domain. As a tradeoff, the compression performance of Apple Graphics is lower. The decoding complexity is approximately 50% that of theQuickTime Animation codec.[4]

Each frame is segmented into 4×4 blocks in raster-scan order. Each block can be coded in one of the following coding modes: skip mode, single color, 2-, 4-, and 8 color palette modes, two repeat modes, and PCM.

Skip mode

[edit]

The skip mode realizesconditional replenishment. If a block is coded in skip mode, the content of the block at same location in the previous frame is copied to the current frame.[1] Runs of skip blocks are coded in arun-length encoding scheme, enabling a high compression ratio in static areas of the picture.[1]

Single color

[edit]

In single color mode, the entire 4×4 block is painted with a single color.[1] This mode can also be considered as a 1-color palette mode.

Palette (2, 4, or 8-color) modes

[edit]

In the palette modes, each 4×4 block is coded with a 2, 4, or 8-color palette.[1] To select one of the colors from the palette, 1, 2, or 3 bits per pixel are used, respectively. The palette can be written to the bitstream either explicitly or as a reference to an entry in the palette cache.[1] The palette cache is a set of three circular buffers which store the 256 most recently used palettes, one each for of the 2, 4, and 8-color modes.[1]

Interpreted asvector quantization, three-dimensional vectors with components red, green, and blue arequantized using a forward adaptive codebook with between 1 and 8 entries.

Repeat modes

[edit]

There are two different repeat modes.[1] In the single block repeat mode, the previous block is repeated a specified number of times.[1] In the two block repeat mode, the previous two blocks are repeated a specified number of times.[1]

PCM (16 color) mode

[edit]

In 16-color mode, the color of each pixel in a block is explicitly written to the bit-stream.[1] This mode is lossless and equivalent to rawPCM without any compression.

See also

[edit]

References

[edit]
  1. ^abcdefghijklm"Apple SMC".MultimediaWiki. 26 April 2011.Archived from the original on 15 May 2013. Retrieved4 May 2013.
  2. ^ab"FFmpeg Documentation".FFmpeg.Archived from the original on 29 June 2014. Retrieved4 May 2013.
  3. ^Mark Podlipec (10 December 1997)."xanim.2.70.6.4.2 README".XAnim. Archived fromthe original on 28 December 2015. Retrieved4 May 2013.
  4. ^"QuickTime Compression and Decompression Guide"(PDF). Apple Computer, Inc. 10 January 2006. Retrieved4 May 2013.

External links

[edit]
Video
compression
ISO,IEC,
MPEG
ITU-T,VCEG
SMPTE
TrueMotion and AOMedia
Chinese Standard
  • AVS1 P2/AVS+(GB/T 20090.2/16)
  • AVS2 P2(GB/T 33475.2,GY/T 299.1)
    • HDR Vivid(GY/T 358)
  • AVS3 P2(GY/T 368)
Others
Audio
compression
ISO,IEC,
MPEG
ITU-T
IETF
3GPP
ETSI
Bluetooth SIG
Chinese Standard
Others
Image
compression
IEC,ISO,IETF,
W3C,ITU-T,JPEG
Others
Containers
ISO,IEC
ITU-T
IETF
SMPTE
Others
Collaborations
Methods
Lists
SeeCompression methods for techniques andCompression software for codecs
Retrieved from "https://en.wikipedia.org/w/index.php?title=QuickTime_Graphics&oldid=1231148218"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp