11 2013 档案

摘要:AVFrame* YUV2RGB( AVCodecContext * avctx, AVFrame * frame ){ AVFrame* pFrameRGB=NULL; pFrameRGB=avcodec_alloc_frame(); if(pFrameRGB==NULL) return NULL; // Determine required buffer size and allocate buffer int numBytes=avpicture_get_size(PIX_FMT_BGR24, avctx->width,avctx->height); uint8_t * bu 阅读全文
posted @ 2013-11-13 14:56 ahuo 阅读(1786) 评论(0) 推荐(0) 编辑
摘要:sws_scale的算法有如下这些选择。#define SWS_FAST_BILINEAR 1#define SWS_BILINEAR 2#define SWS_BICUBIC 4#define SWS_X 8#define SWS_POINT 0x10#define SWS_AREA 0x20#define SWS_BICUBLIN 0x40#define SWS_GAUSS 0x80#define SWS_SINC 0x100#... 阅读全文
posted @ 2013-11-12 14:12 ahuo 阅读(4574) 评论(1) 推荐(0) 编辑
摘要:1.引用using mshtml; //Microsoft HTML Object Library2.[ComVisible(true)] //放到类的上边 public partial class Form1 : Form3.//激活webBrowser1_Navigated事件 p... 阅读全文
posted @ 2013-11-09 13:56 ahuo 阅读(1730) 评论(1) 推荐(0) 编辑
摘要:0、常用方法Navigate(string urlString):浏览urlString表示的网址Navigate(System.Uri url):浏览url表示的网址Navigate(string urlString, string targetFrameName, byte[] postData, string additionalHeaders): 浏览urlString表示的网址,并发送postData中的消息//(通常我们登录一个网站的时候就会把用户名和密码作为postData发送出去)GoBack():后退GoForward():前进Refresh():刷新Stop():停止GoH 阅读全文
posted @ 2013-11-01 23:02 ahuo 阅读(1948) 评论(0) 推荐(0) 编辑
摘要:PC端:safari 5.1 – MACUser-Agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50safari 5.1 – WindowsUser-Agent:Mozilla/5.0 (Windows; U; Windows NT 6.1; en-us) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50IE 9. 阅读全文
posted @ 2013-11-01 20:47 ahuo 阅读(722) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示