/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11av1dec.cpp | 378 GST_DXVA_PicParams_AV1 pic_params; member 789 GST_DXVA_PicParams_AV1 *pic_params = &inner->pic_params; in gst_d3d11_av1_dec_start_picture() local 800 memset (pic_params, 0, sizeof (GST_DXVA_PicParams_AV1)); in gst_d3d11_av1_dec_start_picture() 802 pic_params->width = frame_hdr->frame_width; in gst_d3d11_av1_dec_start_picture() 803 pic_params->height = frame_hdr->frame_height; in gst_d3d11_av1_dec_start_picture() 805 pic_params->max_width = seq_hdr->max_frame_width_minus_1 + 1; in gst_d3d11_av1_dec_start_picture() 806 pic_params->max_height = seq_hdr->max_frame_height_minus_1 + 1; in gst_d3d11_av1_dec_start_picture() 808 pic_params->CurrPicTextureIndex = view_id; in gst_d3d11_av1_dec_start_picture() 809 pic_params->superres_denom = frame_hdr->superres_denom; in gst_d3d11_av1_dec_start_picture() 810 pic_params->bitdepth = seq_hdr->bit_depth; in gst_d3d11_av1_dec_start_picture() [all …]
|
D | gstd3d11h264dec.cpp | 92 DXVA_PicParams_H264 pic_params; member 660 DXVA_PicParams_H264 *pic_params = &inner->pic_params; in gst_d3d11_h264_dec_start_picture() local 677 init_pic_params (pic_params); in gst_d3d11_h264_dec_start_picture() 678 gst_d3d11_h264_dec_fill_picture_params (self, &slice->header, pic_params); in gst_d3d11_h264_dec_start_picture() 680 pic_params->CurrPic.Index7Bits = view_id; in gst_d3d11_h264_dec_start_picture() 681 pic_params->RefPicFlag = GST_H264_PICTURE_IS_REF (picture); in gst_d3d11_h264_dec_start_picture() 682 pic_params->frame_num = picture->frame_num; in gst_d3d11_h264_dec_start_picture() 685 pic_params->CurrFieldOrderCnt[0] = picture->top_field_order_cnt; in gst_d3d11_h264_dec_start_picture() 686 pic_params->CurrFieldOrderCnt[1] = 0; in gst_d3d11_h264_dec_start_picture() 688 pic_params->CurrFieldOrderCnt[0] = 0; in gst_d3d11_h264_dec_start_picture() [all …]
|
D | gstd3d11mpeg2dec.cpp | 65 DXVA_PictureParameters pic_params; member 523 DXVA_PictureParameters *pic_params = &inner->pic_params; in gst_d3d11_mpeg2_dec_start_picture() local 539 memset (pic_params, 0, sizeof (DXVA_PictureParameters)); in gst_d3d11_mpeg2_dec_start_picture() 543 pic_params->wDecodedPictureIndex = view_id; in gst_d3d11_mpeg2_dec_start_picture() 544 pic_params->wForwardRefPictureIndex = 0xffff; in gst_d3d11_mpeg2_dec_start_picture() 545 pic_params->wBackwardRefPictureIndex = 0xffff; in gst_d3d11_mpeg2_dec_start_picture() 554 pic_params->wBackwardRefPictureIndex = other_view_id; in gst_d3d11_mpeg2_dec_start_picture() 564 pic_params->wForwardRefPictureIndex = other_view_id; in gst_d3d11_mpeg2_dec_start_picture() 571 pic_params->wPicWidthInMBminus1 = inner->width_in_mb - 1; in gst_d3d11_mpeg2_dec_start_picture() 572 pic_params->wPicHeightInMBminus1 = (inner->height_in_mb >> is_field) - 1; in gst_d3d11_mpeg2_dec_start_picture() [all …]
|
D | gstd3d11h265dec.cpp | 62 DXVA_PicParams_HEVC pic_params; member 629 gst_d3d11_h265_dec_get_ref_index (const DXVA_PicParams_HEVC * pic_params, in gst_d3d11_h265_dec_get_ref_index() argument 632 for (UCHAR i = 0; i < G_N_ELEMENTS (pic_params->RefPicList); i++) { in gst_d3d11_h265_dec_get_ref_index() 633 if (pic_params->RefPicList[i].Index7Bits == view_id) in gst_d3d11_h265_dec_get_ref_index() 660 DXVA_PicParams_HEVC *pic_params = &inner->pic_params; in gst_d3d11_h265_dec_start_picture() local 680 init_pic_params (pic_params); in gst_d3d11_h265_dec_start_picture() 681 gst_d3d11_h265_dec_fill_picture_params (self, &slice->header, pic_params); in gst_d3d11_h265_dec_start_picture() 683 pic_params->CurrPic.Index7Bits = view_id; in gst_d3d11_h265_dec_start_picture() 684 pic_params->IrapPicFlag = GST_H265_IS_NAL_TYPE_IRAP (slice->nalu.type); in gst_d3d11_h265_dec_start_picture() 685 pic_params->IdrPicFlag = GST_H265_IS_NAL_TYPE_IDR (slice->nalu.type); in gst_d3d11_h265_dec_start_picture() [all …]
|
D | gstd3d11vp9dec.cpp | 96 DXVA_PicParams_VP9 pic_params; member 677 DXVA_PicParams_VP9 *pic_params = &inner->pic_params; in gst_d3d11_vp9_dec_decode_picture() local 689 memset (pic_params, 0, sizeof (DXVA_PicParams_VP9)); in gst_d3d11_vp9_dec_decode_picture() 691 pic_params->CurrPic.Index7Bits = view_id; in gst_d3d11_vp9_dec_decode_picture() 692 pic_params->uncompressed_header_size_byte_aligned = in gst_d3d11_vp9_dec_decode_picture() 694 pic_params->first_partition_size = picture->frame_hdr.header_size_in_bytes; in gst_d3d11_vp9_dec_decode_picture() 695 pic_params->StatusReportFeedbackNumber = 1; in gst_d3d11_vp9_dec_decode_picture() 697 gst_d3d11_vp9_dec_copy_frame_params (self, picture, pic_params); in gst_d3d11_vp9_dec_decode_picture() 698 gst_d3d11_vp9_dec_copy_reference_frames (self, picture, dpb, pic_params); in gst_d3d11_vp9_dec_decode_picture() 699 gst_d3d11_vp9_dec_copy_frame_refs (self, picture, pic_params); in gst_d3d11_vp9_dec_decode_picture() [all …]
|
D | gstd3d11vp8dec.cpp | 65 DXVA_PicParams_VP8 pic_params; member 545 DXVA_PicParams_VP8 *pic_params = &inner->pic_params; in gst_d3d11_vp8_dec_decode_picture() local 558 memset (pic_params, 0, sizeof (DXVA_PicParams_VP8)); in gst_d3d11_vp8_dec_decode_picture() 560 pic_params->first_part_size = frame_hdr->first_part_size; in gst_d3d11_vp8_dec_decode_picture() 561 pic_params->width = inner->width; in gst_d3d11_vp8_dec_decode_picture() 562 pic_params->height = inner->height; in gst_d3d11_vp8_dec_decode_picture() 563 pic_params->CurrPic.Index7Bits = view_id; in gst_d3d11_vp8_dec_decode_picture() 564 pic_params->StatusReportFeedbackNumber = 1; in gst_d3d11_vp8_dec_decode_picture() 566 gst_d3d11_vp8_dec_copy_frame_params (self, picture, parser, pic_params); in gst_d3d11_vp8_dec_decode_picture() 567 gst_d3d11_vp8_dec_copy_reference_frames (self, pic_params); in gst_d3d11_vp8_dec_decode_picture() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvbaseenc.c | 2303 NV_ENC_PIC_PARAMS pic_params = { 0, }; in _submit_input_buffer() local 2314 pic_params.version = gst_nvenc_get_pic_params_version (); in _submit_input_buffer() 2315 pic_params.inputBuffer = inputBufferPtr; in _submit_input_buffer() 2316 pic_params.bufferFmt = bufferFormat; in _submit_input_buffer() 2318 pic_params.inputWidth = GST_VIDEO_FRAME_WIDTH (vframe); in _submit_input_buffer() 2319 pic_params.inputHeight = GST_VIDEO_FRAME_HEIGHT (vframe); in _submit_input_buffer() 2320 pic_params.outputBitstream = outputBufferPtr; in _submit_input_buffer() 2321 pic_params.completionEvent = NULL; in _submit_input_buffer() 2324 pic_params.pictureStruct = NV_ENC_PIC_STRUCT_FIELD_TOP_BOTTOM; in _submit_input_buffer() 2326 pic_params.pictureStruct = NV_ENC_PIC_STRUCT_FIELD_BOTTOM_TOP; in _submit_input_buffer() [all …]
|
D | gstnvh265enc.c | 92 GstVideoCodecFrame * frame, NV_ENC_PIC_PARAMS * pic_params); 649 NV_ENC_PIC_PARAMS * pic_params) in gst_nv_h265_enc_set_pic_params() argument 654 pic_params->codecPicParams.hevcPicParams.sliceMode = 0; in gst_nv_h265_enc_set_pic_params() 655 pic_params->codecPicParams.hevcPicParams.sliceModeData = 0; in gst_nv_h265_enc_set_pic_params() 658 pic_params->codecPicParams.hevcPicParams.seiPayloadArray = in gst_nv_h265_enc_set_pic_params() 660 pic_params->codecPicParams.hevcPicParams.seiPayloadArrayCnt = in gst_nv_h265_enc_set_pic_params()
|
D | gstnvh264enc.c | 91 GstVideoCodecFrame * frame, NV_ENC_PIC_PARAMS * pic_params); 545 NV_ENC_PIC_PARAMS * pic_params) in gst_nv_h264_enc_set_pic_params() argument 548 pic_params->codecPicParams.h264PicParams.sliceMode = 0; in gst_nv_h264_enc_set_pic_params() 549 pic_params->codecPicParams.h264PicParams.sliceModeData = 0; in gst_nv_h264_enc_set_pic_params()
|
D | gstnvbaseenc.h | 179 NV_ENC_PIC_PARAMS * pic_params);
|
D | gstnvenc.c | 258 NvEncEncodePicture (void *encoder, NV_ENC_PIC_PARAMS * pic_params) in NvEncEncodePicture() argument 261 return nvenc_api.nvEncEncodePicture (encoder, pic_params); in NvEncEncodePicture()
|
/third_party/ffmpeg/libavcodec/ |
D | nvenc.c | 2177 NV_ENC_PIC_PARAMS pic_params = { 0 }; in nvenc_send_frame() local 2178 pic_params.version = NV_ENC_PIC_PARAMS_VER; in nvenc_send_frame() 2203 pic_params.inputBuffer = in_surf->input_surface; in nvenc_send_frame() 2204 pic_params.bufferFmt = in_surf->format; in nvenc_send_frame() 2205 pic_params.inputWidth = in_surf->width; in nvenc_send_frame() 2206 pic_params.inputHeight = in_surf->height; in nvenc_send_frame() 2207 pic_params.inputPitch = in_surf->pitch; in nvenc_send_frame() 2208 pic_params.outputBitstream = in_surf->output_surface; in nvenc_send_frame() 2212 pic_params.pictureStruct = NV_ENC_PIC_STRUCT_FIELD_TOP_BOTTOM; in nvenc_send_frame() 2214 pic_params.pictureStruct = NV_ENC_PIC_STRUCT_FIELD_BOTTOM_TOP; in nvenc_send_frame() [all …]
|
D | nvdec_h264.c | 55 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_h264_start_frame() 135 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_h264_decode_slice()
|
D | nvdec.h | 53 CUVIDPICPARAMS pic_params; member
|
D | nvdec_mjpeg.c | 34 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_mjpeg_start_frame()
|
D | nvdec_vp8.c | 39 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_vp8_start_frame()
|
D | nvdec_mpeg4.c | 34 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_mpeg4_start_frame()
|
D | nvdec_mpeg12.c | 33 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_mpeg12_start_frame()
|
D | nvdec_vc1.c | 34 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_vc1_start_frame()
|
D | nvdec_vp9.c | 37 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_vp9_start_frame()
|
D | nvdec.c | 640 CUVIDPICPARAMS *pp = &ctx->pic_params; in ff_nvdec_end_frame() 655 ret = CHECK_CU(decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params)); in ff_nvdec_end_frame()
|
D | nvdec_av1.c | 48 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_av1_start_frame()
|
D | nvdec_hevc.c | 78 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_hevc_start_frame()
|