Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: third_party/libva/va/va_enc_h264.h

Issue 2834313002: Update third_party/libva to version 1.7.1 (Closed)
Patch Set: Update third_party/libva to version 1.7.1 and check whether the version of libva a platform support… Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libva/va/va_dec_vp9.h ('k') | third_party/libva/va/va_enc_vp9.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2007-2011 Intel Corporation. All Rights Reserved. 2 * Copyright (c) 2007-2011 Intel Corporation. All Rights Reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the 5 * copy of this software and associated documentation files (the
6 * "Software"), to deal in the Software without restriction, including 6 * "Software"), to deal in the Software without restriction, including
7 * without limitation the rights to use, copy, modify, merge, publish, 7 * without limitation the rights to use, copy, modify, merge, publish,
8 * distribute, sub license, and/or sell copies of the Software, and to 8 * distribute, sub license, and/or sell copies of the Software, and to
9 * permit persons to whom the Software is furnished to do so, subject to 9 * permit persons to whom the Software is furnished to do so, subject to
10 * the following conditions: 10 * the following conditions:
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 * The corresponding packed header data buffer shall contain the 114 * The corresponding packed header data buffer shall contain the
115 * complete sei_rbsp() syntax element, thus including several 115 * complete sei_rbsp() syntax element, thus including several
116 * sei_message() elements if necessary. 116 * sei_message() elements if necessary.
117 * 117 *
118 * Note: packed \c nal_unit_type shall be equal to 6. 118 * Note: packed \c nal_unit_type shall be equal to 6.
119 */ 119 */
120 VAEncPackedHeaderH264_SEI = (VAEncPackedHeaderMiscMask | 1), 120 VAEncPackedHeaderH264_SEI = (VAEncPackedHeaderMiscMask | 1),
121 } VAEncPackedHeaderTypeH264; 121 } VAEncPackedHeaderTypeH264;
122 122
123 /** 123 /**
124 * \brief Sequence parameter for H.264 encoding in baseline, main & high 124 * \brief Sequence parameter for H.264 encoding in baseline, main & high
125 * profiles. 125 * profiles.
126 * 126 *
127 * This structure holds information for \c seq_parameter_set_data() as 127 * This structure holds information for \c seq_parameter_set_data() as
128 * defined by the H.264 specification. 128 * defined by the H.264 specification.
129 * 129 *
130 * If packed sequence headers mode is used, i.e. if the encoding 130 * If packed sequence headers mode is used, i.e. if the encoding
131 * pipeline was configured with the #VA_ENC_PACKED_HEADER_SEQUENCE 131 * pipeline was configured with the #VA_ENC_PACKED_HEADER_SEQUENCE
132 * flag, then the driver expects two more buffers to be provided to 132 * flag, then the driver expects two more buffers to be provided to
133 * the same \c vaRenderPicture() as this buffer: 133 * the same \c vaRenderPicture() as this buffer:
134 * - a #VAEncPackedHeaderParameterBuffer with type set to 134 * - a #VAEncPackedHeaderParameterBuffer with type set to
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 /** \brief References macroblock in the top-left corner. */ 516 /** \brief References macroblock in the top-left corner. */
517 #define VA_MB_PRED_AVAIL_TOP_LEFT (1 << 2) 517 #define VA_MB_PRED_AVAIL_TOP_LEFT (1 << 2)
518 /** \brief References macroblock above the current macroblock. */ 518 /** \brief References macroblock above the current macroblock. */
519 #define VA_MB_PRED_AVAIL_TOP (1 << 4) 519 #define VA_MB_PRED_AVAIL_TOP (1 << 4)
520 /** \brief References macroblock in the top-right corner. */ 520 /** \brief References macroblock in the top-right corner. */
521 #define VA_MB_PRED_AVAIL_TOP_RIGHT (1 << 3) 521 #define VA_MB_PRED_AVAIL_TOP_RIGHT (1 << 3)
522 /** \brief References macroblock on the left of the current macroblock. */ 522 /** \brief References macroblock on the left of the current macroblock. */
523 #define VA_MB_PRED_AVAIL_LEFT (1 << 6) 523 #define VA_MB_PRED_AVAIL_LEFT (1 << 6)
524 /**@}*/ 524 /**@}*/
525 525
526 /**
527 * \brief Macroblock parameter for H.264 encoding in baseline, main & high
528 * profiles.
529 *
530 * This structure holds per-macroblock information. The buffer must be
531 * allocated with as many elements (macroblocks) as necessary to fit
532 * the slice to be encoded. Besides, the per-macroblock records must
533 * be written in a strict raster order and with no gap. i.e. every
534 * macroblock, regardless of its type, shall have an entry.
535 */
536
537 /**@}*/
538
526 #ifdef __cplusplus 539 #ifdef __cplusplus
527 } 540 }
528 #endif 541 #endif
529 542
530 #endif /* VA_ENC_H264_H */ 543 #endif /* VA_ENC_H264_H */
OLDNEW
« no previous file with comments | « third_party/libva/va/va_dec_vp9.h ('k') | third_party/libva/va/va_enc_vp9.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698