CrystalHD: Fix usage of h264 parser.
I was using the wrong value to track the position of the parser in thestream. For an error-free stream, the size of the frame and number ofbytes consumed will be the same, but in an error situation they candiverge....
CrystalHD: Improve detection of h.264 content.
As previously discussed, the CrystalHD hardware returns exceptionallyuseless information about interlaced h.264 content - to the extentthat it's not possible to distinguish most MBAFF and PAFF content until...
CrystalHD: Carry picture type from input to output picture.
Now that we know the type of the input picture, we have to bringthat 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 <firstname.lastname@example.org>
CrystalHD: Bring in h.264 parser to establish picture type.
As the hardware is unreliable, we will have to use the h.264 parserto identify whether an input picture is a field or a frame. Thischange loads the parser and extracts the picture type.
CrystalHD: Change opaque_list_pop to return the node.
In preparation for adding additional fields to the node, returnthe node instead of the pts value. This requires the caller tofree the node.
CrystalHD: Fix whitespace after previous change.
'git diff -w' confirmed to return nothing.
CrystalHD: Handle different h.264 MBAFF packing.
I found another MBAFF sample where the input:output pattern isthe 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....
CrystalHD: Remove redundant interlaced check.
CrystalHD: Add 2011 to Copyright
Revert "CrystalHD: Improve interlaced h.264 support."
This reverts commit e44073ca5e7143934ffa79d317dc65150db1637c.
Revert "CrystalHD: Add heuristics to try and distinguish h.264 PAFF variants."
This reverts commit 4ab57cffba1d151898837a9a07a6a72f78716702.
Revert "CrystalHD: Refine heuristic logic."
This reverts commit f968ef922d5b1e1ba29145bceaa0278ece4f88e0.
CrystalHD: Refine heuristic logic.
CrystalHD: Add heuristics to try and distinguish h.264 PAFF variants.
As previously discussed, the CrystalHD hardware treats some PAFFclips different from others; even when input fields are always inseparate packets, the hardware might return a single fieldpair for...
CrystalHD: Improve interlaced h.264 support.
As previously discussed, the CrystalHD hardware returns exceptionallyuseless information about interlaced h.264 content - to the extentthat it's not possible to distinguish MBAFF and PAFF content untilit's too late....
CrystalHD: Use doxygen compatible comments where relevant.
Signed-off-by: Philip Langdale <email@example.com>Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
CrystalHD decoder support v7
The Broadcom CrystalHD decoder chips provide hardware videodecoding for a number of video formats. It does so using amemory:memory interface where a compressed bitstream is fedin and decompressed pictures are copied out. As such, it works...