Lines Matching refs:src_pic
880 SSourcePicture *src_pic = NULL; in gst_openh264enc_handle_frame() local
921 src_pic = new SSourcePicture; in gst_openh264enc_handle_frame()
923 if (src_pic == NULL) { in gst_openh264enc_handle_frame()
929 src_pic->iColorFormat = videoFormatI420; in gst_openh264enc_handle_frame()
930 src_pic->uiTimeStamp = frame->pts / GST_MSECOND; in gst_openh264enc_handle_frame()
953 src_pic->iPicWidth = GST_VIDEO_FRAME_WIDTH (&video_frame); in gst_openh264enc_handle_frame()
954 src_pic->iPicHeight = GST_VIDEO_FRAME_HEIGHT (&video_frame); in gst_openh264enc_handle_frame()
955 src_pic->iStride[0] = GST_VIDEO_FRAME_COMP_STRIDE (&video_frame, 0); in gst_openh264enc_handle_frame()
956 src_pic->iStride[1] = GST_VIDEO_FRAME_COMP_STRIDE (&video_frame, 1); in gst_openh264enc_handle_frame()
957 src_pic->iStride[2] = GST_VIDEO_FRAME_COMP_STRIDE (&video_frame, 2); in gst_openh264enc_handle_frame()
958 src_pic->pData[0] = GST_VIDEO_FRAME_COMP_DATA (&video_frame, 0); in gst_openh264enc_handle_frame()
959 src_pic->pData[1] = GST_VIDEO_FRAME_COMP_DATA (&video_frame, 1); in gst_openh264enc_handle_frame()
960 src_pic->pData[2] = GST_VIDEO_FRAME_COMP_DATA (&video_frame, 2); in gst_openh264enc_handle_frame()
971 ret = openh264enc->encoder->EncodeFrame (src_pic, &frame_info); in gst_openh264enc_handle_frame()
976 delete src_pic; in gst_openh264enc_handle_frame()
989 delete src_pic; in gst_openh264enc_handle_frame()
998 delete src_pic; in gst_openh264enc_handle_frame()
999 src_pic = NULL; in gst_openh264enc_handle_frame()