mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/hw_base_encode: add FF_HW_ prefix for two enums
PICTURE_TYPE_* and FLAG_* are added FF_HW_ prefix after being moved to base layer. Signed-off-by: Tong Wu <tong1.wu@intel.com>
This commit is contained in:
parent
3747bf0426
commit
ab944e06bc
9 changed files with 119 additions and 119 deletions
|
|
@ -232,7 +232,7 @@ static int vaapi_encode_mjpeg_init_picture_params(AVCodecContext *avctx,
|
|||
const uint8_t *components;
|
||||
int t, i, quant_scale, len;
|
||||
|
||||
av_assert0(pic->type == PICTURE_TYPE_IDR);
|
||||
av_assert0(pic->type == FF_HW_PICTURE_TYPE_IDR);
|
||||
|
||||
desc = av_pix_fmt_desc_get(priv->common.input_frames->sw_format);
|
||||
av_assert0(desc);
|
||||
|
|
@ -494,8 +494,8 @@ static const VAAPIEncodeProfile vaapi_encode_mjpeg_profiles[] = {
|
|||
static const VAAPIEncodeType vaapi_encode_type_mjpeg = {
|
||||
.profiles = vaapi_encode_mjpeg_profiles,
|
||||
|
||||
.flags = FLAG_CONSTANT_QUALITY_ONLY |
|
||||
FLAG_INTRA_ONLY,
|
||||
.flags = FF_HW_FLAG_CONSTANT_QUALITY_ONLY |
|
||||
FF_HW_FLAG_INTRA_ONLY,
|
||||
|
||||
.get_encoder_caps = &vaapi_encode_mjpeg_get_encoder_caps,
|
||||
.configure = &vaapi_encode_mjpeg_configure,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue