ffmpeg | branch: master | Peter Ross <pr...@xvid.org> | Sat Nov 16 19:08:39 2024 +1100| [7b3bc4a45ba05918907eb1b49cd661eaf81e69f0] | committer: Peter Ross
avcodec/rv60: consistent indentation > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b3bc4a45ba05918907eb1b49cd661eaf81e69f0 --- libavcodec/rv60dec.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/rv60dec.c b/libavcodec/rv60dec.c index a54980f131..64fa72d8f2 100644 --- a/libavcodec/rv60dec.c +++ b/libavcodec/rv60dec.c @@ -309,8 +309,8 @@ static int update_dimensions_clear_info(RV60Context *s, int width, int height) return ret; for (int j = 0; j < s->cu_height << 4; j++) - for (int i = 0; i < s->cu_width << 4; i++) - s->blk_info[j*s->blk_stride + i].mv.mvref = MVREF_NONE; + for (int i = 0; i < s->cu_width << 4; i++) + s->blk_info[j*s->blk_stride + i].mv.mvref = MVREF_NONE; if (s->deblock) { int size; @@ -335,7 +335,7 @@ static int update_dimensions_clear_info(RV60Context *s, int width, int height) static int read_code012(GetBitContext * gb) { if (!get_bits1(gb)) - return 0; + return 0; return get_bits1(gb) + 1; } @@ -1400,10 +1400,10 @@ static void avg_plane(uint8_t * dst, int dst_stride, const uint8_t * src, int sr static void avg(AVFrame * frame, uint8_t * prev_frame_data[3], int prev_frame_linesize[3], int x, int y, int w, int h) { for (int plane = 0; plane < 3; plane++) { - int shift = !plane ? 0 : 1; - avg_plane(frame->data[plane] + (y >> shift) * frame->linesize[plane] + (x >> shift), frame->linesize[plane], - prev_frame_data[plane], prev_frame_linesize[plane], - w >> shift, h >> shift); + int shift = !plane ? 0 : 1; + avg_plane(frame->data[plane] + (y >> shift) * frame->linesize[plane] + (x >> shift), frame->linesize[plane], + prev_frame_data[plane], prev_frame_linesize[plane], + w >> shift, h >> shift); } } @@ -2151,7 +2151,7 @@ static void deblock_cu_r(RV60Context * s, AVFrame * frame, ThreadContext * threa enum CUType cu_type; if (xpos >= s->awidth || ypos >= s->aheight) - return; + return; if (thread->cu_split[thread->cu_split_pos++]) { int hsize = 1 << (log_size - 1); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".