Searched refs:h264enc (Results 1 – 5 of 5) sorted by relevance
39 context->desc.h264enc.frame_num = h264->frame_num; in vlVaHandleVAEncPictureParameterBufferTypeH264()40 context->desc.h264enc.not_referenced = false; in vlVaHandleVAEncPictureParameterBufferTypeH264()41 context->desc.h264enc.pic_order_cnt = h264->CurrPic.TopFieldOrderCnt; in vlVaHandleVAEncPictureParameterBufferTypeH264()42 if (context->desc.h264enc.gop_cnt == 0) in vlVaHandleVAEncPictureParameterBufferTypeH264()43 context->desc.h264enc.i_remain = context->gop_coeff; in vlVaHandleVAEncPictureParameterBufferTypeH264()44 else if (context->desc.h264enc.frame_num == 1) in vlVaHandleVAEncPictureParameterBufferTypeH264()45 context->desc.h264enc.i_remain--; in vlVaHandleVAEncPictureParameterBufferTypeH264()47 …context->desc.h264enc.p_remain = context->desc.h264enc.gop_size - context->desc.h264enc.gop_cnt - … in vlVaHandleVAEncPictureParameterBufferTypeH264()55 _mesa_hash_table_insert(context->desc.h264enc.frame_idx, in vlVaHandleVAEncPictureParameterBufferTypeH264()60 context->desc.h264enc.picture_type = PIPE_H264_ENC_PICTURE_TYPE_IDR; in vlVaHandleVAEncPictureParameterBufferTypeH264()[all …]
302 context->desc.h264enc.rate_ctrl.rate_ctrl_method = config->rc; in vlVaCreateContext()303 context->desc.h264enc.frame_idx = util_hash_table_create_ptr_keys(); in vlVaCreateContext()342 if (context->desc.h264enc.frame_idx) in vlVaDestroyContext()343 _mesa_hash_table_destroy(context->desc.h264enc.frame_idx, NULL); in vlVaDestroyContext()
744 context->desc.h264enc.frame_num_cnt++; in vlVaEndPicture()757 int idr_period = context->desc.h264enc.gop_size / context->gop_coeff; in vlVaEndPicture()758 int p_remain_in_idr = idr_period - context->desc.h264enc.frame_num; in vlVaEndPicture()759 surf->frame_num_cnt = context->desc.h264enc.frame_num_cnt; in vlVaEndPicture()767 if ((context->desc.h264enc.frame_num_cnt % 2) != 0) { in vlVaEndPicture()
128 if (context->desc.h264enc.frame_num_cnt >= surf->frame_num_cnt) in vlVaSyncSurface()129 frame_diff = context->desc.h264enc.frame_num_cnt - surf->frame_num_cnt; in vlVaSyncSurface()131 frame_diff = 0xFFFFFFFF - surf->frame_num_cnt + 1 + context->desc.h264enc.frame_num_cnt; in vlVaSyncSurface()134 (context->desc.h264enc.frame_num_cnt % 2 != 0)) { in vlVaSyncSurface()
289 struct pipe_h264_enc_picture_desc h264enc; member