From: Wind Yuan Date: Thu, 22 Dec 2011 13:02:10 +0000 (+0800) Subject: add Intel Copyright X-Git-Tag: accepted/2.0/20130321.180609~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4733a6441b7ffde16061e4caa41c93a9a2f985c6;p=profile%2Fivi%2Fgstreamer-vaapi.git add Intel Copyright --- diff --git a/gst/vaapiencode/gstvaapibaseencoder.c b/gst/vaapiencode/gstvaapibaseencoder.c index a15f74a..ae91cdf 100644 --- a/gst/vaapiencode/gstvaapibaseencoder.c +++ b/gst/vaapiencode/gstvaapibaseencoder.c @@ -1,3 +1,23 @@ +/* + * gstvaapibaseencoder.c - VA-API base encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ #include "gstvaapibaseencoder.h" diff --git a/gst/vaapiencode/gstvaapibaseencoder.h b/gst/vaapiencode/gstvaapibaseencoder.h index 0717d44..830a66f 100644 --- a/gst/vaapiencode/gstvaapibaseencoder.h +++ b/gst/vaapiencode/gstvaapibaseencoder.h @@ -1,3 +1,24 @@ +/* + * gstvaapibaseencoder.h - VA-API base encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #ifndef GST_VAAPI_BASE_ENCODER_H #define GST_VAAPI_BASE_ENCODER_H diff --git a/gst/vaapiencode/gstvaapiencode.c b/gst/vaapiencode/gstvaapiencode.c index e3d106a..7724418 100644 --- a/gst/vaapiencode/gstvaapiencode.c +++ b/gst/vaapiencode/gstvaapiencode.c @@ -1,3 +1,24 @@ +/* + * gstvaapiencode.c - VA-API video encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #include "config.h" #include "gstvaapiencode.h" diff --git a/gst/vaapiencode/gstvaapiencode.h b/gst/vaapiencode/gstvaapiencode.h index 107246b..42e13d6 100644 --- a/gst/vaapiencode/gstvaapiencode.h +++ b/gst/vaapiencode/gstvaapiencode.h @@ -1,22 +1,22 @@ /* - * gstvaapiencode.h - VA-API video encode + * gstvaapiencode.h - VA-API video encoder * - * gstreamer-vaapi (C) 2010-2011 Splitted-Desktop Systems * Copyright (C) 2011 Intel Corporation * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA */ #ifndef GST_VAAPI_ENCODE_H diff --git a/gst/vaapiencode/gstvaapiencoder.c b/gst/vaapiencode/gstvaapiencoder.c index 90651c2..203fbc5 100644 --- a/gst/vaapiencode/gstvaapiencoder.c +++ b/gst/vaapiencode/gstvaapiencoder.c @@ -1,3 +1,24 @@ +/* + * gstvaapiencoder.c - VA-API encoder interface + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #include "gstvaapiencoder.h" #include diff --git a/gst/vaapiencode/gstvaapiencoder.h b/gst/vaapiencode/gstvaapiencoder.h index c546fdc..db97580 100644 --- a/gst/vaapiencode/gstvaapiencoder.h +++ b/gst/vaapiencode/gstvaapiencoder.h @@ -1,3 +1,24 @@ +/* + * gstvaapiencoder.h - VA-API encoder interface + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #ifndef GST_VAAPI_ENCODER_H #define GST_VAAPI_ENCODER_H diff --git a/gst/vaapiencode/gstvaapih263encode.c b/gst/vaapiencode/gstvaapih263encode.c index 40a46bf..9302f61 100644 --- a/gst/vaapiencode/gstvaapih263encode.c +++ b/gst/vaapiencode/gstvaapih263encode.c @@ -1,3 +1,24 @@ +/* + * gstvaapih263encode.c - VA-API H.263 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #include "gstvaapih263encode.h" #include "gstvaapih263encoder.h" diff --git a/gst/vaapiencode/gstvaapih263encode.h b/gst/vaapiencode/gstvaapih263encode.h index e0d4e58..2babce5 100644 --- a/gst/vaapiencode/gstvaapih263encode.h +++ b/gst/vaapiencode/gstvaapih263encode.h @@ -1,3 +1,24 @@ +/* + * gstvaapih263encode.h - VA-API H.263 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #ifndef GST_VAAPI_H263_ENCODE_H #define GST_VAAPI_H263_ENCODE_H diff --git a/gst/vaapiencode/gstvaapih263encoder.c b/gst/vaapiencode/gstvaapih263encoder.c index 4960900..0cb500c 100644 --- a/gst/vaapiencode/gstvaapih263encoder.c +++ b/gst/vaapiencode/gstvaapih263encoder.c @@ -1,8 +1,28 @@ +/* + * gstvaapih263encoder.c - H.263 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #include "gstvaapih263encoder.h" #include - -#include "gst/gstclock.h" +#include #include "gst/vaapi/gstvaapiobject.h" #include "gst/vaapi/gstvaapiobject_priv.h" diff --git a/gst/vaapiencode/gstvaapih263encoder.h b/gst/vaapiencode/gstvaapih263encoder.h index 4e444ee..3d36584 100644 --- a/gst/vaapiencode/gstvaapih263encoder.h +++ b/gst/vaapiencode/gstvaapih263encoder.h @@ -1,3 +1,23 @@ +/* + * gstvaapih263encoder.h - H.263 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ #ifndef _GST_VAAPI_H263_ENCODER_H_ #define _GST_VAAPI_H263_ENCODER_H_ diff --git a/gst/vaapiencode/gstvaapih264encode.c b/gst/vaapiencode/gstvaapih264encode.c index 8c9feff..f6ae557 100644 --- a/gst/vaapiencode/gstvaapih264encode.c +++ b/gst/vaapiencode/gstvaapih264encode.c @@ -1,3 +1,24 @@ +/* + * gstvaapih264encode.c - VA-API H.264 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #include "gstvaapih264encode.h" #include "gstvaapih264encoder.h" diff --git a/gst/vaapiencode/gstvaapih264encode.h b/gst/vaapiencode/gstvaapih264encode.h index 9606e3b..efe317c 100644 --- a/gst/vaapiencode/gstvaapih264encode.h +++ b/gst/vaapiencode/gstvaapih264encode.h @@ -1,3 +1,24 @@ +/* + * gstvaapih264encode.h - VA-API H.264 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #ifndef GST_VAAPI_H264_ENCODE_H #define GST_VAAPI_H264_ENCODE_H diff --git a/gst/vaapiencode/gstvaapih264encoder.c b/gst/vaapiencode/gstvaapih264encoder.c index 483453d..71b3e63 100644 --- a/gst/vaapiencode/gstvaapih264encoder.c +++ b/gst/vaapiencode/gstvaapih264encoder.c @@ -1,3 +1,23 @@ +/* + * gstvaapih264encoder.c - H.264 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ #include "gstvaapih264encoder.h" diff --git a/gst/vaapiencode/gstvaapih264encoder.h b/gst/vaapiencode/gstvaapih264encoder.h index 1739250..befcb89 100644 --- a/gst/vaapiencode/gstvaapih264encoder.h +++ b/gst/vaapiencode/gstvaapih264encoder.h @@ -1,3 +1,23 @@ +/* + * gstvaapih264encoder.h - H.264 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ #ifndef _GST_H264_ENCODER_H_ #define _GST_H264_ENCODER_H_ diff --git a/gst/vaapiencode/gstvaapimpeg4encode.c b/gst/vaapiencode/gstvaapimpeg4encode.c index e375fa4..3debbb5 100644 --- a/gst/vaapiencode/gstvaapimpeg4encode.c +++ b/gst/vaapiencode/gstvaapimpeg4encode.c @@ -1,3 +1,24 @@ +/* + * gstvaapimpeg4encode.c - VA-API MPEG-4 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #include "gstvaapimpeg4encode.h" #include "gstvaapimpeg4encoder.h" diff --git a/gst/vaapiencode/gstvaapimpeg4encode.h b/gst/vaapiencode/gstvaapimpeg4encode.h index 09a0495..fa0347a 100644 --- a/gst/vaapiencode/gstvaapimpeg4encode.h +++ b/gst/vaapiencode/gstvaapimpeg4encode.h @@ -1,3 +1,24 @@ +/* + * gstvaapimpeg4encode.h - VA-API MPEG-4 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #ifndef GST_VAAPI_MPEG4_ENCODE_H #define GST_VAAPI_MPEG4_ENCODE_H diff --git a/gst/vaapiencode/gstvaapimpeg4encoder.c b/gst/vaapiencode/gstvaapimpeg4encoder.c index da482cd..9d1994f 100644 --- a/gst/vaapiencode/gstvaapimpeg4encoder.c +++ b/gst/vaapiencode/gstvaapimpeg4encoder.c @@ -1,7 +1,27 @@ +/* + * gstvaapimpeg4encoder.c - MPEG-4 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + #include "gstvaapimpeg4encoder.h" #include - #include "gst/gstclock.h" #include "gst/vaapi/gstvaapiobject.h" @@ -22,10 +42,7 @@ struct _GstMPEG4EncoderPrivate { VABufferID seq_parameter; VABufferID pic_parameter; VABufferID slice_parameter; - //VABufferID coded_buffer; - /*total encoded frames*/ - //guint32 frame_count; GstBuffer *codec_data; }; diff --git a/gst/vaapiencode/gstvaapimpeg4encoder.h b/gst/vaapiencode/gstvaapimpeg4encoder.h index 56b2e49..f2fe828 100644 --- a/gst/vaapiencode/gstvaapimpeg4encoder.h +++ b/gst/vaapiencode/gstvaapimpeg4encoder.h @@ -1,3 +1,23 @@ +/* + * gstvaapimpeg4encoder.h - MPEG-4 encoder + * + * Copyright (C) 2011 Intel Corporation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ #ifndef _GST_VAAPI_MPEG4_ENCODER_H_ #define _GST_VAAPI_MPEG4_ENCODER_H_