+struct spu_private_t
+{
+ vlc_mutex_t subpicture_lock; /**< subpicture heap lock */
+ subpicture_t p_subpicture[VOUT_MAX_SUBPICTURES]; /**< subpictures */
+ int i_channel; /**< number of subpicture channels registered */
+ int64_t i_subpicture_order; /**< number of created subpicture since spu creation */
+
+ filter_t *p_blend; /**< alpha blending module */
+ filter_t *p_text; /**< text renderer module */
+ filter_t *p_scale_yuvp; /**< scaling module for YUVP */
+ filter_t *p_scale; /**< scaling module (all but YUVP) */
+ bool b_force_crop; /**< force cropping of subpicture */
+ int i_crop_x, i_crop_y, i_crop_width, i_crop_height; /**< cropping */
+
+ int i_margin; /**< force position of a subpicture */
+ bool b_force_palette; /**< force palette of subpicture */
+ uint8_t palette[4][4]; /**< forced palette */
+
+ /* Supciture filters */
+ filter_chain_t *p_chain;
+};
+