Compressing Media Types Flashcards Preview

Higher Computing (ISDD) > Compressing Media Types > Flashcards

Flashcards in Compressing Media Types Deck (12)
Loading flashcards...
1
Q

Lossy Compression

A

Once the file is compressed the original data file can never be recreated (uncompressed)
Data removed lost forever

2
Q

Lossless Compression

A

Data encoded in a way which allows file to be uncompressed

This recreates original file

3
Q

Run length encoding

A

Analyses a bit-mapped image for repeating pixel colours
Single value for colour is stored where colour appears more than once in a row
Note of the number of times which the colour is repeated

4
Q

LZW encoding (Give an example of what it is used on as well as explanation)

A

Looks for repeating patterns of pixels
Dictionary of patterns is created
Dictionary replaces repeating patterns with a code
New data and the dictionary are saved in compressed file
Eg Used on GIF files

5
Q

DCT encoding (Give an example of what it is used on as well as explanation)

A

Mathematical algorithm applied to groups of 64 pixels
Each group is saved in compressed form
Groups uncompressed when graphic is viewed
This recreates an approximation of the original groups which are joined to complete the image
Eg Used on JPEG files

6
Q

Vector Graphic Encoding (Give an example of what it is used on as well as explanation)

A

Properties of objects stored using text
Similar objects stored
Repeating patterns of characters in text file
Patterns stored in a shorter form within a dictionary
Eg SVG graphics

7
Q

Perceptual Noise Shaping

A

MP3 files compressed to a tenth of the original file size

Retains high sound quality because focuses on removing data that the human ear cannot easily hear

8
Q

Techniques used by perceptual noise shaping

A

Quiet sound next to a loud sound is removed when they are of a similar frequency
Human ear has difficulty with extreme high and low frequencies and so these are removed
Low base sound changed from stereo to a single mono sound as human ear cannot detect direction from which base sounds are coming

9
Q

Inter frame compression

A

Only stores information changes between each frame of a video
Reference I-frame stored at regular intervals
Algorithm searches for blocks of pixels which stay the same between frames following this
Position of these blocks is stored in the I-frame
Compression achieved determined by number of differences between frames

10
Q

Intra frame compression

A

Same as inter frame compression
But treats each frame of the video as a separate bit-mapped graphic and
Compresses the frames using similar techniques

11
Q

Codecs

A

Accompanying sound for a video also compressed
Technique variety used stored in a codec
Video playing software must have the same codec installed to view the compressed video

12
Q

Large file sizes cause the problems of…

A

Longer download/opening times
Increased storage requirements
More demanding hardware requirements