diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2008-01-08 22:03:30 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-01-08 22:03:30 +0000 |
commit | 9656df79948afa1a3beaff2ff1071442ea5d4a4f (patch) | |
tree | 4b3eea8155bf00861f2712806c190e93dc4c9c60 /libpostproc/postprocess.c | |
parent | 59edca9ac10e007a6edb3e3a135dc399bd154209 (diff) | |
download | ffmpeg-streaming-9656df79948afa1a3beaff2ff1071442ea5d4a4f.zip ffmpeg-streaming-9656df79948afa1a3beaff2ff1071442ea5d4a4f.tar.gz |
Remove clip_table as it is not used anymore.
Patch by Diego 'Flameeyes' Pettenò (flameeyes gmail com)
Originally committed as revision 11468 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc/postprocess.c')
-rw-r--r-- | libpostproc/postprocess.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index da21876..6ae8c1d 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -111,9 +111,6 @@ static DECLARE_ALIGNED(8, uint64_t attribute_used, b08)= 0x0808080808080808LL; static DECLARE_ALIGNED(8, uint64_t attribute_used, b80)= 0x8080808080808080LL; #endif -static uint8_t clip_table[3*256]; -static uint8_t * const clip_tab= clip_table + 256; - static const int attribute_used deringThreshold= 20; @@ -970,14 +967,6 @@ static void reallocBuffers(PPContext *c, int width, int height, int stride, int reallocAlign((void **)&c->forcedQPTable, 8, mbWidth*sizeof(QP_STORE_T)); } -static void global_init(void){ - int i; - memset(clip_table, 0, 256); - for(i=256; i<512; i++) - clip_table[i]= i; - memset(clip_table+512, 0, 256); -} - static const char * context_to_name(void * ptr) { return "postproc"; } @@ -989,8 +978,6 @@ pp_context_t *pp_get_context(int width, int height, int cpuCaps){ int stride= (width+15)&(~15); //assumed / will realloc if needed int qpStride= (width+15)/16 + 2; //assumed / will realloc if needed - global_init(); - memset(c, 0, sizeof(PPContext)); c->av_class = &av_codec_context_class; c->cpuCaps= cpuCaps; |