/usr/include/gstreamermm-1.0/gstreamermm/videoconvert.h is in libgstreamermm-1.0-dev 1.10.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
#ifndef _GSTREAMERMM_VIDEOCONVERT_H
#define _GSTREAMERMM_VIDEOCONVERT_H
#include <gstreamermmconfig.h>
#ifndef GSTREAMERMM_DISABLE_DEPRECATED
#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>
// Generated by generate_plugin_gmmproc_file. Don't edit this file.
#include <gstreamermm/basetransform.h>
#ifndef DOXYGEN_SHOULD_SKIP_THIS
using GstVideoConvert = struct _GstVideoConvert;
using GstVideoConvertClass = struct _GstVideoConvertClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Gst
{ class VideoConvert_Class; } // namespace Gst
#endif //DOXYGEN_SHOULD_SKIP_THIS
namespace Gst
{
/** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */
/**
* @var VideoDitherMethod VIDEO_DITHER_NONE
* No dithering.
*
* @var VideoDitherMethod VIDEO_DITHER_VERTERR
* Propagate rounding errors downwards.
*
* @var VideoDitherMethod VIDEO_DITHER_FLOYD_STEINBERG
* Dither with floyd-steinberg error diffusion.
*
* @var VideoDitherMethod VIDEO_DITHER_SIERRA_LITE
* Dither with Sierra Lite error diffusion.
*
* @var VideoDitherMethod VIDEO_DITHER_BAYER
* Ordered dither using a bayer pattern.
*
* @enum VideoDitherMethod
*
* Different dithering methods to use.
*
* @ingroup gstreamermmEnums
*/
enum VideoDitherMethod
{
VIDEO_DITHER_NONE,
VIDEO_DITHER_VERTERR,
VIDEO_DITHER_FLOYD_STEINBERG,
VIDEO_DITHER_SIERRA_LITE,
VIDEO_DITHER_BAYER
};
} // namespace Gst
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{
template <>
class Value<Gst::VideoDitherMethod> : public Glib::Value_Enum<Gst::VideoDitherMethod>
{
public:
static GType value_type() G_GNUC_CONST;
};
} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
namespace Gst
{
/**
* @var VideoResamplerMethod VIDEO_RESAMPLER_METHOD_NEAREST
* Duplicates the samples when
* upsampling and drops when downsampling.
*
* @var VideoResamplerMethod VIDEO_RESAMPLER_METHOD_LINEAR
* Uses linear interpolation to reconstruct
* missing samples and averaging to downsample.
*
* @var VideoResamplerMethod VIDEO_RESAMPLER_METHOD_CUBIC
* Uses cubic interpolation.
*
* @var VideoResamplerMethod VIDEO_RESAMPLER_METHOD_SINC
* Uses sinc interpolation.
*
* @var VideoResamplerMethod VIDEO_RESAMPLER_METHOD_LANCZOS
* Uses lanczos interpolation.
*
* @enum VideoResamplerMethod
*
* Different subsampling and upsampling methods
*
* @ingroup gstreamermmEnums
*/
enum VideoResamplerMethod
{
VIDEO_RESAMPLER_METHOD_NEAREST,
VIDEO_RESAMPLER_METHOD_LINEAR,
VIDEO_RESAMPLER_METHOD_CUBIC,
VIDEO_RESAMPLER_METHOD_SINC,
VIDEO_RESAMPLER_METHOD_LANCZOS
};
} // namespace Gst
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{
template <>
class Value<Gst::VideoResamplerMethod> : public Glib::Value_Enum<Gst::VideoResamplerMethod>
{
public:
static GType value_type() G_GNUC_CONST;
};
} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
namespace Gst
{
/**
* @var VideoAlphaMode VIDEO_ALPHA_MODE_COPY
* When input and output have alpha, it will be copied.
* When the input has no alpha, alpha will be set to
* Gst::VIDEO_CONVERTER_OPT_ALPHA_VALUE.
*
* @var VideoAlphaMode VIDEO_ALPHA_MODE_SET
* Set all alpha to
* Gst::VIDEO_CONVERTER_OPT_ALPHA_VALUE.
*
* @var VideoAlphaMode VIDEO_ALPHA_MODE_MULT
* Multiply all alpha with
* Gst::VIDEO_CONVERTER_OPT_ALPHA_VALUE.
* When the input format has no alpha but the output format has, the
* alpha value will be set to Gst::VIDEO_CONVERTER_OPT_ALPHA_VALUE.
*
* @enum VideoAlphaMode
*
* Different alpha modes.
*
* @ingroup gstreamermmEnums
*/
enum VideoAlphaMode
{
VIDEO_ALPHA_MODE_COPY,
VIDEO_ALPHA_MODE_SET,
VIDEO_ALPHA_MODE_MULT
};
} // namespace Gst
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{
template <>
class Value<Gst::VideoAlphaMode> : public Glib::Value_Enum<Gst::VideoAlphaMode>
{
public:
static GType value_type() G_GNUC_CONST;
};
} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
namespace Gst
{
/**
* @var VideoChromaMode VIDEO_CHROMA_MODE_FULL
* Do full chroma up and down sampling.
*
* @var VideoChromaMode VIDEO_CHROMA_MODE_UPSAMPLE_ONLY
* Only perform chroma upsampling.
*
* @var VideoChromaMode VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY
* Only perform chroma downsampling.
*
* @var VideoChromaMode VIDEO_CHROMA_MODE_NONE
* Disable chroma resampling.
*
* @enum VideoChromaMode
*
* Different chroma downsampling and upsampling modes
*
* @ingroup gstreamermmEnums
*/
enum VideoChromaMode
{
VIDEO_CHROMA_MODE_FULL,
VIDEO_CHROMA_MODE_UPSAMPLE_ONLY,
VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY,
VIDEO_CHROMA_MODE_NONE
};
} // namespace Gst
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{
template <>
class Value<Gst::VideoChromaMode> : public Glib::Value_Enum<Gst::VideoChromaMode>
{
public:
static GType value_type() G_GNUC_CONST;
};
} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
namespace Gst
{
/**
* @var VideoMatrixMode VIDEO_MATRIX_MODE_FULL
* Do conversion between color matrices.
*
* @var VideoMatrixMode VIDEO_MATRIX_MODE_INPUT_ONLY
* Use the input color matrix to convert
* to and from R'G'B.
*
* @var VideoMatrixMode VIDEO_MATRIX_MODE_OUTPUT_ONLY
* Use the output color matrix to convert
* to and from R'G'B.
*
* @var VideoMatrixMode VIDEO_MATRIX_MODE_NONE
* Disable color matrix conversion.
*
* @enum VideoMatrixMode
*
* Different color matrix conversion modes
*
* @ingroup gstreamermmEnums
*/
enum VideoMatrixMode
{
VIDEO_MATRIX_MODE_FULL,
VIDEO_MATRIX_MODE_INPUT_ONLY,
VIDEO_MATRIX_MODE_OUTPUT_ONLY,
VIDEO_MATRIX_MODE_NONE
};
} // namespace Gst
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{
template <>
class Value<Gst::VideoMatrixMode> : public Glib::Value_Enum<Gst::VideoMatrixMode>
{
public:
static GType value_type() G_GNUC_CONST;
};
} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
namespace Gst
{
/**
* @var VideoGammaMode VIDEO_GAMMA_MODE_NONE
* Disable gamma handling.
*
* @var VideoGammaMode VIDEO_GAMMA_MODE_REMAP
* Convert between input and output gamma
* Different gamma conversion modes.
*
* @enum VideoGammaMode
*
* @ingroup gstreamermmEnums
*/
enum VideoGammaMode
{
VIDEO_GAMMA_MODE_NONE,
VIDEO_GAMMA_MODE_REMAP
};
} // namespace Gst
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{
template <>
class Value<Gst::VideoGammaMode> : public Glib::Value_Enum<Gst::VideoGammaMode>
{
public:
static GType value_type() G_GNUC_CONST;
};
} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
namespace Gst
{
/**
* @var VideoPrimariesMode VIDEO_PRIMARIES_MODE_NONE
* Disable conversion between primaries.
*
* @var VideoPrimariesMode VIDEO_PRIMARIES_MODE_MERGE_ONLY
* Do conversion between primaries only
* when it can be merged with color matrix conversion.
*
* @var VideoPrimariesMode VIDEO_PRIMARIES_MODE_FAST
* Fast conversion between primaries.
*
* @enum VideoPrimariesMode
*
* Different primaries conversion modes
*
* @ingroup gstreamermmEnums
*/
enum VideoPrimariesMode
{
VIDEO_PRIMARIES_MODE_NONE,
VIDEO_PRIMARIES_MODE_MERGE_ONLY,
VIDEO_PRIMARIES_MODE_FAST
};
} // namespace Gst
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{
template <>
class Value<Gst::VideoPrimariesMode> : public Glib::Value_Enum<Gst::VideoPrimariesMode>
{
public:
static GType value_type() G_GNUC_CONST;
};
} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
namespace Gst
{
/** A Wrapper for the videoconvert plugin.
* Please note that not all plug-ins are available on all systems so care
* must be taken that they exist before they are used otherwise there will
* be errors and possibly a crash.
*
* @ingroup GstPlugins
* @deprecated Plugins API is deprecated, and should not be used in a new code.
*/
class VideoConvert
: public Gst::BaseTransform
{
#ifndef DOXYGEN_SHOULD_SKIP_THIS
public:
using CppObjectType = VideoConvert;
using CppClassType = VideoConvert_Class;
using BaseObjectType = GstVideoConvert;
using BaseClassType = GstVideoConvertClass;
// noncopyable
VideoConvert(const VideoConvert&) = delete;
VideoConvert& operator=(const VideoConvert&) = delete;
private: friend class VideoConvert_Class;
static CppClassType videoconvert_class_;
protected:
explicit VideoConvert(const Glib::ConstructParams& construct_params);
explicit VideoConvert(GstVideoConvert* castitem);
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
public:
VideoConvert(VideoConvert&& src) noexcept;
VideoConvert& operator=(VideoConvert&& src) noexcept;
~VideoConvert() noexcept override;
/** Get the GType for this class, for use with the underlying GObject type system.
*/
static GType get_type() G_GNUC_CONST;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
static GType get_base_type() G_GNUC_CONST;
#endif
///Provides access to the underlying C GObject.
GstVideoConvert* gobj() { return reinterpret_cast<GstVideoConvert*>(gobject_); }
///Provides access to the underlying C GObject.
const GstVideoConvert* gobj() const { return reinterpret_cast<GstVideoConvert*>(gobject_); }
///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
GstVideoConvert* gobj_copy();
private:
protected:
VideoConvert();
explicit VideoConvert(const Glib::ustring& name);
public:
/** Creates a new videoconvert plugin with a unique name.
*/
static Glib::RefPtr<VideoConvert> create();
/** Creates a new videoconvert plugin with the given name.
*/
static Glib::RefPtr<VideoConvert> create(const Glib::ustring& name);
/** Apply dithering while converting.
*
* @return A PropertyProxy that allows you to get or set the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy< Gst::VideoDitherMethod > property_dither() ;
/** Apply dithering while converting.
*
* @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly< Gst::VideoDitherMethod > property_dither() const;
/** Quantizer to use.
*
* @return A PropertyProxy that allows you to get or set the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy< guint > property_dither_quantization() ;
/** Quantizer to use.
*
* @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly< guint > property_dither_quantization() const;
/** Chroma resampler method.
*
* @return A PropertyProxy that allows you to get or set the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy< Gst::VideoResamplerMethod > property_chroma_resampler() ;
/** Chroma resampler method.
*
* @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly< Gst::VideoResamplerMethod > property_chroma_resampler() const;
/** Alpha Mode to use.
*
* @return A PropertyProxy that allows you to get or set the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy< Gst::VideoAlphaMode > property_alpha_mode() ;
/** Alpha Mode to use.
*
* @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly< Gst::VideoAlphaMode > property_alpha_mode() const;
/** Alpha Value to use.
*
* @return A PropertyProxy that allows you to get or set the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy< double > property_alpha_value() ;
/** Alpha Value to use.
*
* @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly< double > property_alpha_value() const;
/** Chroma Resampling Mode.
*
* @return A PropertyProxy that allows you to get or set the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy< Gst::VideoChromaMode > property_chroma_mode() ;
/** Chroma Resampling Mode.
*
* @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly< Gst::VideoChromaMode > property_chroma_mode() const;
/** Matrix Conversion Mode.
*
* @return A PropertyProxy that allows you to get or set the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy< Gst::VideoMatrixMode > property_matrix_mode() ;
/** Matrix Conversion Mode.
*
* @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly< Gst::VideoMatrixMode > property_matrix_mode() const;
/** Gamma Conversion Mode.
*
* @return A PropertyProxy that allows you to get or set the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy< Gst::VideoGammaMode > property_gamma_mode() ;
/** Gamma Conversion Mode.
*
* @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly< Gst::VideoGammaMode > property_gamma_mode() const;
/** Primaries Conversion Mode.
*
* @return A PropertyProxy that allows you to get or set the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy< Gst::VideoPrimariesMode > property_primaries_mode() ;
/** Primaries Conversion Mode.
*
* @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
* or receive notification when the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly< Gst::VideoPrimariesMode > property_primaries_mode() const;
public:
public:
//C++ methods used to invoke GTK+ virtual functions:
protected:
//GTK+ Virtual Functions (override these to change behaviour):
//Default Signal Handlers::
};
} // namespace Gst
namespace Glib
{
/** A Glib::wrap() method for this object.
*
* @param object The C instance.
* @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
* @result A C++ instance that wraps this C instance.
*
* @relates Gst::VideoConvert
*/
Glib::RefPtr<Gst::VideoConvert> wrap(GstVideoConvert* object, bool take_copy = false);
}
#endif // GSTREAMERMM_DISABLE_DEPRECATED
#endif /* _GSTREAMERMM_VIDEOCONVERT_H */
|