FFmpeg
libavcodec
msmpeg4.h
Go to the documentation of this file.
1
/*
2
* MSMPEG4 backend for encoder and decoder
3
* copyright (c) 2007 Aurelien Jacobs <aurel@gnuage.org>
4
*
5
* This file is part of FFmpeg.
6
*
7
* FFmpeg is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
11
*
12
* FFmpeg is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with FFmpeg; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
*/
21
22
#ifndef AVCODEC_MSMPEG4_H
23
#define AVCODEC_MSMPEG4_H
24
25
#include <stdint.h>
26
27
#include "
mpegvideo.h
"
28
29
#define II_BITRATE 128*1024
30
#define MBAC_BITRATE 50*1024
31
32
#define DC_MAX 119
33
34
void
ff_msmpeg4_common_init
(
MpegEncContext
*
s
);
35
int
ff_msmpeg4_coded_block_pred
(
MpegEncContext
*
s
,
int
n,
36
uint8_t **coded_block_ptr);
37
38
int
ff_msmpeg4_pred_dc
(
MpegEncContext
*
s
,
int
n,
39
int16_t **dc_val_ptr,
int
*dir_ptr);
40
41
#endif
/* AVCODEC_MSMPEG4_H */
mpegvideo.h
ff_msmpeg4_coded_block_pred
int ff_msmpeg4_coded_block_pred(MpegEncContext *s, int n, uint8_t **coded_block_ptr)
Definition:
msmpeg4.c:154
s
#define s(width, name)
Definition:
cbs_vp9.c:256
ff_msmpeg4_common_init
void ff_msmpeg4_common_init(MpegEncContext *s)
Definition:
msmpeg4.c:114
ff_msmpeg4_pred_dc
int ff_msmpeg4_pred_dc(MpegEncContext *s, int n, int16_t **dc_val_ptr, int *dir_ptr)
Definition:
msmpeg4.c:194
MpegEncContext
MpegEncContext.
Definition:
mpegvideo.h:67
Generated on Tue Feb 28 2023 21:33:32 for FFmpeg by
1.8.17