Linux with Operating System Concepts



Download 5,65 Mb.
Pdf ko'rish
bet251/254
Sana22.07.2022
Hajmi5,65 Mb.
#840170
1   ...   246   247   248   249   250   251   252   253   254
Bog'liq
Linux-with-Operating-System-Concepts-Fox-Richard-CRC-Press-2014

Storage in Bytes
Abbreviation
Equivalent Text
1
1 byte
1 character
1024 (2
10
)
1 kilobyte
1000 characters, approximately 200 words in English which is 
approximately equal to 1 page of text
1 million (2
20
)
1 megabyte
1 million characters or approximately 1000 pages of text, or 
between 1 and 5 books of text
1 billion (2
30
)
1 gigabyte
1 billion characters would represent a few thousand books, a library
1 trillion (2
40
)
1 terabyte
A thousand libraries!


Appendix

643
125 megabytes of storage. Now instead of 250 kilobytes, we need 500 times the storage 
space! That is the cost of images.
What about video? To create video, we take a series of still images (pictures) and display 
them rapidly where each individual image will be nearly identical to the image that came 
before it. The number of images captured per second is known as the 
scan rate
. The higher 
the scan rate, the higher the quality of the overall video. The human eye is able to detect 
the flicker in video if the frame rate is below a certain threshold (about 12 frames or images 
per second), so we typically want a scan rate higher than this. Frame rates of at least 24 per 
second are desired and high-quality film has as many as 72 per second.
Let us assume we use a frame rate of 24 images per second and each image is 1000 
×
1000 
in color using a bitmap. This means 3 megabytes per frame, or 3*24 
=
72 megabytes per 
second. If the video lasts for 1 minute, we require 60*72 megabytes 
=
4320 megabytes or 
over 4 gigabytes. Now we are talking about some serious storage sizes.
If you have a computer that stores 8 gigabytes of memory, we could only store up to 
2 minutes of video in memory. Alternatively, we could fill a 1 terabyte hard disk with just 
about 4 hours’ worth of video. We need to use our disk storage space more wisely, particu-
larly when we want to move these video files over the Internet.
A number of compression techniques are applied to video storage. For instance, by stor-
ing the first video frame wholly and then for successive frames, only encode the differ-
ences. For instance, if frame 1 and frame 2 are identical except for three pixels, then frame 
1 is stored in its entirety but frame 2 is denoted by the three changed pixels. In this way, 
while we need a lot of storage for frame 1, we need almost nothing for frame 2.
There are key frames in the video that take place when we are changing the image 
entirely (e.g., a different camera angle or a different scene) and so these key frames must 
also be stored wholly. With proper compression, the typical 45-min video can be stored in 
approximately 350 megabytes.
Without compression, 350 megabytes would only store about 5 seconds’ worth of video! 
Let us now compare the storage sizes from Table A.6 with compressed images or com-
pressed video. See Table A.7.
We wrap up this section by considering the typical amounts of storage capacity for mem-
ory and storage devices. We start with the memory hierarchy (see Chapter 1, Section 1.8).
• On-chip cache: 16–32 kilobytes for most computers, less or none for handheld devices.
• Off-chip cache: 1–2 megabytes for most desktop and laptop computers, more for 
larger computers and less or none for handheld devices.
TABLE A.7 
Sizes for Image and Video

Download 5,65 Mb.

Do'stlaringiz bilan baham:
1   ...   246   247   248   249   250   251   252   253   254




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish