hi_vdec_send_mode
Description
Defines the stream sending modes.
Prototype
typedef enum {
HI_VDEC_SEND_MODE_STREAM = 0,
HI_VDEC_SEND_MODE_FRAME ,
HI_VDEC_SEND_MODE_COMPAT,
HI_VDEC_SEND_MODE_BUTT
}hi_vdec_send_mode;
Members
Member |
Description |
|---|---|
HI_VDEC_SEND_MODE_STREAM |
Stream mode. Reserved. |
HI_VDEC_SEND_MODE_FRAME |
Frame mode. Currently, only this mode is supported. |
HI_VDEC_SEND_MODE_COMPAT |
Compatibility mode. Reserved. |
HI_VDEC_SEND_MODE_BUTT |
Reserved. |
Considerations
- Only HI_VDEC_SEND_MODE_FRAME is supported.
- If the end_of_frame flag of the last packet of a frame is not set to HI_TRUE, an additional empty packet with end_of_frame set to HI_TRUE can be sent to the decoder to indicate that the current frame has been sent. Note that the Presentation Time Stamp (PTS) of the current frame must be carried.
- It is not supported to partition a frame to multiple packets for sending.
Parent topic: VDEC/JPEGD