Skip to content

removed C API in the following modules: photo, video, imgcodecs, videoio#13060

Merged
vpisarev merged 6 commits intoopencv:masterfrom
vpisarev:remove_c_api
Nov 8, 2018
Merged

removed C API in the following modules: photo, video, imgcodecs, videoio#13060
vpisarev merged 6 commits intoopencv:masterfrom
vpisarev:remove_c_api

Conversation

@vpisarev
Copy link
Copy Markdown
Contributor

@vpisarev vpisarev commented Nov 6, 2018

n/t

force_builders=Custom
docker_image:Custom=fedora:28

@vpisarev vpisarev added this to the 4.0.0 milestone Nov 6, 2018
enum
{
/* 8bit, color or not */
CV_LOAD_IMAGE_UNCHANGED =-1,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep them in other header files? For example, imgcodecs/c_api_compatibility.hpp or current imgcodecs.h (under __cplusplus).

Main purpose of this to avoid using of these deprecated symbols:

  • in OpenCV code itself
  • in bindings parsers
  • don't bloat documentation

@vpisarev
Copy link
Copy Markdown
Contributor Author

vpisarev commented Nov 8, 2018

ok, let's merge it; then will create a separate header

@vpisarev vpisarev merged commit 11eafca into opencv:master Nov 8, 2018
@paroj paroj mentioned this pull request Dec 14, 2018
a-sajjad72 pushed a commit to a-sajjad72/opencv that referenced this pull request Mar 30, 2023
…oio (opencv#13060)

* removed C API in the following modules: photo, video, imgcodecs, videoio

* trying to fix various compile errors and warnings on Windows and Linux

* continue to fix compile errors and warnings

* continue to fix compile errors, warnings, as well as the test failures

* trying to resolve compile warnings on Android

* Update cap_dc1394_v2.cpp

fix warning from the new GCC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants