<s>
Microsoft	B-Algorithm
Video	I-Algorithm
1	I-Algorithm
or	O
MS-CRAM	B-Algorithm
is	O
an	O
early	O
lossy	B-Algorithm
video	O
compression	O
and	O
decompression	O
algorithm	O
(	O
codec	B-General_Concept
)	O
that	O
was	O
released	O
with	O
version	O
1.0	O
of	O
Microsoft	O
's	O
Video	B-Device
for	I-Device
Windows	I-Device
in	O
November	O
1992	O
.	O
</s>
<s>
It	O
is	O
based	O
on	O
MotiVE	O
,	O
a	O
vector	B-Algorithm
quantization	I-Algorithm
codec	B-General_Concept
which	O
Microsoft	O
licensed	O
from	O
Media	O
Vision	O
.	O
</s>
<s>
Microsoft	B-Algorithm
Video	I-Algorithm
1	I-Algorithm
operates	O
either	O
in	O
an	O
8-bit	O
palettized	B-Data_Structure
color	O
space	O
or	O
in	O
a	O
15-bit	O
RGB	O
color	O
space	O
.	O
</s>
<s>
This	O
can	O
be	O
interpreted	O
as	O
a	O
2-color	O
palette	B-Data_Structure
which	O
is	O
locally	O
adapted	O
on	O
either	O
a	O
4×4	O
block	O
basis	O
or	O
a	O
2×2	O
block	O
basis	O
.	O
</s>
<s>
Interpreted	O
as	O
vector	B-Algorithm
quantization	I-Algorithm
,	O
vectors	O
with	O
components	O
red	O
,	O
green	O
,	O
and	O
blue	O
are	O
quantized	B-Algorithm
using	O
a	O
forward	O
adaptive	O
codebook	O
with	O
two	O
entries	O
.	O
</s>
<s>
The	O
codec	B-General_Concept
was	O
available	O
in	O
Microsoft	O
NetShow	B-Application
Encoder	O
,	O
which	O
was	O
later	O
renamed	O
Windows	B-Protocol
Media	I-Protocol
Encoder	I-Protocol
,	O
and	O
made	O
available	O
via	O
the	O
SDK	O
.	O
</s>
<s>
The	O
NetShow	B-Application
encoder	O
allowed	O
the	O
user	O
to	O
select	O
a	O
2	O
pass	O
option	O
,	O
where	O
in	O
the	O
first	O
pass	O
the	O
video	O
was	O
analyzed	O
to	O
create	O
a	O
color	O
palette	B-Data_Structure
,	O
and	O
in	O
the	O
second	O
pass	O
converted	O
to	O
the	O
palettized	B-Data_Structure
color	O
space	O
and	O
encoded	O
.	O
</s>
<s>
Before	O
encoding	O
,	O
the	O
video	O
could	O
be	O
scaled	B-Algorithm
.	O
</s>
<s>
Later	O
versions	O
of	O
Windows	B-Protocol
Media	I-Protocol
Encoder	I-Protocol
dropped	O
support	O
for	O
Microsoft	B-Algorithm
Video	I-Algorithm
1	I-Algorithm
and	O
only	O
supported	O
Windows	B-Device
Media	I-Device
Video	I-Device
.	O
</s>
