Home
last modified time | relevance | path

Searched refs:vpx_codec_err_t (Results 1 – 25 of 50) sorted by relevance

12

/external/libvpx/libvpx/vpx/
Dvpx_codec.h141 } vpx_codec_err_t; typedef
199 vpx_codec_err_t err; /**< Last returned error */
305 const char *vpx_codec_err_to_string(vpx_codec_err_t err);
348 vpx_codec_err_t vpx_codec_destroy(vpx_codec_ctx_t *ctx);
383 vpx_codec_err_t vpx_codec_control_(vpx_codec_ctx_t *ctx, int ctrl_id, ...);
415 static vpx_codec_err_t vpx_codec_control_##id(vpx_codec_ctx_t *, int, typ) \
418 static vpx_codec_err_t vpx_codec_control_##id(vpx_codec_ctx_t *ctx, \
434 DECLSPEC_DEPRECATED static vpx_codec_err_t vpx_codec_control_##id( \
437 DECLSPEC_DEPRECATED static vpx_codec_err_t vpx_codec_control_##id( \
453 static vpx_codec_err_t vpx_codec_control_##id(vpx_codec_ctx_t *, int) \
[all …]
Dvpx_decoder.h135 vpx_codec_err_t vpx_codec_dec_init_ver(vpx_codec_ctx_t *ctx,
164 vpx_codec_err_t vpx_codec_peek_stream_info(vpx_codec_iface_t *iface,
182 vpx_codec_err_t vpx_codec_get_stream_info(vpx_codec_ctx_t *ctx,
215 vpx_codec_err_t vpx_codec_decode(vpx_codec_ctx_t *ctx, const uint8_t *data,
270 vpx_codec_err_t vpx_codec_register_put_frame_cb(vpx_codec_ctx_t *ctx,
311 vpx_codec_err_t vpx_codec_register_put_slice_cb(vpx_codec_ctx_t *ctx,
355 vpx_codec_err_t vpx_codec_set_frame_buffer_functions(
Dvpx_encoder.h740 vpx_codec_err_t vpx_codec_enc_init_ver(vpx_codec_ctx_t *ctx,
772 vpx_codec_err_t vpx_codec_enc_init_multi_ver(
803 vpx_codec_err_t vpx_codec_enc_config_default(vpx_codec_iface_t *iface,
821 vpx_codec_err_t vpx_codec_enc_config_set(vpx_codec_ctx_t *ctx,
879 vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx, const vpx_image_t *img,
927 vpx_codec_err_t vpx_codec_set_cx_data_buf(vpx_codec_ctx_t *ctx,
Dsvc_context.h86 vpx_codec_err_t vpx_svc_set_options(SvcContext *svc_ctx, const char *options);
91 vpx_codec_err_t vpx_svc_init(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
97 vpx_codec_err_t vpx_svc_encode(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
/external/libvpx/libvpx/vpx/src/
Dvpx_decoder.c24 vpx_codec_err_t vpx_codec_dec_init_ver(vpx_codec_ctx_t *ctx, in vpx_codec_dec_init_ver()
28 vpx_codec_err_t res; in vpx_codec_dec_init_ver()
65 vpx_codec_err_t vpx_codec_peek_stream_info(vpx_codec_iface_t *iface, in vpx_codec_peek_stream_info()
69 vpx_codec_err_t res; in vpx_codec_peek_stream_info()
85 vpx_codec_err_t vpx_codec_get_stream_info(vpx_codec_ctx_t *ctx, in vpx_codec_get_stream_info()
87 vpx_codec_err_t res; in vpx_codec_get_stream_info()
104 vpx_codec_err_t vpx_codec_decode(vpx_codec_ctx_t *ctx, const uint8_t *data, in vpx_codec_decode()
107 vpx_codec_err_t res; in vpx_codec_decode()
134 vpx_codec_err_t vpx_codec_register_put_frame_cb(vpx_codec_ctx_t *ctx, in vpx_codec_register_put_frame_cb()
137 vpx_codec_err_t res; in vpx_codec_register_put_frame_cb()
[all …]
Dvpx_codec.c33 const char *vpx_codec_err_to_string(vpx_codec_err_t err) { in vpx_codec_err_to_string()
65 vpx_codec_err_t vpx_codec_destroy(vpx_codec_ctx_t *ctx) { in vpx_codec_destroy()
66 vpx_codec_err_t res; in vpx_codec_destroy()
88 vpx_codec_err_t vpx_codec_control_(vpx_codec_ctx_t *ctx, int ctrl_id, ...) { in vpx_codec_control_()
89 vpx_codec_err_t res; in vpx_codec_control_()
116 vpx_codec_err_t error, const char *fmt, ...) { in vpx_internal_error()
Dvpx_encoder.c26 vpx_codec_err_t vpx_codec_enc_init_ver(vpx_codec_ctx_t *ctx, in vpx_codec_enc_init_ver()
30 vpx_codec_err_t res; in vpx_codec_enc_init_ver()
62 vpx_codec_err_t vpx_codec_enc_init_multi_ver( in vpx_codec_enc_init_multi_ver()
65 vpx_codec_err_t res = VPX_CODEC_OK; in vpx_codec_enc_init_multi_ver()
142 vpx_codec_err_t vpx_codec_enc_config_default(vpx_codec_iface_t *iface, in vpx_codec_enc_config_default()
145 vpx_codec_err_t res; in vpx_codec_enc_config_default()
188 vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx, const vpx_image_t *img, in vpx_codec_encode()
192 vpx_codec_err_t res = VPX_CODEC_OK; in vpx_codec_encode()
285 vpx_codec_err_t vpx_codec_set_cx_data_buf(vpx_codec_ctx_t *ctx, in vpx_codec_set_cx_data_buf()
339 vpx_codec_err_t vpx_codec_enc_config_set(vpx_codec_ctx_t *ctx, in vpx_codec_enc_config_set()
[all …]
Dsvc_encodeframe.c131 static vpx_codec_err_t extract_option(LAYER_OPTION_TYPE type, char *input, in extract_option()
152 static vpx_codec_err_t parse_layer_options_from_string(SvcContext *svc_ctx, in parse_layer_options_from_string()
158 vpx_codec_err_t res = VPX_CODEC_OK; in parse_layer_options_from_string()
200 static vpx_codec_err_t parse_options(SvcContext *svc_ctx, const char *options) { in parse_options()
206 vpx_codec_err_t res = VPX_CODEC_OK; in parse_options()
287 vpx_codec_err_t vpx_svc_set_options(SvcContext *svc_ctx, const char *options) { in vpx_svc_set_options()
297 vpx_codec_err_t assign_layer_bitrates(const SvcContext *svc_ctx, in assign_layer_bitrates()
390 vpx_codec_err_t vpx_svc_init(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx, in vpx_svc_init()
393 vpx_codec_err_t res; in vpx_svc_init()
540 vpx_codec_err_t vpx_svc_encode(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx, in vpx_svc_encode()
[all …]
/external/libvpx/libvpx/vpx/internal/
Dvpx_codec_internal.h79 typedef vpx_codec_err_t (*vpx_codec_init_fn_t)(
95 typedef vpx_codec_err_t (*vpx_codec_destroy_fn_t)(vpx_codec_alg_priv_t *ctx);
114 typedef vpx_codec_err_t (*vpx_codec_peek_si_fn_t)(const uint8_t *data,
131 typedef vpx_codec_err_t (*vpx_codec_get_si_fn_t)(vpx_codec_alg_priv_t *ctx,
156 typedef vpx_codec_err_t (*vpx_codec_control_fn_t)(vpx_codec_alg_priv_t *ctx,
195 typedef vpx_codec_err_t (*vpx_codec_decode_fn_t)(vpx_codec_alg_priv_t *ctx,
246 typedef vpx_codec_err_t (*vpx_codec_set_fb_fn_t)(
250 typedef vpx_codec_err_t (*vpx_codec_encode_fn_t)(vpx_codec_alg_priv_t *ctx,
259 typedef vpx_codec_err_t (*vpx_codec_enc_config_set_fn_t)(
267 typedef vpx_codec_err_t (*vpx_codec_enc_mr_get_mem_loc_fn_t)(
[all …]
/external/libvpx/libvpx/test/
Ddecode_test_driver.h53 vpx_codec_err_t PeekStream(const uint8_t *cxdata, size_t size,
56 vpx_codec_err_t DecodeFrame(const uint8_t *cxdata, size_t size);
58 vpx_codec_err_t DecodeFrame(const uint8_t *cxdata, size_t size,
67 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg); in Control()
71 void Control(int ctrl_id, int arg, vpx_codec_err_t expected_value) { in Control()
73 const vpx_codec_err_t res = vpx_codec_control_(&decoder_, ctrl_id, arg); in Control()
83 vpx_codec_err_t SetFrameBufferFunctions( in SetFrameBufferFunctions()
104 const vpx_codec_err_t res = in InitOnce()
133 virtual bool HandleDecodeResult(const vpx_codec_err_t res_dec, in HandleDecodeResult()
147 const vpx_codec_err_t res_peek);
Ddecode_test_driver.cc22 vpx_codec_err_t Decoder::PeekStream(const uint8_t *cxdata, size_t size, in PeekStream()
28 vpx_codec_err_t Decoder::DecodeFrame(const uint8_t *cxdata, size_t size) { in DecodeFrame()
32 vpx_codec_err_t Decoder::DecodeFrame(const uint8_t *cxdata, size_t size, in DecodeFrame()
34 vpx_codec_err_t res_dec; in DecodeFrame()
49 const vpx_codec_err_t res_peek) { in HandlePeekResult()
81 const vpx_codec_err_t res_peek = decoder->PeekStream( in RunLoop()
86 vpx_codec_err_t res_dec = in RunLoop()
91 const vpx_codec_err_t res_dec = decoder->DecodeFrame(NULL, 0); in RunLoop()
Dencode_test_driver.h112 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
117 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
122 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
127 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
132 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
137 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
143 const vpx_codec_err_t res = vpx_codec_enc_config_set(&encoder_, cfg); in Config()
241 virtual bool HandleDecodeResult(const vpx_codec_err_t res_dec, in HandleDecodeResult()
Dbyte_alignment_test.cc34 vpx_codec_err_t expected_value;
80 void SetByteAlignment(int byte_alignment, vpx_codec_err_t expected_value) { in SetByteAlignment()
84 vpx_codec_err_t DecodeOneFrame(int byte_alignment_to_check) { in DecodeOneFrame()
85 const vpx_codec_err_t res = in DecodeOneFrame()
92 vpx_codec_err_t DecodeRemainingFrames(int byte_alignment_to_check) { in DecodeRemainingFrames()
94 const vpx_codec_err_t res = in DecodeRemainingFrames()
Dvp9_skip_loopfilter_test.cc53 void SetSkipLoopFilter(int value, vpx_codec_err_t expected_value) { in SetSkipLoopFilter()
57 vpx_codec_err_t DecodeOneFrame() { in DecodeOneFrame()
58 const vpx_codec_err_t res = in DecodeOneFrame()
67 vpx_codec_err_t DecodeRemainingFrames() { in DecodeRemainingFrames()
69 const vpx_codec_err_t res = in DecodeRemainingFrames()
Dencode_test_driver.cc24 vpx_codec_err_t res; in InitEncoder()
73 vpx_codec_err_t res; in EncodeFrameInternal()
92 const vpx_codec_err_t res = in Flush()
101 const vpx_codec_err_t res = codec_->DefaultEncoderConfig(&cfg_, 0); in InitializeConfig()
215 vpx_codec_err_t res_dec = decoder->DecodeFrame( in RunLoop()
237 const vpx_codec_err_t res_dec = decoder->DecodeFrame(NULL, 0); in RunLoop()
Dsvc_test.cc50 const vpx_codec_err_t res = in SetUp()
75 const vpx_codec_err_t res = in InitializeEncoder()
106 vpx_codec_err_t res; in Pass1EncodeNFrames()
166 vpx_codec_err_t res; in Pass2EncodeNFrames()
216 const vpx_codec_err_t res_dec = decoder_->DecodeFrame( in DecodeNFrames()
245 vpx_codec_err_t res = vp9_parse_superframe_index( in DropEnhancementLayers()
319 vpx_codec_err_t res = vpx_svc_init(NULL, &codec_, codec_iface_, &codec_enc_); in TEST_F()
344 vpx_codec_err_t res = vpx_svc_set_options(&svc_, NULL); in TEST_F()
354 vpx_codec_err_t res = vpx_svc_set_options(&svc_, "spatial-layers=3"); in TEST_F()
361 vpx_codec_err_t res = in TEST_F()
[all …]
Dexternal_frame_buffer_test.cc299 vpx_codec_err_t SetFrameBufferFunctions( in SetFrameBufferFunctions()
310 vpx_codec_err_t DecodeOneFrame() { in DecodeOneFrame()
311 const vpx_codec_err_t res = in DecodeOneFrame()
318 vpx_codec_err_t DecodeRemainingFrames() { in DecodeRemainingFrames()
320 const vpx_codec_err_t res = in DecodeRemainingFrames()
Dcodec_factory.h45 virtual vpx_codec_err_t DefaultEncoderConfig(vpx_codec_enc_cfg_t *cfg,
145 virtual vpx_codec_err_t DefaultEncoderConfig(vpx_codec_enc_cfg_t *cfg, in DefaultEncoderConfig()
241 virtual vpx_codec_err_t DefaultEncoderConfig(vpx_codec_enc_cfg_t *cfg, in DefaultEncoderConfig()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c90 static vpx_codec_err_t update_error_state( in update_error_state()
92 vpx_codec_err_t res; in update_error_state()
129 static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx, in validate_config()
257 static vpx_codec_err_t validate_img(vpx_codec_alg_priv_t *ctx, in validate_img()
274 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf, in set_vp8e_config()
427 static vpx_codec_err_t vp8e_set_config(vpx_codec_alg_priv_t *ctx, in vp8e_set_config()
429 vpx_codec_err_t res; in vp8e_set_config()
458 static vpx_codec_err_t get_quantizer(vpx_codec_alg_priv_t *ctx, va_list args) { in get_quantizer()
465 static vpx_codec_err_t get_quantizer64(vpx_codec_alg_priv_t *ctx, in get_quantizer64()
473 static vpx_codec_err_t update_extracfg(vpx_codec_alg_priv_t *ctx, in update_extracfg()
[all …]
Dvp8_dx_iface.c80 static vpx_codec_err_t vp8_init(vpx_codec_ctx_t *ctx, in vp8_init()
82 vpx_codec_err_t res = VPX_CODEC_OK; in vp8_init()
112 static vpx_codec_err_t vp8_destroy(vpx_codec_alg_priv_t *ctx) { in vp8_destroy()
120 static vpx_codec_err_t vp8_peek_si_internal(const uint8_t *data, in vp8_peek_si_internal()
125 vpx_codec_err_t res = VPX_CODEC_OK; in vp8_peek_si_internal()
169 static vpx_codec_err_t vp8_peek_si(const uint8_t *data, unsigned int data_sz, in vp8_peek_si()
174 static vpx_codec_err_t vp8_get_si(vpx_codec_alg_priv_t *ctx, in vp8_get_si()
190 static vpx_codec_err_t update_error_state( in update_error_state()
192 vpx_codec_err_t res; in update_error_state()
231 unsigned int data_sz, vpx_codec_err_t *res) { in update_fragments()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c114 static vpx_codec_err_t update_error_state( in update_error_state()
116 const vpx_codec_err_t res = error->error_code; in update_error_state()
152 static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx, in validate_config()
345 static vpx_codec_err_t validate_img(vpx_codec_alg_priv_t *ctx, in validate_img()
443 static vpx_codec_err_t set_encoder_config( in set_encoder_config()
627 static vpx_codec_err_t encoder_set_config(vpx_codec_alg_priv_t *ctx, in encoder_set_config()
629 vpx_codec_err_t res; in encoder_set_config()
663 static vpx_codec_err_t ctrl_get_quantizer(vpx_codec_alg_priv_t *ctx, in ctrl_get_quantizer()
671 static vpx_codec_err_t ctrl_get_quantizer64(vpx_codec_alg_priv_t *ctx, in ctrl_get_quantizer64()
679 static vpx_codec_err_t update_extra_cfg(vpx_codec_alg_priv_t *ctx, in update_extra_cfg()
[all …]
Dvp9_dx_iface.c34 static vpx_codec_err_t decoder_init(vpx_codec_ctx_t *ctx, in decoder_init()
62 static vpx_codec_err_t decoder_destroy(vpx_codec_alg_priv_t *ctx) { in decoder_destroy()
125 static vpx_codec_err_t decoder_peek_si_internal( in decoder_peek_si_internal()
200 static vpx_codec_err_t decoder_peek_si(const uint8_t *data, in decoder_peek_si()
206 static vpx_codec_err_t decoder_get_si(vpx_codec_alg_priv_t *ctx, in decoder_get_si()
222 static vpx_codec_err_t update_error_state( in update_error_state()
308 static vpx_codec_err_t init_decoder(vpx_codec_alg_priv_t *ctx) { in init_decoder()
410 static vpx_codec_err_t decode_one(vpx_codec_alg_priv_t *ctx, in decode_one()
421 const vpx_codec_err_t res = in decode_one()
526 static vpx_codec_err_t decoder_decode(vpx_codec_alg_priv_t *ctx, in decoder_decode()
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.h87 vpx_codec_err_t vp9_copy_reference_dec(struct VP9Decoder *pbi,
91 vpx_codec_err_t vp9_set_reference_dec(VP9_COMMON *cm,
107 vpx_codec_err_t vp9_parse_superframe_index(const uint8_t *data, size_t data_sz,
/external/libvpx/libvpx/vp8/common/
Donyxd.h49 vpx_codec_err_t vp8dx_get_reference(struct VP8D_COMP *comp,
52 vpx_codec_err_t vp8dx_set_reference(struct VP8D_COMP *comp,
/external/libvpx/libvpx/examples/
Dtwopass_encoder.c76 const vpx_codec_err_t res = in get_frame_stats()
102 const vpx_codec_err_t res = in encode_frame()
196 vpx_codec_err_t res; in main()

12