On Tue, Sep 18, 2018 at 11:31:07PM +0100, Mark Thompson wrote: > This adds common code to query driver support and set appropriate > address/size information for each slice. It only supports rectangular > slices for now, since that is the most common use-case. > > Also immediately use that to replace the ad-hoc code doing the same > thing for MPEG-2. > --- > libavcodec/vaapi_encode.c | 149 +++++++++++++++++++++++++++++++- > libavcodec/vaapi_encode.h | 22 +++++ > libavcodec/vaapi_encode_mpeg2.c | 18 ++-- > 3 files changed, 177 insertions(+), 12 deletions(-)
breaks build (on ubuntu) CC libavcodec/vaapi_encode.o libavcodec/vaapi_encode.c: In function ‘vaapi_encode_init_slice_structure’: libavcodec/vaapi_encode.c:1561:34: error: ‘VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS’ undeclared (first use in this function) } else if (slice_structure & VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS) { ^ libavcodec/vaapi_encode.c:1561:34: note: each undeclared identifier is reported only once for each function it appears in make: *** [libavcodec/vaapi_encode.o] Error 1 make: Target `all' not remade because of errors. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When you are offended at any man's fault, turn to yourself and study your own failings. Then you will forget your anger. -- Epictetus
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel