Introduction to Xvid application programming interface (API) (v0.1)
0Xvid is an open source MPEG-4 video codecs. The APIs of XviD are clearly defined. The three core interfaces (xvid_global (), xvid_decore (), xvid_encore (), and plug-in functions
1. sourcetree (GIT/HG version management tool)
Http://www.sourcetreeapp.com
(If the DMG file cannot be downloaded, you can search and install it in the App Store on Mac)
2. araxis Merge (file comparison tool)
Change the RC open mode to resource editor (default), and disable vs2008 to enter the project directory to delete the NCB file,
Open the project again.
Problem: I deleted a unused project *. BMP then I open the compiler and switch to the resource
In TCP connections, functions such as Recv are block by default, that is, the function will not return until data arrives (socket is blocking by default, if the connection is normal, the Recv will not be returned until the data is received. If the
To the second difficulty in the design. I have been depressed for a long time. Through my testing, the data in the sound per second is relatively stable, and there will be problems with the sound quality of more frames and less than one frame of
1 Basic virtual destructor
We know that the Destructor used for base classes during C ++ development are generally virtual functions. But why? Here is a small example:There are two classes:
Class clxbase{Public:Clxbase (){};Virtual ~ Clxbase (){}
From the two functions in the DirectX help document:
1. The following function setsIgraphbuilderAdded to graphedit.Hresult addtorot (iunknown * punkgraph, DWORD * pdwregister)
{
Imoniker * pmoniker;
Irunningobjecttable * prot;
If (failed
Background Knowledge analysis:
1. fd_set struct
Fd_set is a collection of file handles.Fd_zero clears this set;Fd_set adds a file handle to this collection;Fd_isset: Check whether a file handle is set;
'Fd _ set') is a collection of file
1. Maximize shielding
One way is to intercept SC _maximize in wm_syscommand.
Message response for adding wm_syscommand
Sample Code:
Void civasdlg: onsyscommand (uint NID, lparam) { If (NID & 0xfff0) = idm_aboutbox) { caboutdlg dlgabout;
For work, you need to write a console tool program with many running parameters. Remember that there is a system function getopt in Linux that can help programmers parse command line parameters, but this function is not available in VC, the help
I wrote a small tool for my friend a few days ago to hide the big smart stock market software with one click. The first version was to use window search and then send the wm_show message to the window. Although the implementation principle is simple,
_ Variant_t and _ bstr_t2008-06-03
BSTR(Basic string, basic string) is a unicode string of the olechar * type. It is described as a Type compatible with automation. Because the operating system provides corresponding API functions (such as
Main process:
1. register all container formats and CODEC: av_register_all ()
2. open the file: av_open_input_file ()
3. Extract stream information from the file: av_find_stream_info ()
4. Search for all the streams in codec_type_video format.
5.
1. Similarities: both apply for dynamic memory and release memory2. Differences in nature: (1) malloc/free is a C/C ++ library function, while new/delete is a C ++ operator.For non-Internal data objects, malloc/free cannot meet the requirement for
Graphedit is a very useful tool, especially for friends who write the DirectShow program, directspy is even more powerful, so that they can view most of the remote charts even if they are not added to the rot. But there was a small problem on
1. Use VC to write "error lnk2005: _ dllmain @ 12 already defined" in DLL.
Use Visual C ++ to compile the DLL. If you select the mfc dll in the new project and want to write the regular DLL, you have your own dllmain () entry function, the Link
What is DLL?
Stands for "dynamic link library. "a dll (. DLL) file contains a library of functions and other information that can be accessed by a Windows program. when a program is launched, links to the necessary. DLL files are created. if a
Live555 class structure live555 almost all processing units are inherited from the medium class. This class defines the basic interfaces, lookupbyname, close and return the current environment class usageenvironment, nexttask, and some judgment type
Using Arc can help us reduce the burden of memory management, especially for programmers who are familiar with Java. However, I am not a strong Java Foundation. After two years of development, IOS has become accustomed to manual memory management,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service