• <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)  編輯 收藏 引用

            一本久久知道综合久久| 香蕉99久久国产综合精品宅男自 | 亚洲午夜久久久精品影院| 午夜精品久久久久久影视riav| 一本伊大人香蕉久久网手机| 国产成人久久AV免费| 人妻精品久久久久中文字幕69 | 亚洲日本va午夜中文字幕久久| 9191精品国产免费久久| av无码久久久久不卡免费网站| 无码人妻久久久一区二区三区| yy6080久久| 亚洲午夜无码久久久久| 77777亚洲午夜久久多喷| 久久精品青青草原伊人| 一本一本久久A久久综合精品 | 中文字幕无码久久精品青草| 亚洲人AV永久一区二区三区久久| 色婷婷久久久SWAG精品| 久久久午夜精品福利内容| 区亚洲欧美一级久久精品亚洲精品成人网久久久久 | 97精品伊人久久久大香线蕉| 国产成人综合久久久久久| 狠狠色伊人久久精品综合网| 欧美日韩精品久久久免费观看| 亚洲国产婷婷香蕉久久久久久| 麻豆久久久9性大片| 久久亚洲欧美国产精品| 久久综合欧美成人| 久久精品这里只有精99品| 国内精品久久久久影院老司| 日韩AV无码久久一区二区| 狠狠色婷婷综合天天久久丁香| 亚洲国产精品久久久久婷婷老年| 久久久久人妻一区精品| 久久精品人妻中文系列| 久久精品www| 无码人妻久久一区二区三区蜜桃| 久久人人爽人人爽人人片av高请| 66精品综合久久久久久久| 香蕉久久夜色精品国产尤物|