Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: patched-ffmpeg-mt/libswscale/bfin/yuv2rgb_bfin.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Marc Hoffman <marc.hoffman@analog.com> 2 * Copyright (C) 2007 Marc Hoffman <marc.hoffman@analog.com>
3 * 3 *
4 * Blackfin video color space converter operations 4 * Blackfin video color space converter operations
5 * convert I420 YV12 to RGB in various formats 5 * convert I420 YV12 to RGB in various formats
6 * 6 *
7 * This file is part of FFmpeg. 7 * This file is part of FFmpeg.
8 * 8 *
9 * FFmpeg is free software; you can redistribute it and/or 9 * FFmpeg is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public 10 * modify it under the terms of the GNU Lesser General Public
(...skipping 14 matching lines...) Expand all
25 #include <stdlib.h> 25 #include <stdlib.h>
26 #include <string.h> 26 #include <string.h>
27 #include <inttypes.h> 27 #include <inttypes.h>
28 #include <assert.h> 28 #include <assert.h>
29 #include "config.h" 29 #include "config.h"
30 #include <unistd.h> 30 #include <unistd.h>
31 #include "libswscale/rgb2rgb.h" 31 #include "libswscale/rgb2rgb.h"
32 #include "libswscale/swscale.h" 32 #include "libswscale/swscale.h"
33 #include "libswscale/swscale_internal.h" 33 #include "libswscale/swscale_internal.h"
34 34
35 #ifdef __FDPIC__ 35 #if defined(__FDPIC__) && CONFIG_SRAM
36 #define L1CODE __attribute__ ((l1_text)) 36 #define L1CODE __attribute__ ((l1_text))
37 #else 37 #else
38 #define L1CODE 38 #define L1CODE
39 #endif 39 #endif
40 40
41 void ff_bfin_yuv2rgb555_line(uint8_t *Y, uint8_t *U, uint8_t *V, uint8_t *out, 41 void ff_bfin_yuv2rgb555_line(uint8_t *Y, uint8_t *U, uint8_t *V, uint8_t *out,
42 int w, uint32_t *coeffs) L1CODE; 42 int w, uint32_t *coeffs) L1CODE;
43 43
44 void ff_bfin_yuv2rgb565_line(uint8_t *Y, uint8_t *U, uint8_t *V, uint8_t *out, 44 void ff_bfin_yuv2rgb565_line(uint8_t *Y, uint8_t *U, uint8_t *V, uint8_t *out,
45 int w, uint32_t *coeffs) L1CODE; 45 int w, uint32_t *coeffs) L1CODE;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 case PIX_FMT_BGR24: f = bfin_yuv420_bgr24; break; 194 case PIX_FMT_BGR24: f = bfin_yuv420_bgr24; break;
195 default: 195 default:
196 return 0; 196 return 0;
197 } 197 }
198 198
199 av_log(c, AV_LOG_INFO, "BlackFin accelerated color space converter %s\n", 199 av_log(c, AV_LOG_INFO, "BlackFin accelerated color space converter %s\n",
200 sws_format_name (c->dstFormat)); 200 sws_format_name (c->dstFormat));
201 201
202 return f; 202 return f;
203 } 203 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698