tm1300 NXP Semiconductors, tm1300 Datasheet - Page 228

no-image

tm1300

Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tm1300-1.2
Quantity:
380
TM1300 Data Book
• The VLD input DMA completed, and the VLD is
• One of the VLD output DMAs has completed and the
The DSPCPU can be interrupted whenever the VLD
halts.
Consider the case in which the VLD has encountered a
start code. At this point, the VLD will halt and set the sta-
tus flag to indicate that a start code has been detected.
This event will generate an interrupt to the DSPCPU (if
corresponding interrupt is enabled). Upon entering the
interrupt routine, the DSPCPU will read the VLD status
register to determine the source of the interrupt. Once it
has determined that a start code was encountered, the
CPU will read 8 bits from the VLD shift register to deter-
mine the type of start code encountered. If it a ‘slice’ start
code, the DSPCPU reads from the shift register the slice
quantization scale and any extra slice information. The
slice quantization scale is then written back to the VLD
quantizer-scale register. Before exiting the interrupt rou-
tine, the DSPCPU will clear the start code detected sta-
tus bit in the status register and issue a new command to
process the remaining macroblocks.
15-2
Figure 15-2. MPEG-2 macroblock header output format
stalled waiting for more data
VLD is stalled because the output FIFO is full
First Forward Motion Vector
Second Forward Motion Vector (for MPEG2 only)
First Backward Motion Vector
Second Backward Motion Vector (for MPEG2 only)
31
31
31
31
31
31
MV Field Sel [1][1]
MV Field Sel [0][0]
MV Field Sel [1][0]
MV Field Sel [0][1]
30
30
30
30
25
Esc Count
Motion Code [0][1][0]
Motion Code [0][0][0]
Motion Code [1][0][0]
Motion Code [1][1][0]
PRODUCT SPECIFICATION
29
29
29
29
17
MBA Inc
Motion Residual [1][0][0]
Motion Residual [0][0][0]
Motion Residual [0][1][0]
Motion Residual [1][1][0]
23
23
23
23
11
MB Type
Mot Type DCT Type
6
15.3
MPEG decoding up to the slice layer is carried out by the
DSPCPU and the VLD. The VLD is controlled by the
DSPCPU for the decoding of all parameters up to the
slice-start code. During this process, the DSPCPU reads
from the VLD_SR register which contains the next 16 bits
of the bitstream. The DSPCPU also issues shift com-
mands to the VLD in order to advance the contents of the
shift register by the specified number of bits. The
DSPCPU may also command the VLD to advance to the
next start code. Refer to
VLD commands and their functions. Once at the slice
layer, the VLD operates independently for the entire slice
decoding. The slice decoding starts once the DSPCPU
issues a parse command.
15.4
Input to the VLD is controlled by the VLD input DMA en-
gine. The input DMA engine is programmed by the
DSPCPU to read from SDRAM. The DSPCPU programs
this DMA engine by writing the address and the length of
the SDRAM buffer containing the MPEG stream. The ad-
dress of the buffer is written to the VLD_BIT_ADR regis-
ter. The length, in bytes, of the buffer is written to the
VLD_BIT_CNT register.
15
15
15
15
4
DECODING UP TO A SLICE
VLD INPUT
Motion Code [1][1][1]
Motion Code [1][0][1]
Motion Code [0][1][1]
Motion Code [0][0][1]
13
13
13
13
3
dmvector[1]
14
MV count
dmvector[0]
12
2
Table 15-6
MV Format
Philips Semiconductors
7
7
7
7
10
Motion Residual [0][0][1]
Motion Residual [1][0][1]
Motion Residual [0][1][1]
Motion Residual [1][1][1]
CBP
1
for a complete list of
quant scale
4
0
DMV
w0
w1
w3
w4
w2
w5

Related parts for tm1300