mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpp_frame]: add info_change flag
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@346 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -157,8 +157,14 @@ RK_S64 mpp_frame_get_pts(const MppFrame frame);
|
|||||||
void mpp_frame_set_pts(MppFrame frame, RK_S64 pts);
|
void mpp_frame_set_pts(MppFrame frame, RK_S64 pts);
|
||||||
RK_S64 mpp_frame_get_dts(const MppFrame frame);
|
RK_S64 mpp_frame_get_dts(const MppFrame frame);
|
||||||
void mpp_frame_set_dts(MppFrame frame, RK_S64 dts);
|
void mpp_frame_set_dts(MppFrame frame, RK_S64 dts);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* flow control parmeter
|
||||||
|
*/
|
||||||
RK_U32 mpp_frame_get_eos(const MppFrame frame);
|
RK_U32 mpp_frame_get_eos(const MppFrame frame);
|
||||||
void mpp_frame_set_eos(MppFrame frame, RK_U32 eos);
|
void mpp_frame_set_eos(MppFrame frame, RK_U32 eos);
|
||||||
|
RK_U32 mpp_frame_get_info_change(const MppFrame frame);
|
||||||
|
void mpp_frame_set_info_change(MppFrame frame, RK_U32 info_change);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* buffer parameter
|
* buffer parameter
|
||||||
|
@@ -133,6 +133,7 @@ MPP_FRAME_ACCESSORS(RK_U32, mode)
|
|||||||
MPP_FRAME_ACCESSORS(RK_S64, pts)
|
MPP_FRAME_ACCESSORS(RK_S64, pts)
|
||||||
MPP_FRAME_ACCESSORS(RK_S64, dts)
|
MPP_FRAME_ACCESSORS(RK_S64, dts)
|
||||||
MPP_FRAME_ACCESSORS(RK_U32, eos)
|
MPP_FRAME_ACCESSORS(RK_U32, eos)
|
||||||
|
MPP_FRAME_ACCESSORS(RK_U32, info_change)
|
||||||
MPP_FRAME_ACCESSORS(MppFrameColorRange, color_range)
|
MPP_FRAME_ACCESSORS(MppFrameColorRange, color_range)
|
||||||
MPP_FRAME_ACCESSORS(MppFrameColorPrimaries, color_primaries)
|
MPP_FRAME_ACCESSORS(MppFrameColorPrimaries, color_primaries)
|
||||||
MPP_FRAME_ACCESSORS(MppFrameColorTransferCharacteristic, color_trc)
|
MPP_FRAME_ACCESSORS(MppFrameColorTransferCharacteristic, color_trc)
|
||||||
|
@@ -53,8 +53,10 @@ struct MppFrameImpl_t {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* eos - end of stream
|
* eos - end of stream
|
||||||
|
* info_change - set when buffer resized or frame infomation changed
|
||||||
*/
|
*/
|
||||||
RK_U32 eos;
|
RK_U32 eos;
|
||||||
|
RK_U32 info_change;
|
||||||
|
|
||||||
MppFrameColorRange color_range;
|
MppFrameColorRange color_range;
|
||||||
MppFrameColorPrimaries color_primaries;
|
MppFrameColorPrimaries color_primaries;
|
||||||
|
Reference in New Issue
Block a user