Skip to main content

Table 1 BsPU instructions for multi-format bitstream decoding

From: Fast CAVLD of H.264/AVC on bitstream decoding processor

Instruction

Description

Showbits(n)

The Showbits instruction reads n bits from the input value

Getbits(n)

The Getbits instruction reads and skips n bits from the input value

Skipbits(n)

The Skipbits instruction skips n bits from the input value

CLZ

The CLZ instruction counts leading zeros

I_ONERETURN(A, B)

If input A is 1, return input B; if input A is any other value, return 0

I_MIN(A, B)

I_MIN instruction returns the minimum value between A and B