• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            牽著老婆滿街逛

            嚴以律己,寬以待人. 三思而后行.
            GMail/GTalk: yanglinbo#google.com;
            MSN/Email: tx7do#yahoo.com.cn;
            QQ: 3 0 3 3 9 6 9 2 0 .

            sws_getContext用法實例

            轉載自:http://blog.csdn.net/markman101/article/details/6415423

            struct SwsContext*  sws_getContext (int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, double *param)
            Returns an SwsContext to be used in sws_scale .

            Params: 
            srcW, srcH, srcFormat : source width, height, and pix format
            dstW, dstH, dstFormat : destination width, height, and pix format
            flags : Method of scaling to use. Choices are SWS_FAST_BILINEAR, SWS_BILINEAR, SWS_BICUBIC, SWS_X, SWS_POINT, SWS_AREA, SWS_BICUBLIN, SWS_GAUSS, SWS_SINC, SWS_LANCZOS, SWS_SPLINE. Other flags include CPU capability flags: SWS_CPU_CAPS_MMX, SWS_CPU_CAPS_MMX2, SWS_CPU_CAPS_3DNOW, SWS_CPU_CAPS_ALTIVEC. Other flags include (currently not completely implemented) SWS_FULL_CHR_H_INT, SWS_FULL_CHR_H_INP, and SWS_DIRECT_BGR. Finally we have SWS_ACCURATE_RND and perhaps the most useful for beginners, SWS_PRINT_INFO. I have no idea what most of these do. Maybe email me?
            srcFilter, dstFilter : SwsFilter for source and destination. SwsFilter involves chroma/luminsence filtering. A value of NULL sets these to the default.
            param : should be a pointer to an int[2] buffer with coefficients. Not documented. Looks like it's used to alter the default scaling algorithms slightly. A value of NULL sets this to the default. Experts only!



            使用方法如下:
            #define W 96
            #define H 96
            struct SwsContext *sws;
            sws
            = sws_getContext(W/12, H/12, PIX_FMT_RGB32, W, H, PIX_FMT_YUV420P, 2, NULL, NULL, NULL);

            用途:
            sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride);

            posted on 2013-01-28 18:20 楊粼波 閱讀(4164) 評論(0)  編輯 收藏 引用

            无码AV波多野结衣久久| 亚洲精品tv久久久久久久久久| 中文国产成人精品久久不卡| 色狠狠久久AV五月综合| 久久er热视频在这里精品| 伊人久久五月天| 色综合久久中文色婷婷| 久久久亚洲欧洲日产国码是AV| 久久九九亚洲精品| 亚洲精品无码久久久久去q| 国产精品激情综合久久| 国产午夜免费高清久久影院| 久久精品人人做人人爽电影| 国产亚洲成人久久| 大伊人青草狠狠久久| 7777精品久久久大香线蕉| 久久精品国产黑森林| 久久精品国产半推半就| 欧美噜噜久久久XXX| 狠狠综合久久AV一区二区三区| 久久精品国产99国产精品| 99久久久久| 国产激情久久久久影院老熟女免费| 亚洲国产精品无码久久| 波多野结衣久久精品| 性高湖久久久久久久久AAAAA| 国产亚洲精午夜久久久久久| 91久久福利国产成人精品| 成人资源影音先锋久久资源网| 蜜臀久久99精品久久久久久小说 | 亚洲色欲久久久综合网东京热| 久久精品国产欧美日韩| 国产精品丝袜久久久久久不卡| 欧美一区二区精品久久| 国产—久久香蕉国产线看观看| 久久久精品午夜免费不卡| 国产精品熟女福利久久AV| 久久久久久国产精品美女| 婷婷久久综合九色综合绿巨人| 久久久久亚洲AV无码专区首JN| 久久亚洲sm情趣捆绑调教|