• <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 楊粼波 閱讀(4159) 評論(0)  編輯 收藏 引用

            国产91色综合久久免费| 久久久久久噜噜精品免费直播| 久久综合亚洲色一区二区三区| 久久精品aⅴ无码中文字字幕不卡| 亚洲第一极品精品无码久久| 久久久久久久久无码精品亚洲日韩 | 曰曰摸天天摸人人看久久久| 久久国产乱子伦精品免费午夜| 国产精品久久新婚兰兰| 欧美综合天天夜夜久久| 久久亚洲sm情趣捆绑调教| 久久精品国产99国产电影网 | 伊人伊成久久人综合网777| 国产成人精品综合久久久| 999久久久免费精品国产| 久久精品国产精品亚洲下载| 国产精品99久久免费观看| 污污内射久久一区二区欧美日韩| 国产一区二区三区久久精品| 久久精品中文字幕一区| 久久夜色撩人精品国产小说| 久久精品国产亚洲综合色| 久久久久人妻精品一区| 日韩电影久久久被窝网| 一本久久综合亚洲鲁鲁五月天| 亚洲香蕉网久久综合影视| 久久天天婷婷五月俺也去| 久久男人中文字幕资源站| 亚洲欧美精品伊人久久| 久久午夜无码鲁丝片秋霞| 久久久久亚洲av无码专区喷水| 中文成人久久久久影院免费观看 | 伊人久久精品无码av一区| a高清免费毛片久久| 午夜精品久久久内射近拍高清| 国产成人精品综合久久久| 日日躁夜夜躁狠狠久久AV| 久久人人爽人人爽人人av东京热| 久久久久久久综合日本| 久久毛片免费看一区二区三区| 国产精品成人99久久久久|