[Ffmpeg-cvslog] r6149 - trunk/libavcodec/snow.c

Oded Shimon ods15
Sat Sep 2 00:08:30 CEST 2006


On Sat, Sep 02, 2006 at 12:02:39AM +0200, lorenm wrote:
> snow cosmetics: merge the sliced and non-sliced versions of add_yblock
>  
> +static always_inline void add_yblock(SnowContext *s, int sliced, slice_buffer *sb, DWTELEM *dst, uint8_t *dst8, const uint8_t *obmc, int src_x, int src_y, int b_w, int b_h, int w, int h, int dst_stride, int src_stride, int obmc_stride, int b_x, int b_y, int add, int offset_dst, int plane_index){
> [..]
> +        if(!sliced && !offset_dst)

Personally I would just use a NULL check on 'sb' to tell between sliced 
and non sliced versions instead of adding a param...

- ods15




More information about the ffmpeg-cvslog mailing list