]> granicus.if.org Git - libvpx/commit
Merged two similar functions to reduce duplication
authorYaowu Xu <yaowu@google.com>
Mon, 10 Feb 2014 19:25:23 +0000 (11:25 -0800)
committerYaowu Xu <yaowu@google.com>
Mon, 10 Feb 2014 19:36:42 +0000 (11:36 -0800)
commit855070e2540f84d0260c7910c2464fec833893a4
tree8026fb451b43bb9522e528682de4e83389fad035
parent7c8a66664cd199b57a96992d51d7e8e312d0c12b
Merged two similar functions to reduce duplication

Function encode_rtc_frame_internal() and encode_frame_internal() only
differed by a couple of speed features, this commit relocation those
difference into the setup of speed features and merged two functions
into one to remove duplication.

It also fixed a subtle bug super_fast_rtc was used before it was
initialized.

Change-Id: I234a5a1d11a4450930e5b4943dbab434208d5030
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_onyx_if.c