mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/h261: Move encoder-only stuff to a new header
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
d5e87df902
commit
8401b94602
@ -51,11 +51,4 @@ extern RLTable ff_h261_rl_tcoeff;
|
||||
|
||||
void ff_h261_loop_filter(MpegEncContext *s);
|
||||
|
||||
int ff_h261_get_picture_format(int width, int height);
|
||||
void ff_h261_reorder_mb_index(MpegEncContext *s);
|
||||
void ff_h261_encode_mb(MpegEncContext *s, int16_t block[6][64],
|
||||
int motion_x, int motion_y);
|
||||
void ff_h261_encode_picture_header(MpegEncContext *s, int picture_number);
|
||||
void ff_h261_encode_init(MpegEncContext *s);
|
||||
|
||||
#endif /* AVCODEC_H261_H */
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "mpegutils.h"
|
||||
#include "mpegvideo.h"
|
||||
#include "h261.h"
|
||||
#include "h261enc.h"
|
||||
#include "mpegvideodata.h"
|
||||
|
||||
static uint8_t uni_h261_rl_len [64*64*2*2];
|
||||
|
40
libavcodec/h261enc.h
Normal file
40
libavcodec/h261enc.h
Normal file
@ -0,0 +1,40 @@
|
||||
/*
|
||||
* H.261 encoder
|
||||
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
|
||||
* Copyright (c) 2004 Maarten Daniels
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg 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.
|
||||
*
|
||||
* FFmpeg 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 FFmpeg; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file
|
||||
* H.261 encoder header.
|
||||
*/
|
||||
|
||||
#ifndef AVCODEC_H261ENC_H
|
||||
#define AVCODEC_H261ENC_H
|
||||
|
||||
#include "mpegvideo.h"
|
||||
|
||||
int ff_h261_get_picture_format(int width, int height);
|
||||
void ff_h261_reorder_mb_index(MpegEncContext *s);
|
||||
void ff_h261_encode_mb(MpegEncContext *s, int16_t block[6][64],
|
||||
int motion_x, int motion_y);
|
||||
void ff_h261_encode_picture_header(MpegEncContext *s, int picture_number);
|
||||
void ff_h261_encode_init(MpegEncContext *s);
|
||||
|
||||
#endif
|
@ -48,7 +48,7 @@
|
||||
#include "mpeg12data.h"
|
||||
#include "mpegvideo.h"
|
||||
#include "mpegvideodata.h"
|
||||
#include "h261.h"
|
||||
#include "h261enc.h"
|
||||
#include "h263.h"
|
||||
#include "h263data.h"
|
||||
#include "mjpegenc_common.h"
|
||||
|
Loading…
Reference in New Issue
Block a user