Lines Matching defs:hwaccel
958 if (!avctx->hwaccel)
979 avctx->hwaccel->pix_fmt,
1020 hwa = hw_config->hwaccel;
1054 const AVHWAccel *hwaccel;
1057 hwaccel = hw_config->hwaccel;
1058 if (hwaccel->capabilities & AV_HWACCEL_CODEC_CAP_EXPERIMENTAL &&
1060 av_log(avctx, AV_LOG_WARNING, "Ignoring experimental hwaccel: %s\n",
1061 hwaccel->name);
1065 if (hwaccel->priv_data_size) {
1067 av_mallocz(hwaccel->priv_data_size);
1072 avctx->hwaccel = hwaccel;
1073 if (hwaccel->init) {
1074 err = hwaccel->init(avctx);
1077 "hwaccel initialisation returned error.\n",
1080 avctx->hwaccel = NULL;
1090 if (avctx->hwaccel && avctx->hwaccel->uninit)
1091 avctx->hwaccel->uninit(avctx);
1095 avctx->hwaccel = NULL;
1126 // Remove the previous hwaccel, if there was one.
1209 if (hw_config->hwaccel) {
1210 av_log(avctx, AV_LOG_DEBUG, "Format %s requires hwaccel "
1357 // For formats without data like hwaccel allow unused pointers to be non-NULL.
1405 const AVHWAccel *hwaccel = avctx->hwaccel;
1450 if (hwaccel) {
1451 if (hwaccel->alloc_frame) {
1452 ret = hwaccel->alloc_frame(avctx, frame);