Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Apple Video

From Wikipedia, the free encyclopedia
Lossy video codec developed by Apple Inc.; also known as QuickTime Video
"RPZA" redirects here. For reduced pressure zone assemblies in water supply, seeReduced pressure zone device.

Apple Video is alossy video compression and decompression algorithm (codec) developed byApple Inc. and first released as part ofQuickTime 1.0 in 1991.[1] The codec is also known asQuickTime Video, by itsFourCCRPZA and the nameRoad Pizza.[2][3] (The codename "Road Pizza" is a reference to the idea that "when you run over an animal, you're basically compressing it on the freeway".[4]) When used in theAVIcontainer, the FourCCAZPR is also used.[3]

The bit-stream format of Apple Video has been reverse-engineered and a decoder has been implemented in the projects XAnim andLibavcodec.[2][5]

Technical Details

[edit]

The codec operates on 4×4 blocks of pixels in theRGB colorspace. Each frame is segmented into 4×4 blocks in raster-scan order. Each block is coded in one of four coding modes: skip, single color, four color, or 16 color.[3] Colors are represented by 16 bits with abit-depth of 5 bit for each of the three components red, green, and blue, a format known asRGB555.[3] 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 Video is lower.

Skip mode

[edit]

The skip mode realizes conditional 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.[3] Runs of skip blocks are coded in arun-length encoding scheme, enabling a high compression ratio in static areas of the picture.[3]

Single color mode

[edit]

In single color mode, all pixels in a block are decoded in the same color.[3] This can be interpreted as apalette with a single color.

Four color mode

[edit]

In four color mode, each pixel in a block is decoded as one of four colors which are specified in a palette.[3] To select one of the four entries, 2 bits per pixel are written to the bit-stream. The same palette is used for a run of length between one and 32 blocks.[3] Of the four colors, two are explicitly written to the bit-stream, while the other two are calculated at the decoder bylinear interpolation in the RGB colorspace using the following equations:

color1=2132color0+1132color323color0+13color3{\displaystyle \mathrm {color1} ={\frac {21}{32}}*\mathrm {color0} +{\frac {11}{32}}*\mathrm {color3} \approx {\frac {2}{3}}*\mathrm {color0} +{\frac {1}{3}}*\mathrm {color3} }
color2=1132color0+2132color313color0+23color3{\displaystyle \mathrm {color2} ={\frac {11}{32}}*\mathrm {color0} +{\frac {21}{32}}*\mathrm {color3} \approx {\frac {1}{3}}*\mathrm {color0} +{\frac {2}{3}}*\mathrm {color3} }

where color0 and color3 are the two colors which are written in the bit-stream.[3] The four colors can be interpreted as lying equidistantly spaced on a line segment in the three-dimensional vector space with the three components red, green, and blue. The end-points of this line are written in the bit-stream. A similar color-interpolation scheme is used inS3 Texture Compression.

Interpreted asvector quantization, a three-dimensional vector with the components red, green, and blue isquantized using a codebook with four entries.

16 color mode

[edit]

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

See also

[edit]

References

[edit]
  1. ^Guillermo A. Ortiz (Summer 1991)."QuickTime 1.0: "You oughta be in pictures""(PDF). Apple Computer. Retrieved14 April 2013.
  2. ^ab"FFmpeg Documentation".FFmpeg. Retrieved4 April 2013.
  3. ^abcdefghijk"Apple RPZA".MultimediaWiki. 11 December 2008. Retrieved4 April 2013.
  4. ^"CHM Live: The Origins of QuickTime". Computer History Museum.
  5. ^Mark Podlipec (10 December 1997)."xanim.2.70.6.4.2 README".XAnim. Archived fromthe original on 28 December 2015. Retrieved4 April 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=Apple_Video&oldid=1237410999"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp