Skip duplicate denoiser frame buffer allocation
authorJingning Han <jingning@google.com>
Sat, 3 Jan 2015 20:00:46 +0000 (12:00 -0800)
committerJingning Han <jingning@google.com>
Wed, 7 Jan 2015 16:49:04 +0000 (08:49 -0800)
commit27582e573b0f6fcee45dd860d67fe6ffa6ba86ba
treeaddeb4f3ae60589686e955f0774d64ad8c775a72
parent5b860e1251c62f0561274ffdec53ec879250b268
Skip duplicate denoiser frame buffer allocation

Allocate the frame buffer allocation for denoiser once during the
encoder initialization. This avoids allocating frame buffer
multiple times and overwriting the buffer pointer without proper
releasing.

Change-Id: I9b3baa6283449d86fd164534d344c036bb035700
vp9/encoder/vp9_denoiser.c
vp9/encoder/vp9_denoiser.h
vp9/encoder/vp9_encoder.c