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

Side by Side Diff: source/libvpx/vpx/vpx_encoder.h

Issue 800493003: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Keep vp9_iht8x8_add_neon disabled because of http://llvm.org/bugs/show_bug.cgi?id=22178 Created 5 years, 11 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 | « source/libvpx/vpx/vp8dx.h ('k') | source/libvpx/vpx/vpx_image.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) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #ifndef VPX_VPX_ENCODER_H_ 10 #ifndef VPX_VPX_ENCODER_H_
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 * This callback function, when registered, returns with packets when each 225 * This callback function, when registered, returns with packets when each
226 * spatial layer is encoded. 226 * spatial layer is encoded.
227 */ 227 */
228 // putting the definitions here for now. (agrange: find if there 228 // putting the definitions here for now. (agrange: find if there
229 // is a better place for this) 229 // is a better place for this)
230 typedef void (* vpx_codec_enc_output_cx_pkt_cb_fn_t)(vpx_codec_cx_pkt_t *pkt, 230 typedef void (* vpx_codec_enc_output_cx_pkt_cb_fn_t)(vpx_codec_cx_pkt_t *pkt,
231 void *user_data); 231 void *user_data);
232 232
233 /*!\brief Callback function pointer / user data pair storage */ 233 /*!\brief Callback function pointer / user data pair storage */
234 typedef struct vpx_codec_enc_output_cx_cb_pair { 234 typedef struct vpx_codec_enc_output_cx_cb_pair {
235 vpx_codec_enc_output_cx_pkt_cb_fn_t output_cx_pkt; 235 vpx_codec_enc_output_cx_pkt_cb_fn_t output_cx_pkt; /**< Callback function */
236 void *user_priv; 236 void *user_priv; /**< Pointer to private data */
237 } vpx_codec_priv_output_cx_pkt_cb_pair_t; 237 } vpx_codec_priv_output_cx_pkt_cb_pair_t;
238 238
239 /*!\brief Rational Number 239 /*!\brief Rational Number
240 * 240 *
241 * This structure holds a fractional value. 241 * This structure holds a fractional value.
242 */ 242 */
243 typedef struct vpx_rational { 243 typedef struct vpx_rational {
244 int num; /**< fraction numerator */ 244 int num; /**< fraction numerator */
245 int den; /**< fraction denominator */ 245 int den; /**< fraction denominator */
246 } vpx_rational_t; /**< alias for struct vpx_rational */ 246 } vpx_rational_t; /**< alias for struct vpx_rational */
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 */ 730 */
731 unsigned int ts_layer_id[VPX_TS_MAX_PERIODICITY]; 731 unsigned int ts_layer_id[VPX_TS_MAX_PERIODICITY];
732 } vpx_codec_enc_cfg_t; /**< alias for struct vpx_codec_enc_cfg */ 732 } vpx_codec_enc_cfg_t; /**< alias for struct vpx_codec_enc_cfg */
733 733
734 /*!\brief vp9 svc extra configure parameters 734 /*!\brief vp9 svc extra configure parameters
735 * 735 *
736 * This defines max/min quantizers and scale factors for each layer 736 * This defines max/min quantizers and scale factors for each layer
737 * 737 *
738 */ 738 */
739 typedef struct vpx_svc_parameters { 739 typedef struct vpx_svc_parameters {
740 int max_quantizers[VPX_SS_MAX_LAYERS]; 740 int max_quantizers[VPX_SS_MAX_LAYERS]; /**< Max Q for each layer */
741 int min_quantizers[VPX_SS_MAX_LAYERS]; 741 int min_quantizers[VPX_SS_MAX_LAYERS]; /**< Min Q for each layer */
742 int scaling_factor_num[VPX_SS_MAX_LAYERS]; 742 int scaling_factor_num[VPX_SS_MAX_LAYERS]; /**< Scaling factor-numerator*/
743 int scaling_factor_den[VPX_SS_MAX_LAYERS]; 743 int scaling_factor_den[VPX_SS_MAX_LAYERS]; /**< Scaling factor-denominator*/
744 } vpx_svc_extra_cfg_t; 744 } vpx_svc_extra_cfg_t;
745 745
746 746
747 /*!\brief Initialize an encoder instance 747 /*!\brief Initialize an encoder instance
748 * 748 *
749 * Initializes a encoder context using the given interface. Applications 749 * Initializes a encoder context using the given interface. Applications
750 * should call the vpx_codec_enc_init convenience macro instead of this 750 * should call the vpx_codec_enc_init convenience macro instead of this
751 * function directly, to ensure that the ABI version number parameter 751 * function directly, to ensure that the ABI version number parameter
752 * is properly initialized. 752 * is properly initialized.
753 * 753 *
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 */ 1014 */
1015 const vpx_image_t *vpx_codec_get_preview_frame(vpx_codec_ctx_t *ctx); 1015 const vpx_image_t *vpx_codec_get_preview_frame(vpx_codec_ctx_t *ctx);
1016 1016
1017 1017
1018 /*!@} - end defgroup encoder*/ 1018 /*!@} - end defgroup encoder*/
1019 #ifdef __cplusplus 1019 #ifdef __cplusplus
1020 } 1020 }
1021 #endif 1021 #endif
1022 #endif // VPX_VPX_ENCODER_H_ 1022 #endif // VPX_VPX_ENCODER_H_
1023 1023
OLDNEW
« no previous file with comments | « source/libvpx/vpx/vp8dx.h ('k') | source/libvpx/vpx/vpx_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698