#include "enc_qsv.h"
#include "qsv_common.h"
#include "h264_common.h"
+#include "qsv_filter_pp.h"
/**
* @brief Convert profile string name into profile_e enum with mapping of supported profiles
**********************************************************************/
int encqsvInit( hb_work_object_t * w, hb_job_t * job )
{
- mfxStatus sts = MFX_ERR_NONE;
-
hb_work_private_t * pv = calloc( 1, sizeof( hb_work_private_t ) );
w->private_data = pv;
pv->job = job;
pv->config = w->config;
- av_qsv_context *qsv = job->qsv;
- av_qsv_space* qsv_encode = 0;
pv->codec_level = MFX_LEVEL_AVC_3;
if(job->h264_level){
while( size > 0 ){
uint8_t* current_nal = offset + sizeof(ff_prefix_code)-1;
- int nal_ref_idc= current_nal[0]>>5;
-
uint8_t *next_offset = offset + sizeof(ff_prefix_code);
size_t next_size = size - sizeof(ff_prefix_code);
size_t current_size = next_size;