Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
e7af52a6
Commit
e7af52a6
authored
Jun 10, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: rv10: Move function declaration to a separate header
parent
e3d0f49a
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
5 deletions
+38
-5
ituh263dec.c
libavcodec/ituh263dec.c
+1
-0
mpegvideo.h
libavcodec/mpegvideo.h
+0
-5
mpegvideo_enc.c
libavcodec/mpegvideo_enc.c
+1
-0
rv10.c
libavcodec/rv10.c
+1
-0
rv10.h
libavcodec/rv10.h
+33
-0
rv10enc.c
libavcodec/rv10enc.c
+1
-0
rv20enc.c
libavcodec/rv20enc.c
+1
-0
No files found.
libavcodec/ituh263dec.c
View file @
e7af52a6
...
...
@@ -41,6 +41,7 @@
#include "mpegutils.h"
#include "unary.h"
#include "flv.h"
#include "rv10.h"
#include "mpeg4video.h"
#include "mpegvideodata.h"
...
...
libavcodec/mpegvideo.h
View file @
e7af52a6
...
...
@@ -659,9 +659,4 @@ static inline int get_bits_diff(MpegEncContext *s){
return
bits
-
last
;
}
/* rv10.c */
int
ff_rv10_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
);
int
ff_rv_decode_dc
(
MpegEncContext
*
s
,
int
n
);
void
ff_rv20_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
);
#endif
/* AVCODEC_MPEGVIDEO_H */
libavcodec/mpegvideo_enc.c
View file @
e7af52a6
...
...
@@ -59,6 +59,7 @@
#include "internal.h"
#include "bytestream.h"
#include "wmv2.h"
#include "rv10.h"
#include <limits.h>
#define QUANT_BIAS_SHIFT 8
...
...
libavcodec/rv10.c
View file @
e7af52a6
...
...
@@ -39,6 +39,7 @@
#include "mpegvideo.h"
#include "mpeg4video.h"
#include "mpegvideodata.h"
#include "rv10.h"
#define RV_GET_MAJOR_VER(x) ((x) >> 28)
#define RV_GET_MINOR_VER(x) (((x) >> 20) & 0xFF)
...
...
libavcodec/rv10.h
0 → 100644
View file @
e7af52a6
/*
* RV10/RV20 decoder
*
* This file is part of Libav.
*
* Libav 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.
*
* Libav 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 Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVCODEC_RV10_H
#define AVCODEC_RV10_H
#include <stdint.h>
#include "mpegvideo.h"
int
ff_rv_decode_dc
(
MpegEncContext
*
s
,
int
n
);
int
ff_rv10_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
);
void
ff_rv20_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
);
#endif
/* AVCODEC_RV10_H */
libavcodec/rv10enc.c
View file @
e7af52a6
...
...
@@ -27,6 +27,7 @@
#include "mpegvideo.h"
#include "put_bits.h"
#include "rv10.h"
int
ff_rv10_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
)
{
...
...
libavcodec/rv20enc.c
View file @
e7af52a6
...
...
@@ -30,6 +30,7 @@
#include "h263.h"
#include "h263data.h"
#include "put_bits.h"
#include "rv10.h"
void
ff_rv20_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
){
put_bits
(
&
s
->
pb
,
2
,
s
->
pict_type
);
//I 0 vs. 1 ?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment