vp9: make postproc members depend on CONFIG_VP9_POSTPROC
Change-Id: Id64218386968cee3132269e4a0572650f20fd980
This commit is contained in:
Родитель
890f7bedf3
Коммит
ef06de33fe
|
@ -44,8 +44,10 @@ void vp9_free_ref_frame_buffers(VP9_COMMON *cm) {
|
||||||
vp9_free_frame_buffer(&cm->frame_bufs[i].buf);
|
vp9_free_frame_buffer(&cm->frame_bufs[i].buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if CONFIG_VP9_POSTPROC
|
||||||
vp9_free_frame_buffer(&cm->post_proc_buffer);
|
vp9_free_frame_buffer(&cm->post_proc_buffer);
|
||||||
vp9_free_frame_buffer(&cm->post_proc_buffer_int);
|
vp9_free_frame_buffer(&cm->post_proc_buffer_int);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void vp9_free_context_buffers(VP9_COMMON *cm) {
|
void vp9_free_context_buffers(VP9_COMMON *cm) {
|
||||||
|
|
|
@ -112,8 +112,10 @@ typedef struct VP9Common {
|
||||||
|
|
||||||
int new_fb_idx;
|
int new_fb_idx;
|
||||||
|
|
||||||
|
#if CONFIG_VP9_POSTPROC
|
||||||
YV12_BUFFER_CONFIG post_proc_buffer;
|
YV12_BUFFER_CONFIG post_proc_buffer;
|
||||||
YV12_BUFFER_CONFIG post_proc_buffer_int;
|
YV12_BUFFER_CONFIG post_proc_buffer_int;
|
||||||
|
#endif
|
||||||
|
|
||||||
FRAME_TYPE last_frame_type; /* last frame's frame type for motion search.*/
|
FRAME_TYPE last_frame_type; /* last frame's frame type for motion search.*/
|
||||||
FRAME_TYPE frame_type;
|
FRAME_TYPE frame_type;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче