forked from wang-bin/QtAV
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VideoFrame: remove useless functions
May add an api to create from textures, an interop object will be used internally. To get the texture, we can use like this map(SourceSurface,...)
- Loading branch information
Showing
3 changed files
with
4 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2014-2015 Wang Bin <[email protected]> | ||
Copyright (C) 2014-2016 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -73,7 +73,7 @@ enum ColorSpace { | |
* Map the decoded frame to host memory | ||
* GLTextureSurface: | ||
* Map the decoded frame as an OpenGL texture | ||
* DecoderSurface: | ||
* SourceSurface: | ||
* get the original surface from decoder, for example VASurfaceID for va-api, CUdeviceptr for CUDA and IDirect3DSurface9* for DXVA. | ||
* Zero copy mode is required. | ||
* UserSurface: | ||
|
@@ -82,8 +82,8 @@ enum ColorSpace { | |
enum SurfaceType { | ||
HostMemorySurface, | ||
GLTextureSurface, | ||
DecoderSurface, | ||
UserSurface | ||
SourceSurface, | ||
UserSurface = 0xffff | ||
}; | ||
|
||
} //namespace QtAV | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters