H264DECResult

Syntax

#include <cafe/h264.h>

typedef struct __H264DEC_RESULT__
{
    s32 DecStatus;
    f64 TimeStamp;
    s32 ResultWidth;
    s32 ResultHeight;
    s32 NextLine;
    u8 CropEnableFlag;
    s32 TopCrop;
    s32 BottomCrop;
    s32 LeftCrop;
    s32 RightCrop;
    u8 PanScanEnableFlag;
    s32 TopPanScan;
    s32 BottomPanScan;
    s32 LeftPanScan;
    s32 RightPanScan;
    void    *Result;
    u8 vui_parameters_present_flag;
    VUIParameters *VUIparameters;
    s32 reserved[10];
} H264DECResult;

Elements

H264DECResult Structure

DecStatus The decoding status. This indicates the percentage (0-100) of macro blocks that have been properly decoded.
TimeStamp The timestamp specified when a bitstream was set (H264DECSetBitstream function).
ResultWidth The width of the output image.
ResultHeight The height of the output image.
NextLine The number of bytes to the next line of the output image in memory.
CropEnableFlag A flag that determines whether cropping is enabled. (It is disabled when this flag is 0.)
TopCrop The number of pixels to crop from the top of an image.
BottomCrop The number of pixels to crop from the bottom of an image.
LeftCrop The number of pixels to crop from the left side of an image.
RightCrop The number of pixels to crop from the right side of an image.
PanScanEnableFlag A flag that determines whether "pan and scan" is enabled. (It is disabled when this flag is 0.)
TopPanScan The number of pixels affected by the "pan and scan" process at the top of an image (pan_scan_rect_top_offset).
BottomPanScan The number of pixels affected by the "pan and scan" process at the bottom of an image (pan_scan_rect_bottom_offset).
LeftPanScan The number of pixels affected by the "pan and scan" process at the left side of an image (pan_scan_left_top_offset).
RightPanScan The number of pixels affected by the "pan and scan" process at the right side of an image (pan_scan_right_top_offset).
Result A pointer to the decoded image, specified as the second argument when decoding (H264DECExecute). (The memory area indicated contains the decoded data when the callback function is called and the values are maintained after the callback function completes.)
vui_parameters_present_flag A flag determining whether VUI data is enabled (1) or disabled (0).
VUIparameters A pointer to VUI data. (The memory area indicated contains the VUI data output when the callback function is called, but is destroyed when the callback function completes.)
reserved Reserved region.

Description

The H264DECResult structure has been defined to configure when decoding results are output and the order in which images are output.

See Also

H264DECOutput
VUIParameters

Revision History

2014-07-25 Initial version.


CONFIDENTIAL