On Mon, Mar 21, 2016 at 12:05:15AM +0000, Mark Thompson wrote:
> --- /dev/null
> +++ b/libavcodec/vaapi_encode_h265.c
> @@ -0,0 +1,1235 @@
> +typedef struct {
> +    // Slice segments.
> +    char first_slice_segment_in_pic_flag;
> +    unsigned int slice_segment_address;
> +
> +    // Short-term reference picture sets.
> +    char short_term_ref_pic_set_sps_flag;
> +    unsigned int short_term_ref_pic_idx;
> +    VAAPIEncodeH265STRPS st_ref_pic_set;
> +
> +    // Deblocking filter.
> +    char deblocking_filter_override_flag;
> +
> +    // Oddments.
> +    char slice_reserved_flag[8];
> +    char no_output_of_prior_pics_flag;
> +    char pic_output_flag;
> +
> +} VAAPIEncodeH265MiscSliceParams;

nit: Redundant empty line at end of struct

Please avoid anonymously typedeffed structs.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to