Home
last modified time | relevance | path

Searched refs:ReferenceFrames (Results 1 – 17 of 17) sorted by relevance

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_h264_parser.c439 pic_parms->ReferenceFrames[frame_idx].picture_id = VA_INVALID_SURFACE; in vbp_set_reference_frames_h264()
440 pic_parms->ReferenceFrames[frame_idx].frame_idx = 0; in vbp_set_reference_frames_h264()
441 pic_parms->ReferenceFrames[frame_idx].flags = VA_PICTURE_H264_INVALID; in vbp_set_reference_frames_h264()
442 pic_parms->ReferenceFrames[frame_idx].TopFieldOrderCnt = 0; in vbp_set_reference_frames_h264()
443 pic_parms->ReferenceFrames[frame_idx].BottomFieldOrderCnt = 0; in vbp_set_reference_frames_h264()
463 pic_parms->ReferenceFrames[frame_idx].frame_idx = store->frame_num; in vbp_set_reference_frames_h264()
464 pic_parms->ReferenceFrames[frame_idx].flags = VA_PICTURE_H264_SHORT_TERM_REFERENCE; in vbp_set_reference_frames_h264()
467 pic_parms->ReferenceFrames[frame_idx].TopFieldOrderCnt = store->frame.poc; in vbp_set_reference_frames_h264()
468 pic_parms->ReferenceFrames[frame_idx].BottomFieldOrderCnt = store->frame.poc; in vbp_set_reference_frames_h264()
472 pic_parms->ReferenceFrames[frame_idx].TopFieldOrderCnt = store->top_field.poc; in vbp_set_reference_frames_h264()
[all …]
/hardware/intel/common/libmix/mix_video/src/
Dmixvideoformat_h264.c951 pic_params->ReferenceFrames[i].picture_id = VA_INVALID_SURFACE; in mix_videofmt_h264_hack_dpb()
952 pic_params->ReferenceFrames[i].frame_idx = -1; in mix_videofmt_h264_hack_dpb()
953 pic_params->ReferenceFrames[i].TopFieldOrderCnt = -1; in mix_videofmt_h264_hack_dpb()
954 pic_params->ReferenceFrames[i].BottomFieldOrderCnt = -1; in mix_videofmt_h264_hack_dpb()
955 …pic_params->ReferenceFrames[i].flags = VA_PICTURE_H264_INVALID; //assuming we don't need to OR wi… in mix_videofmt_h264_hack_dpb()
976 if (pic_params->ReferenceFrames[k].TopFieldOrderCnt == pRefList[j].TopFieldOrderCnt) in mix_videofmt_h264_hack_dpb()
979 tflags = pic_params->ReferenceFrames[k].flags | pRefList[j].flags; in mix_videofmt_h264_hack_dpb()
983 pic_params->ReferenceFrames[k].flags = VA_PICTURE_H264_SHORT_TERM_REFERENCE; in mix_videofmt_h264_hack_dpb()
992 pic_params->ReferenceFrames[pic_params->num_ref_frames].picture_id = in mix_videofmt_h264_hack_dpb()
995 …LOG_V( "Inserting frame id %d into DPB\n", pic_params->ReferenceFrames[pic_params->num_ref_frames]… in mix_videofmt_h264_hack_dpb()
[all …]
/hardware/intel/common/libva/test/encode/
Dh264encode.c91 static VAPictureH264 ReferenceFrames[16], RefPicList0_P[32], RefPicList0_B[32], RefPicList1_B[32]; variable
1247 ReferenceFrames[i] = ReferenceFrames[i-1]; in update_ReferenceFrames()
1248 ReferenceFrames[0] = CurrentCurrPic; in update_ReferenceFrames()
1264 memcpy(RefPicList0_P, ReferenceFrames, numShortTerm * sizeof(VAPictureH264)); in update_RefPicList()
1269 memcpy(RefPicList0_B, ReferenceFrames, numShortTerm * sizeof(VAPictureH264)); in update_RefPicList()
1273 memcpy(RefPicList1_B, ReferenceFrames, numShortTerm * sizeof(VAPictureH264)); in update_RefPicList()
1410 memset(pic_param.ReferenceFrames, 0xff, 16 * sizeof(VAPictureH264)); /* invalid all */ in render_picture()
1412 pic_param.ReferenceFrames[0] = RefPicList0_P[0]; in render_picture()
1414 pic_param.ReferenceFrames[0] = RefPicList0_B[0]; in render_picture()
1415 pic_param.ReferenceFrames[1] = RefPicList1_B[0]; in render_picture()
[all …]
Davcenc.c154 static VAPictureH264 ReferenceFrames[16], RefPicList0[32], RefPicList1[32]; variable
333 pic_param->ReferenceFrames[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_picture_parameter()
334 pic_param->ReferenceFrames[1].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_picture_parameter()
335 pic_param->ReferenceFrames[2].picture_id = VA_INVALID_ID; in avcenc_update_picture_parameter()
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderAVC.cpp453 VAPictureH264 *ref = picParam->ReferenceFrames; in updateDPB()
517 VAPictureH264 *dpb = picParam->ReferenceFrames; in updateReferenceFrames()
528 memset(picParam->ReferenceFrames, 0xFF, sizeof(picParam->ReferenceFrames)); in updateReferenceFrames()
548 refFrame = picParam->ReferenceFrames; in updateReferenceFrames()
/hardware/intel/common/libva/va/
Dva_enc_h264.h300 VAPictureH264 ReferenceFrames[16]; member
Dva_dec_hevc.h138 VAPictureHEVC ReferenceFrames[15]; member
Dva_trace.c1230 if ((p->ReferenceFrames[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVAPictureParameterBufferH264()
1231 ((p->ReferenceFrames[i].flags & VA_PICTURE_H264_INVALID) == 0)) { in va_TraceVAPictureParameterBufferH264()
1233 p->ReferenceFrames[i].TopFieldOrderCnt, in va_TraceVAPictureParameterBufferH264()
1234 p->ReferenceFrames[i].BottomFieldOrderCnt, in va_TraceVAPictureParameterBufferH264()
1235 p->ReferenceFrames[i].picture_id, in va_TraceVAPictureParameterBufferH264()
1236 p->ReferenceFrames[i].frame_idx, in va_TraceVAPictureParameterBufferH264()
1237 p->ReferenceFrames[i].flags); in va_TraceVAPictureParameterBufferH264()
1503 if ((p->ReferenceFrames[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVAEncPictureParameterBufferH264()
1504 ((p->ReferenceFrames[i].flags & VA_PICTURE_H264_INVALID) == 0)) { in va_TraceVAEncPictureParameterBufferH264()
1506 p->ReferenceFrames[i].TopFieldOrderCnt, in va_TraceVAEncPictureParameterBufferH264()
[all …]
Dva.h2153 VAPictureH264 ReferenceFrames[16]; /* in DPB */ member
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderAVC.cpp1148 avcPicParams.ReferenceFrames[RefFrmIdx].picture_id = VA_INVALID_ID; in renderPictureParams()
1149 avcPicParams.ReferenceFrames[RefFrmIdx].flags = VA_PICTURE_H264_INVALID; in renderPictureParams()
1151 avcPicParams.ReferenceFrames[0].picture_id= task->ref_surface; in renderPictureParams()
1152 avcPicParams.ReferenceFrames[0].flags = VA_PICTURE_H264_SHORT_TERM_REFERENCE; in renderPictureParams()
1182 avcPicParams.ReferenceFrames[i].picture_id = mAutoRefSurfaces[i]; in renderPictureParams()
1191 LOG_V( "reference_picture = 0x%08x\n", avcPicParams.ReferenceFrames[0].picture_id); in renderPictureParams()
/hardware/intel/img/psb_video/src/
Dpnw_H264.c656 if (pic_params->ReferenceFrames[i].flags == VA_PICTURE_H264_INVALID) { in psb__H264_process_picture_param()
661 … if (ctx->map_dpbidx_to_picture_id[dpbidx] == pic_params->ReferenceFrames[i].picture_id) { in psb__H264_process_picture_param()
667 new_pic_ids[num_new_pics] = pic_params->ReferenceFrames[i].picture_id; in psb__H264_process_picture_param()
711 if (pic_params->ReferenceFrames[i].flags == VA_PICTURE_H264_INVALID) { in psb__H264_process_picture_param()
714 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id); in psb__H264_process_picture_param()
719 if (pic_params->ReferenceFrames[i].flags & VA_PICTURE_H264_BOTTOM_FIELD) { in psb__H264_process_picture_param()
1030 SIGNTRUNC(pic_params->ReferenceFrames[refidx].TopFieldOrderCnt)); in psb__H264_build_picture_order_chunk()
1035 SIGNTRUNC(pic_params->ReferenceFrames[refidx].BottomFieldOrderCnt)); in psb__H264_build_picture_order_chunk()
Dtng_H264ES.c812 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id);
819 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id);
888 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id); in tng__H264ES_process_picture_param_base()
889 ps_buf->ref_surface1 = SURFACE(psPicParams->ReferenceFrames[1].picture_id); in tng__H264ES_process_picture_param_base()
896 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id); in tng__H264ES_process_picture_param_base()
Dtng_trace.c1159 … "%s: ReferenceFrames[0] = 0x%08x\n",__FUNCTION__, psTracePicParams->ReferenceFrames[0].picture_id… in tng_H264ES_trace_pic_params()
1160 … "%s: ReferenceFrames[1] = 0x%08x\n",__FUNCTION__, psTracePicParams->ReferenceFrames[1].picture_id… in tng_H264ES_trace_pic_params()
1161 … "%s: ReferenceFrames[2] = 0x%08x\n",__FUNCTION__, psTracePicParams->ReferenceFrames[2].picture_id… in tng_H264ES_trace_pic_params()
1162 … "%s: ReferenceFrames[3] = 0x%08x\n",__FUNCTION__, psTracePicParams->ReferenceFrames[3].picture_id… in tng_H264ES_trace_pic_params()
Dpnw_H264ES.c609 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id); in pnw__H264ES_process_picture_param()
/hardware/intel/img/psb_video/src/mrst/
Dpsb_H264.c706 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id); in psb__H264_process_picture_param()
707 if (pic_params->ReferenceFrames[i].flags & VA_PICTURE_H264_BOTTOM_FIELD) { in psb__H264_process_picture_param()
890 SIGNTRUNC(pic_params->ReferenceFrames[i].TopFieldOrderCnt)); in psb__H264_build_picture_order_chunk()
895 SIGNTRUNC(pic_params->ReferenceFrames[i].BottomFieldOrderCnt)); in psb__H264_build_picture_order_chunk()
1209 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id); in psb__H264_build_rendec_params()
Dlnc_H264ES.c334 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id); in lnc__H264ES_process_picture_param()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2140 pic_param->ReferenceFrames[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_picture_parameter()
2141 pic_param->ReferenceFrames[1].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_picture_parameter()
2142 pic_param->ReferenceFrames[2].picture_id = VA_INVALID_ID; in avcenc_update_picture_parameter()