GNOME Bugzilla – Bug 754250
decoder: hevc: remove unused functions
Last modified: 2015-08-31 11:16:34 UTC
These functions are not used, and clang complains about them. I'm not sure if they are not called by mistake or they are not required at all. Sree?
Created attachment 310202 [details] [review] decoder: hevc: remove unused functions Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Review of attachment 310202 [details] [review]: ::: gst-libs/gst/vaapi/gstvaapidecoder_h265.c @@ -592,3 @@ - return pi ? &pi->data.vps : NULL; -} - return pi ? &pi->data.vps : NULL; VPS nal is not necessary to decode the base layers, so this is not needed at the moment. But in future we need this, especially when dealing with MVC and scalable layer decoding... Please add a a "#if 0" instead of removing the code... @@ -1359,3 @@ - *PicHeightInCtbsY = - ceil ((double) sps->pic_height_in_luma_samples / (double) CtbSizeY); - MinCbLog2SizeY = sps->log2_min_luma_coding_block_size_minus3 + 3; This piece of code was necessary before when there was no proper tile row and column parsing support in codecparsers. But this has been added recently in codecparser library and I forgot to remove this function from gstvaapidecoder... Yes this is redundant , please remove.
Attachment 310202 [details] pushed as cc63452 - decoder: hevc: remove unused functions
Pushed with the required modification.