History

Added support for "video signal type present" information. The "Video signal type present" information is written to the output video file when it is created, and later is used by the decoder to properly decode the compressed video data. The saved attributes are:

- format type (PAL, NTSC, etc.) - color primaries (BT709, SMPTE170M, etc.) - transfer characteristics (BT709, SMPTE170M, etc.) - color matrix ((BT709, SMPTE170M, etc.) These modifications allow the client to specify these attributes and, if specified, makes sure they are written to the output file.

Gregory J. Wolfe committed 10 years ago

Commit c7fcba01 parent f35a0da6 files · +113 −31Browse files

Showing the changes to codec/api (1 of 6 files). Show all

Unified · Split

codec/api/svc/codec_app_def.h+1−7
@@ -343,8 +343,6 @@ typedef struct { · 342 unmodified lines
343343 unsigned int uiSliceSizeConstraint; ///< now only used when uiSliceMode=4
344344 } SSliceArgument;
345345
346−// 02/18/2016, Greg Wolfe, Kodak Alaris: Added support for "video signal type present" information.
347−
348346 /**
349347 * @brief Enumerate the type of video format
350348 */
@@ -416,8 +414,6 @@ typedef enum { · 65 unmodified lines
416414 CM_NUM_ENUM
417415 } EColorMatrix;
418416
419−// ... end 02/18/2016
420−
421417 /**
422418 * @brief Structure for spatial layer configuration
423419 */
@@ -433,8 +429,7 @@ typedef struct { · 9 unmodified lines
433429
434430 SSliceArgument sSliceArgument;
435431
436− // 02/18/2016, Greg Wolfe, Kodak Alaris: Added support for "video signal type present" information.
437− // See also parameter_sets.h.
432+ // Note: members bVideoSignalTypePresent through uiColorMatrix below are also defined in SWelsSPS in parameter_sets.h.
438433 bool bVideoSignalTypePresent; // false => do not write any of the following information to the header
439434 unsigned char uiVideoFormat; // EVideoFormatSPS; 3 bits in header; 0-5 => component, kpal, ntsc, secam, mac, undef
440435 bool bFullRange; // false => analog video data range [16, 235]; true => full data range [0,255]
@@ -445,7 +440,6 @@ typedef struct { · 4 unmodified lines
445440 // smpte240m, linear, log100, log316, iec61966-2-4, bt1361e, iec61966-2-1, bt2020-10, bt2020-12
446441 unsigned char uiColorMatrix; // EColorMatrix; 8 bits in header (corresponds to FFmpeg "colorspace"); 0 - 10 => GBR, bt709,
447442 // undef, ???, fcc, bt470bg, smpte170m, smpte240m, YCgCo, bt2020nc, bt2020c
448−// ... end 02/18/2016
449443 } SSpatialLayerConfig;
450444
451445 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t