Statistics
| Branch: | Revision:

ffmpeg / libavcodec / crystalhd.c @ bd9430db

History | View | Annotate | Download (36.8 KB)

# Date Author Comment
bd9430db 04/16/2011 03:10 PM Philip Langdale

CrystalHD: Fix usage of h264 parser.

I was using the wrong value to track the position of the parser in the
stream. For an error-free stream, the size of the frame and number of
bytes consumed will be the same, but in an error situation they can
diverge....

ae7a4a15 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Improve detection of h.264 content.

As previously discussed, the CrystalHD hardware returns exceptionally
useless information about interlaced h.264 content - to the extent
that it's not possible to distinguish most MBAFF and PAFF content until...

bfde0f1b 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Carry picture type from input to output picture.

Now that we know the type of the input picture, we have to bring
that information to the output picture to help identify its type.
We do this by adding a field to the opaque_list node.

Signed-off-by: Philip Langdale <>

f6421e0b 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Bring in h.264 parser to establish picture type.

As the hardware is unreliable, we will have to use the h.264 parser
to identify whether an input picture is a field or a frame. This
change loads the parser and extracts the picture type.

Signed-off-by: Philip Langdale <>

e99fd6ee 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Change opaque_list_pop to return the node.

In preparation for adding additional fields to the node, return
the node instead of the pts value. This requires the caller to
free the node.

Signed-off-by: Philip Langdale <>

ca0eed7e 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Fix whitespace after previous change.

'git diff -w' confirmed to return nothing.

Signed-off-by: Philip Langdale <>

9ce1d5f0 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Handle different h.264 MBAFF packing.

I found another MBAFF sample where the input:output pattern is
the same as mpeg2 and vc1 (fieldpair input, individual field output).
While I'm not sure how you can output individual fields from MBAFF,
if I apply the mpeg2/vc1 handling to this file, it plays correctly....

3583eb93 03/26/2011 11:09 PM Philip Langdale

CrystalHD: Remove redundant interlaced check.

Signed-off-by: Philip Langdale <>

a1749eb3 03/26/2011 11:09 PM Philip Langdale

CrystalHD: Add 2011 to Copyright

Signed-off-by: Philip Langdale <>

b45aceb6 03/26/2011 11:04 PM Philip Langdale

Revert "CrystalHD: Improve interlaced h.264 support."

This reverts commit e44073ca5e7143934ffa79d317dc65150db1637c.

85b01098 03/26/2011 11:04 PM Philip Langdale

Revert "CrystalHD: Add heuristics to try and distinguish h.264 PAFF variants."

This reverts commit 4ab57cffba1d151898837a9a07a6a72f78716702.

3188d33a 03/26/2011 11:04 PM Philip Langdale

Revert "CrystalHD: Refine heuristic logic."

This reverts commit f968ef922d5b1e1ba29145bceaa0278ece4f88e0.

f968ef92 03/26/2011 10:55 PM Philip Langdale

CrystalHD: Refine heuristic logic.

4ab57cff 03/26/2011 10:55 PM Philip Langdale

CrystalHD: Add heuristics to try and distinguish h.264 PAFF variants.

As previously discussed, the CrystalHD hardware treats some PAFF
clips different from others; even when input fields are always in
separate packets, the hardware might return a single fieldpair for...

e44073ca 03/26/2011 10:55 PM Philip Langdale

CrystalHD: Improve interlaced h.264 support.

As previously discussed, the CrystalHD hardware returns exceptionally
useless information about interlaced h.264 content - to the extent
that it's not possible to distinguish MBAFF and PAFF content until
it's too late....

969eb21b 03/17/2011 12:02 PM Philip Langdale

CrystalHD: Use doxygen compatible comments where relevant.

Signed-off-by: Philip Langdale <>
Signed-off-by: Michael Niedermayer <>

b33fa8a1 03/10/2011 07:17 PM Philip Langdale

CrystalHD decoder support v7

The Broadcom CrystalHD decoder chips provide hardware video
decoding for a number of video formats. It does so using a
memory:memory interface where a compressed bitstream is fed
in and decompressed pictures are copied out. As such, it works...