Comments (2)
Difference from v2.0.0 to v2.1.0 is TagBufferInfo structure member.
unsigned char* pDst[3] is added.
// v2.0.0
typedef struct TagBufferInfo {
int iBufferStatus; ///< 0: one frame data is not ready; 1: one frame data is ready
unsigned long long uiInBsTimeStamp; ///< input BS timestamp
unsigned long long uiOutYuvTimeStamp; ///< output YUV timestamp, when bufferstatus is 1
union {
SSysMEMBuffer sSystemBuffer; ///< memory info for one picture
} UsrData; ///< output buffer info
} SBufferInfo;
// v2.1.0
typedef struct TagBufferInfo {
int iBufferStatus; ///< 0: one frame data is not ready; 1: one frame data is ready
unsigned long long uiInBsTimeStamp; ///< input BS timestamp
unsigned long long uiOutYuvTimeStamp; ///< output YUV timestamp, when bufferstatus is 1
union {
SSysMEMBuffer sSystemBuffer; ///< memory info for one picture
} UsrData; ///< output buffer info
unsigned char* pDst[3]; //point to picture YUV data
} SBufferInfo;
from openh264lib.net.
and retrieve output data from sDstBufInfo.pDst.
// v2.0.0
pDecoder->DecodeFrame2 (NULL, 0, pData, &sDstBufInfo);
pDst[0] = pData[0];
pDst[1] = pData[1];
pDst[2] = pData[2];
// v2.1.0
pDecoder->DecodeFrame2 (NULL, 0, pData, &sDstBufInfo);
pDst[0] = sDstBufInfo.pDst[0];
pDst[1] = sDstBufInfo.pDst[1];
pDst[2] = sDstBufInfo.pDst[2];
from openh264lib.net.
Related Issues (17)
- timestamp argument in Encode function HOT 6
- Decoder Samples HOT 2
- Encoded video play speed(frame interval) seems depended on fps. HOT 2
- H264 Stream freezes when generating IDR Frames HOT 2
- Unable to play H264 Stream from Ambarella Camera HOT 1
- Repetition in Metadata
- "Could not load file or assembly 'OpenH264Lib.dll' or one of it's dependencies" message on Win 10 vbox/vmware HOT 5
- How to get more then one layer onEncode? Is it possible? HOT 7
- RGB to YUV420 mistake HOT 1
- Thanks ~!~! Mr.secile HOT 1
- Missing dll HOT 3
- Exception thrown: 'System.IO.FileNotFoundException' HOT 5
- How to use by AnyCPU? HOT 6
- How to display frames(I,P,B) HOT 1
- Lib can work with .h264 file or .h265 (hevc) ? HOT 2
- Decode method returns null image HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openh264lib.net.