ffmpeg structure - AVStream and its related functions
AVStream is a structure that stores the information of each video / audio stream.
1. Structure definition
/**
* Stream structure.
* New fields can be added to the end with minor version bumps.
* Removal, reordering and changes to existing fields require a major
* version bump.
* sizeof(AVStream) must not be used outside libav*.
*/
...
Added by lemmin on Sun, 20 Feb 2022 04:21:50 +0200
Java multithreading detailed explanation, an article to understand multithreading.
1. Basic concepts
program A program is a set of instructions written in a certain language to complete a specific task. That is, a piece of static code (not yet running), static object. process Process is an execution process of a program, that is, the program runs, loads into memory, and occupies cpu resources. This is a dynamic process ...
Added by Nilpez on Sun, 20 Feb 2022 04:07:41 +0200
2022 wechat payment v3 - Native
Introduction to Native payment
Reference documents: https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter2_7_0.shtml
Native payment refers to the mode in which the merchant system generates a payment QR code according to the wechat payment agreement, and the user uses wechat to "scan" to complete the payment.
Application scenar ...
Added by Druid on Sun, 20 Feb 2022 04:06:14 +0200
mysql database topic
– one Prepare data
Four tables are known as follows: Student form: student (student number, student name, date of birth, gender) Transcript: score (student number, course number, grade) Course schedule: Course (course number, course name, teacher number) Teacher form: teacher (teacher number, teacher name) Write the corresponding SQL sta ...
Added by corbin on Sun, 20 Feb 2022 03:58:46 +0200
#Figure 20 | 6000 words | actual combat cache (Part I)
preface
Purchase discount https://m.fenfaw.cn/
Let's talk about a little thing first. Today I tried to make a motion map. It took me an hour to make a motion map, and it was ugly.. The main contents of this paper are as follows:
The previous article talked about how to do performance tuning, such as indexing tables, separating dynamic and sta ...
Added by zvonko on Sun, 20 Feb 2022 03:54:40 +0200
Redis weapon CSRedis under NetCore
It should be very common for everyone to use redis cache in the project. We used stackexchange before Redis. Inadvertently browsed a post * * net core 2.0 redis driver performance competition * *, it is found that there are two shorter and stronger components: CSRedis and newlife Redis is actually like servicestack Redis .
ServiceStack.Redis ...
Added by dm3 on Sun, 20 Feb 2022 03:51:24 +0200
Introduction to vue -- the use of vue router in vue
preface
Before learning Vue router, we should learn how to install Vue router in IDEA. If you don't understand it, please jump to the blog Installing Vue router in IDEA.
7. Route Vue router
After we install Vue router, we need to import the dependency
<script src="node_modules/vue-router/dist/vue-router.js"></script>
One ...
Added by Braclayrab on Sun, 20 Feb 2022 03:36:26 +0200
Thread interrupt series API description
I. API
public void interrupt()
public static boolean interrupted()
public boolean isInterrupted()
II. Description of interrupt
1. Introduction
The call of the following methods will make the current thread enter the blocking state, and the blocking can be interrupted by calling the interrupt method of the current thread
Object ...
Added by doozerdc on Sun, 20 Feb 2022 03:32:56 +0200
Encapsulate C++ dll with CLR
Reasons for project proposal
A dynamic link library is written in C + +, which contains h/.lib/.dll three files, but many users use C # to program. At this time, it is necessary to provide a dll that C # can call. There are generally two methods for C # to call dll, namely
dllimport is used to encapsulate functions, but according to the relev ...
Added by Bind on Sun, 20 Feb 2022 03:32:25 +0200
Data structure notes
data structure
Sparse array
queue
Queue introduction
Queue is a sequential list, which can be realized by array or linked list Follow FIFO rules. That is, the data stored in the queue should be taken out first. After storage, take it out Sketch Map:
Array simulation queue
The queue itself has a sequence table. If the structure o ...
Added by eddjc on Sun, 20 Feb 2022 03:19:17 +0200