Originally committed as revision 20975 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -33,7 +33,6 @@ |
| 33 | 33 |
#include "faandct.h" |
| 34 | 34 |
#include "faanidct.h" |
| 35 | 35 |
#include "mathops.h" |
| 36 |
-#include "h263.h" |
|
| 37 | 36 |
#include "snow.h" |
| 38 | 37 |
#include "mpegvideo.h" |
| 39 | 38 |
#include "config.h" |
| ... | ... |
@@ -2876,7 +2875,7 @@ static void put_mspel8_mc22_c(uint8_t *dst, uint8_t *src, int stride){
|
| 2876 | 2876 |
} |
| 2877 | 2877 |
|
| 2878 | 2878 |
static void h263_v_loop_filter_c(uint8_t *src, int stride, int qscale){
|
| 2879 |
- if(CONFIG_ANY_H263) {
|
|
| 2879 |
+ if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
|
| 2880 | 2880 |
int x; |
| 2881 | 2881 |
const int strength= ff_h263_loop_filter_strength[qscale]; |
| 2882 | 2882 |
|
| ... | ... |
@@ -2913,7 +2912,7 @@ static void h263_v_loop_filter_c(uint8_t *src, int stride, int qscale){
|
| 2913 | 2913 |
} |
| 2914 | 2914 |
|
| 2915 | 2915 |
static void h263_h_loop_filter_c(uint8_t *src, int stride, int qscale){
|
| 2916 |
- if(CONFIG_ANY_H263) {
|
|
| 2916 |
+ if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
|
| 2917 | 2917 |
int y; |
| 2918 | 2918 |
const int strength= ff_h263_loop_filter_strength[qscale]; |
| 2919 | 2919 |
|
| ... | ... |
@@ -4807,7 +4806,7 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx) |
| 4807 | 4807 |
c->h264_h_loop_filter_chroma_intra= h264_h_loop_filter_chroma_intra_c; |
| 4808 | 4808 |
c->h264_loop_filter_strength= NULL; |
| 4809 | 4809 |
|
| 4810 |
- if (CONFIG_ANY_H263) {
|
|
| 4810 |
+ if (CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
|
| 4811 | 4811 |
c->h263_h_loop_filter= h263_h_loop_filter_c; |
| 4812 | 4812 |
c->h263_v_loop_filter= h263_v_loop_filter_c; |
| 4813 | 4813 |
} |
| 4814 | 4814 |
deleted file mode 100644 |
| ... | ... |
@@ -1,30 +0,0 @@ |
| 1 |
-/* |
|
| 2 |
- * H263/MPEG4 backend for ffmpeg 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_H263_H |
|
| 23 |
-#define AVCODEC_H263_H |
|
| 24 |
- |
|
| 25 |
-#include "config.h" |
|
| 26 |
-#include "msmpeg4.h" |
|
| 27 |
- |
|
| 28 |
-#define CONFIG_ANY_H263 (CONFIG_H263_DECODER || CONFIG_H263_ENCODER) |
|
| 29 |
- |
|
| 30 |
-#endif /* AVCODEC_H263_H */ |
| ... | ... |
@@ -24,7 +24,6 @@ |
| 24 | 24 |
|
| 25 | 25 |
#include "libavutil/x86_cpu.h" |
| 26 | 26 |
#include "libavcodec/dsputil.h" |
| 27 |
-#include "libavcodec/h263.h" |
|
| 28 | 27 |
#include "libavcodec/mpegvideo.h" |
| 29 | 28 |
#include "libavcodec/simple_idct.h" |
| 30 | 29 |
#include "dsputil_mmx.h" |
| ... | ... |
@@ -703,7 +702,7 @@ static void add_hfyu_median_prediction_cmov(uint8_t *dst, const uint8_t *top, co |
| 703 | 703 |
"paddb %%mm1, %%mm6 \n\t" |
| 704 | 704 |
|
| 705 | 705 |
static void h263_v_loop_filter_mmx(uint8_t *src, int stride, int qscale){
|
| 706 |
- if(CONFIG_ANY_H263) {
|
|
| 706 |
+ if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
|
| 707 | 707 |
const int strength= ff_h263_loop_filter_strength[qscale]; |
| 708 | 708 |
|
| 709 | 709 |
__asm__ volatile( |
| ... | ... |
@@ -753,7 +752,7 @@ static inline void transpose4x4(uint8_t *dst, uint8_t *src, int dst_stride, int |
| 753 | 753 |
} |
| 754 | 754 |
|
| 755 | 755 |
static void h263_h_loop_filter_mmx(uint8_t *src, int stride, int qscale){
|
| 756 |
- if(CONFIG_ANY_H263) {
|
|
| 756 |
+ if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
|
| 757 | 757 |
const int strength= ff_h263_loop_filter_strength[qscale]; |
| 758 | 758 |
DECLARE_ALIGNED(8, uint64_t, temp[4]); |
| 759 | 759 |
uint8_t *btemp= (uint8_t*)temp; |
| ... | ... |
@@ -2624,7 +2623,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) |
| 2624 | 2624 |
|
| 2625 | 2625 |
c->draw_edges = draw_edges_mmx; |
| 2626 | 2626 |
|
| 2627 |
- if (CONFIG_ANY_H263) {
|
|
| 2627 |
+ if (CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
|
| 2628 | 2628 |
c->h263_v_loop_filter= h263_v_loop_filter_mmx; |
| 2629 | 2629 |
c->h263_h_loop_filter= h263_h_loop_filter_mmx; |
| 2630 | 2630 |
} |