Lines Matching refs:frame
26 static RK_U32 hdr_get_offset_from_frame(MppFrame frame) in hdr_get_offset_from_frame() argument
28 return mpp_frame_get_buf_size(frame); in hdr_get_offset_from_frame()
31 void fill_hdr_meta_to_frame(MppFrame frame, MppCodingType in_type) in fill_hdr_meta_to_frame() argument
33 RK_U32 off = hdr_get_offset_from_frame(frame); in fill_hdr_meta_to_frame()
34 MppBuffer buf = mpp_frame_get_buffer(frame); in fill_hdr_meta_to_frame()
36 MppFrameHdrDynamicMeta *dynamic_meta = mpp_frame_get_hdr_dynamic_meta(frame); in fill_hdr_meta_to_frame()
37 MppFrameMasteringDisplayMetadata mastering_display = mpp_frame_get_mastering_display(frame); in fill_hdr_meta_to_frame()
38 MppFrameContentLightMetadata content_light = mpp_frame_get_content_light(frame); in fill_hdr_meta_to_frame()
53 if (mpp_frame_get_thumbnail_en(frame) == MPP_FRAME_THUMBNAIL_ONLY) { in fill_hdr_meta_to_frame()
55 RK_U32 downscale_width = mpp_frame_get_width(frame) / 2; in fill_hdr_meta_to_frame()
56 RK_U32 downscale_height = mpp_frame_get_height(frame) / 2; in fill_hdr_meta_to_frame()
73 meta = mpp_frame_get_meta(frame); in fill_hdr_meta_to_frame()
114 static_meta->color_trc = mpp_frame_get_color_trc(frame); in fill_hdr_meta_to_frame()
115 static_meta->color_space = mpp_frame_get_colorspace(frame); in fill_hdr_meta_to_frame()
116 static_meta->color_primaries = mpp_frame_get_color_primaries(frame); in fill_hdr_meta_to_frame()