summaryrefslogtreecommitdiff
path: root/libavdevice/opengl_enc.c
Commit message (Collapse)AuthorAge
* avformat/internal: Move muxing-only functions to new mux.h headerAndreas Rheinhardt2022-05-10
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avdevice: Constify all devicesAndreas Rheinhardt2021-04-27
| | | | | | | This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avdevice/opengl: add support of wrapped avframe codecMarton Balint2020-04-16
| | | | | | Also change the default to that. Signed-off-by: Marton Balint <cus@passwd.hu>
* remove CHAR_MIN/CHAR_MAX usagePaul B Mahol2020-03-17
| | | | It is not needed at all.
* lavd/opengl_enc: check strings before parsing them.Nicolas George2020-02-20
| | | | | Fix a segfault if OpenGL was not initialized before calling write_header().
* lavd/opengl_enc: use proper context for logging.Nicolas George2020-02-20
| | | | Log as [opengl @ 0xaddress] instead of [opengl outdev @ 0xaddress].
* avdevice/opengl_enc: fix build error using msvc compilerDon C. Bigler2019-04-10
|
* avdevice: migrate to AVFormatContext->urlMarton Balint2018-01-28
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* build: replace use of HAVE_SDL2 with existing CONFIG_SDL2Clément Bœsch2017-09-02
| | | | There is no need for duplication.
* lavd/opengl_enc: Fix a typo.Carl Eugen Hoyos2017-02-23
|
* lavd/opengl_enc: Support BGR48.Carl Eugen Hoyos2017-02-22
|
* lavd/opengl: use SDL2Lukasz Marek2016-09-24
| | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Josh de Kock <josh@itanimul.li>
* Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-10
| | | | | | | | | | | | | | | | * commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis2016-01-27
| | | | | | | | | | Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes2015-09-08
|
* msvc: Fix compilation errors due to header include order.Matthew Oliver2014-11-27
| | | | | | | Ensures that the header include order is such that winsock2.h is always included before windows.h or that windows.h does not include winsock.h. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Add missing "const" all over the place.Reimar Döffinger2014-08-29
| | | | | | Only "./configure --enable-gpl" on x86 was tested. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* fix various typosLou Logan2014-06-03
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/opengl_enc: fix window size correction codeLukasz Marek2014-05-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavd/opengl_enc: add window size paramLukasz Marek2014-05-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavd/opengl_enc: use flag to mark inited contextLukasz Marek2014-05-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavd/opengl_enc: fix pixel data alignmentLukasz Marek2014-04-30
| | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix OpenGL device compilation with msvc gl.hMatt Oliver2014-04-16
| | | | | Reveiwed-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd: add categories to device implementationsLukasz Marek2014-03-03
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: implement uncoded frame callbackLukasz Marek2014-02-13
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: add gray8/16 formatsLukasz Marek2014-02-13
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: fix parentheses in if conditionLukasz Marek2014-02-02
| | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/opengl_enc: remove inlinesLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: fix window captionLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: simplify opengl_load_procedures usageLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: factorize deinit_context functionLukasz Marek2014-02-02
| | | | | | | | This commit also fixes opengl deinitialization. Program and shaders where not deleted. Could impact MacOS implementation based on SDL window. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: factorize create/release window functionsLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: rename GL_RED_COMPONENT defineLukasz Marek2014-02-02
| | | | | | | Rename GL_RED_COMPONENT into FF_GL_RED_COMPONENT to explicity mark it is internal define, not OpenGL API. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: create format description tableLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd: add opengl deviceLukasz Marek2014-01-27
It can render to OpenGL context provided by application or into SDL window Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>