Home
last modified time | relevance | path

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

123

/external/webrtc/modules/video_coding/codecs/vp8/test/
Dmock_libvpx_interface.h37 MOCK_METHOD(vpx_codec_err_t,
41 MOCK_METHOD(vpx_codec_err_t,
45 MOCK_METHOD(vpx_codec_err_t,
52 MOCK_METHOD(vpx_codec_err_t,
61 MOCK_METHOD(vpx_codec_err_t,
65 MOCK_METHOD(vpx_codec_err_t,
69 MOCK_METHOD(vpx_codec_err_t,
73 MOCK_METHOD(vpx_codec_err_t,
77 MOCK_METHOD(vpx_codec_err_t,
81 MOCK_METHOD(vpx_codec_err_t,
[all …]
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_interface.h46 virtual vpx_codec_err_t codec_enc_config_set(
49 virtual vpx_codec_err_t codec_enc_config_default(
54 virtual vpx_codec_err_t codec_enc_init(vpx_codec_ctx_t* ctx,
58 virtual vpx_codec_err_t codec_enc_init_multi(vpx_codec_ctx_t* ctx,
64 virtual vpx_codec_err_t codec_destroy(vpx_codec_ctx_t* ctx) const = 0;
66 virtual vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx,
69 virtual vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx,
72 virtual vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx,
75 virtual vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx,
78 virtual vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx,
[all …]
Dlibvpx_interface.cc43 vpx_codec_err_t codec_enc_config_set( in codec_enc_config_set()
49 vpx_codec_err_t codec_enc_config_default(vpx_codec_iface_t* iface, in codec_enc_config_default()
55 vpx_codec_err_t codec_enc_init(vpx_codec_ctx_t* ctx, in codec_enc_init()
62 vpx_codec_err_t codec_enc_init_multi(vpx_codec_ctx_t* ctx, in codec_enc_init_multi()
71 vpx_codec_err_t codec_destroy(vpx_codec_ctx_t* ctx) const override { in codec_destroy()
78 vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx, in codec_control()
113 vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx, in codec_control()
134 vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx, in codec_control()
148 vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx, in codec_control()
160 vpx_codec_err_t codec_control(vpx_codec_ctx_t* ctx, in codec_control()
[all …]
/external/libvpx/libvpx/vpx/
Dvpx_codec.h142 } vpx_codec_err_t; typedef
200 vpx_codec_err_t err; /**< Last returned error */
306 const char *vpx_codec_err_to_string(vpx_codec_err_t err);
349 vpx_codec_err_t vpx_codec_destroy(vpx_codec_ctx_t *ctx);
384 vpx_codec_err_t vpx_codec_control_(vpx_codec_ctx_t *ctx, int ctrl_id, ...);
416 static vpx_codec_err_t vpx_codec_control_##id(vpx_codec_ctx_t *, int, typ) \
419 static vpx_codec_err_t vpx_codec_control_##id(vpx_codec_ctx_t *ctx, \
435 VPX_DECLSPEC_DEPRECATED static vpx_codec_err_t vpx_codec_control_##id( \
438 VPX_DECLSPEC_DEPRECATED static vpx_codec_err_t vpx_codec_control_##id( \
454 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.h732 vpx_codec_err_t vpx_codec_enc_init_ver(vpx_codec_ctx_t *ctx,
764 vpx_codec_err_t vpx_codec_enc_init_multi_ver(
795 vpx_codec_err_t vpx_codec_enc_config_default(vpx_codec_iface_t *iface,
813 vpx_codec_err_t vpx_codec_enc_config_set(vpx_codec_ctx_t *ctx,
871 vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx, const vpx_image_t *img,
919 vpx_codec_err_t vpx_codec_set_cx_data_buf(vpx_codec_ctx_t *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.c29 vpx_codec_err_t vpx_codec_enc_init_ver(vpx_codec_ctx_t *ctx, in vpx_codec_enc_init_ver()
33 vpx_codec_err_t res; in vpx_codec_enc_init_ver()
65 vpx_codec_err_t vpx_codec_enc_init_multi_ver( in vpx_codec_enc_init_multi_ver()
68 vpx_codec_err_t res = VPX_CODEC_OK; in vpx_codec_enc_init_multi_ver()
151 vpx_codec_err_t vpx_codec_enc_config_default(vpx_codec_iface_t *iface, in vpx_codec_enc_config_default()
154 vpx_codec_err_t res; in vpx_codec_enc_config_default()
187 vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx, const vpx_image_t *img, in vpx_codec_encode()
191 vpx_codec_err_t res = VPX_CODEC_OK; in vpx_codec_encode()
284 vpx_codec_err_t vpx_codec_set_cx_data_buf(vpx_codec_ctx_t *ctx, in vpx_codec_set_cx_data_buf()
338 vpx_codec_err_t vpx_codec_enc_config_set(vpx_codec_ctx_t *ctx, in vpx_codec_enc_config_set()
[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/vp9/
Dvp9_dx_iface.c34 static vpx_codec_err_t decoder_init(vpx_codec_ctx_t *ctx, in decoder_init()
59 static vpx_codec_err_t decoder_destroy(vpx_codec_alg_priv_t *ctx) { in decoder_destroy()
96 static vpx_codec_err_t decoder_peek_si_internal( in decoder_peek_si_internal()
174 static vpx_codec_err_t decoder_peek_si(const uint8_t *data, in decoder_peek_si()
180 static vpx_codec_err_t decoder_get_si(vpx_codec_alg_priv_t *ctx, in decoder_get_si()
196 static vpx_codec_err_t update_error_state( in update_error_state()
254 static vpx_codec_err_t init_decoder(vpx_codec_alg_priv_t *ctx) { in init_decoder()
294 static vpx_codec_err_t decode_one(vpx_codec_alg_priv_t *ctx, in decode_one()
304 const vpx_codec_err_t res = in decode_one()
331 static vpx_codec_err_t decoder_decode(vpx_codec_alg_priv_t *ctx, in decoder_decode()
[all …]
Dvp9_cx_iface.c125 static vpx_codec_err_t update_error_state( in update_error_state()
127 const vpx_codec_err_t res = error->error_code; in update_error_state()
179 static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx, in validate_config()
366 static vpx_codec_err_t validate_img(vpx_codec_alg_priv_t *ctx, in validate_img()
483 static vpx_codec_err_t set_encoder_config( in set_encoder_config()
649 static vpx_codec_err_t encoder_set_config(vpx_codec_alg_priv_t *ctx, in encoder_set_config()
651 vpx_codec_err_t res; in encoder_set_config()
685 static vpx_codec_err_t ctrl_get_quantizer(vpx_codec_alg_priv_t *ctx, in ctrl_get_quantizer()
693 static vpx_codec_err_t ctrl_get_quantizer64(vpx_codec_alg_priv_t *ctx, in ctrl_get_quantizer64()
701 static vpx_codec_err_t update_extra_cfg(vpx_codec_alg_priv_t *ctx, in update_extra_cfg()
[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()
82 const vpx_codec_err_t res_peek = decoder->PeekStream( in RunLoop()
87 vpx_codec_err_t res_dec = in RunLoop()
92 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()
142 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
147 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
153 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
158 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control()
[all …]
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.cc25 vpx_codec_err_t res; in InitEncoder()
74 vpx_codec_err_t res; in EncodeFrameInternal()
93 const vpx_codec_err_t res = in Flush()
102 const vpx_codec_err_t res = codec_->DefaultEncoderConfig(&cfg_, 0); in InitializeConfig()
221 vpx_codec_err_t res_dec = decoder->DecodeFrame( in RunLoop()
243 const vpx_codec_err_t res_dec = decoder->DecodeFrame(NULL, 0); in RunLoop()
Dexternal_frame_buffer_test.cc310 vpx_codec_err_t SetFrameBufferFunctions( in SetFrameBufferFunctions()
321 vpx_codec_err_t DecodeOneFrame() { in DecodeOneFrame()
322 const vpx_codec_err_t res = in DecodeOneFrame()
329 vpx_codec_err_t DecodeRemainingFrames() { in DecodeRemainingFrames()
331 const vpx_codec_err_t res = in DecodeRemainingFrames()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c95 static vpx_codec_err_t update_error_state( in update_error_state()
97 vpx_codec_err_t res; in update_error_state()
150 static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx, in validate_config()
278 static vpx_codec_err_t validate_img(vpx_codec_alg_priv_t *ctx, in validate_img()
293 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf, in set_vp8e_config()
446 static vpx_codec_err_t vp8e_set_config(vpx_codec_alg_priv_t *ctx, in vp8e_set_config()
448 vpx_codec_err_t res; in vp8e_set_config()
477 static vpx_codec_err_t get_quantizer(vpx_codec_alg_priv_t *ctx, va_list args) { in get_quantizer()
484 static vpx_codec_err_t get_quantizer64(vpx_codec_alg_priv_t *ctx, in get_quantizer64()
492 static vpx_codec_err_t update_extracfg(vpx_codec_alg_priv_t *ctx, in update_extracfg()
[all …]
Dvp8_dx_iface.c86 static vpx_codec_err_t vp8_init(vpx_codec_ctx_t *ctx, in vp8_init()
88 vpx_codec_err_t res = VPX_CODEC_OK; in vp8_init()
118 static vpx_codec_err_t vp8_destroy(vpx_codec_alg_priv_t *ctx) { in vp8_destroy()
126 static vpx_codec_err_t vp8_peek_si_internal(const uint8_t *data, in vp8_peek_si_internal()
131 vpx_codec_err_t res = VPX_CODEC_OK; in vp8_peek_si_internal()
174 static vpx_codec_err_t vp8_peek_si(const uint8_t *data, unsigned int data_sz, in vp8_peek_si()
179 static vpx_codec_err_t vp8_get_si(vpx_codec_alg_priv_t *ctx, in vp8_get_si()
195 static vpx_codec_err_t update_error_state( in update_error_state()
197 vpx_codec_err_t res; in update_error_state()
237 volatile vpx_codec_err_t *res) { in update_fragments()
[all …]
/external/libvpx/libvpx/examples/
Dsvc_context.h83 vpx_codec_err_t vpx_svc_set_options(SvcContext *svc_ctx, const char *options);
88 vpx_codec_err_t vpx_svc_init(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
94 vpx_codec_err_t vpx_svc_encode(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
Dsvc_encodeframe.c117 static vpx_codec_err_t extract_option(LAYER_OPTION_TYPE type, char *input, in extract_option()
138 static vpx_codec_err_t parse_layer_options_from_string(SvcContext *svc_ctx, in parse_layer_options_from_string()
144 vpx_codec_err_t res = VPX_CODEC_OK; in parse_layer_options_from_string()
187 static vpx_codec_err_t parse_options(SvcContext *svc_ctx, const char *options) { in parse_options()
193 vpx_codec_err_t res = VPX_CODEC_OK; in parse_options()
275 vpx_codec_err_t vpx_svc_set_options(SvcContext *svc_ctx, const char *options) { in vpx_svc_set_options()
285 static vpx_codec_err_t assign_layer_bitrates( in assign_layer_bitrates()
378 vpx_codec_err_t vpx_svc_init(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx, in vpx_svc_init()
381 vpx_codec_err_t res; in vpx_svc_init()
532 vpx_codec_err_t vpx_svc_encode(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx, in vpx_svc_encode()
[all …]
/external/libvpx/libvpx/vp8/common/
Donyxd.h50 vpx_codec_err_t vp8dx_get_reference(struct VP8D_COMP *pbi,
53 vpx_codec_err_t vp8dx_set_reference(struct VP8D_COMP *pbi,
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.h135 vpx_codec_err_t vp9_copy_reference_dec(struct VP9Decoder *pbi,
139 vpx_codec_err_t vp9_set_reference_dec(VP9_COMMON *cm,
155 vpx_codec_err_t vp9_parse_superframe_index(const uint8_t *data, size_t data_sz,

123