FFmpeg
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
g
h
i
o
q
r
s
v
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
a
d
e
f
h
i
j
l
m
n
p
r
s
v
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
libavcodec
h263.h
Go to the documentation of this file.
1
/*
2
* H.263 internal header
3
*
4
* This file is part of FFmpeg.
5
*
6
* FFmpeg is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* FFmpeg is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with FFmpeg; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
#ifndef AVCODEC_H263_H
21
#define AVCODEC_H263_H
22
23
#include "
libavutil/rational.h
"
24
#include "
mpegvideo.h
"
25
26
#define FF_ASPECT_EXTENDED 15
27
28
#define H263_GOB_HEIGHT(h) ((h) <= 400 ? 1 : (h) <= 800 ? 2 : 4)
29
30
static
inline
int
ff_h263_round_chroma
(
int
x)
31
{
32
//FIXME static or not?
33
static
const
uint8_t h263_chroma_roundtab[16] = {
34
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
35
0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1,
36
};
37
return
h263_chroma_roundtab[x & 0xf] + (x >> 3);
38
}
39
40
av_const
int
ff_h263_aspect_to_info
(
AVRational
aspect);
41
int16_t *
ff_h263_pred_motion
(
MpegEncContext
*
s
,
int
block
,
int
dir,
42
int
*px,
int
*py);
43
void
ff_h263_init_rl_inter
(
void
);
44
void
ff_h263_update_motion_val
(
MpegEncContext
*
s
);
45
void
ff_h263_loop_filter
(
MpegEncContext
*
s
);
46
47
#endif
/* AVCODEC_H263_H */
rational.h
av_const
#define av_const
Definition:
attributes.h:84
mpegvideo.h
s
#define s(width, name)
Definition:
cbs_vp9.c:198
ff_h263_init_rl_inter
void ff_h263_init_rl_inter(void)
Definition:
h263.c:47
AVRational
Rational number (pair of numerator and denominator).
Definition:
rational.h:58
ff_h263_update_motion_val
void ff_h263_update_motion_val(MpegEncContext *s)
Definition:
h263.c:53
ff_h263_loop_filter
void ff_h263_loop_filter(MpegEncContext *s)
Definition:
h263.c:94
ff_h263_round_chroma
static int ff_h263_round_chroma(int x)
Definition:
h263.h:30
ff_h263_aspect_to_info
av_const int ff_h263_aspect_to_info(AVRational aspect)
ff_h263_pred_motion
int16_t * ff_h263_pred_motion(MpegEncContext *s, int block, int dir, int *px, int *py)
Definition:
h263.c:179
block
The exact code depends on how similar the blocks are and how related they are to the block
Definition:
filter_design.txt:207
MpegEncContext
MpegEncContext.
Definition:
mpegvideo.h:64
Generated on Tue Apr 1 2025 19:21:48 for FFmpeg by
1.8.17