Lines Matching defs:extradata
1064 mfxExtCodingOptionSPSPPS extradata = {
1066 .Header.BufferSz = sizeof(extradata),
1103 ext_buffers[ext_buf_num++] = (mfxExtBuffer*)&extradata;
1135 if (!extradata.SPSBufSize || (need_pps && !extradata.PPSBufSize)
1138 av_log(avctx, AV_LOG_ERROR, "No extradata returned from libmfx.\n");
1142 avctx->extradata_size = extradata.SPSBufSize + need_pps * extradata.PPSBufSize;
1145 avctx->extradata = av_malloc(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);
1146 if (!avctx->extradata)
1150 memcpy(avctx->extradata, vps_buf, extradata_vps.VPSBufSize);
1154 memcpy(avctx->extradata + extradata_offset, sps_buf, extradata.SPSBufSize);
1155 extradata_offset += extradata.SPSBufSize;
1157 memcpy(avctx->extradata + extradata_offset, pps_buf, extradata.PPSBufSize);
1158 extradata_offset += extradata.PPSBufSize;
1160 memset(avctx->extradata + avctx->extradata_size, 0, AV_INPUT_BUFFER_PADDING_SIZE);