Searched refs:codec (Results 376 - 400 of 439) sorted by path

<<1112131415161718

/external/libvorbis/
H A Dlibvorbis.spec77 %{_includedir}/vorbis/codec.h
/external/libvorbis/test/
H A Dutil.c13 function: utility functions for vorbis codec test suite.
24 #include <vorbis/codec.h>
H A Dwrite_read.c13 function: utility functions for vorbis codec test suite.
24 #include <vorbis/codec.h>
/external/libvpx/libvpx/examples/
H A Ddecode_to_md5.c84 vpx_codec_ctx_t codec; local
105 die("Unknown input codec.");
109 if (vpx_codec_dec_init(&codec, decoder->interface(), NULL, 0))
110 die_codec(&codec, "Failed to initialize decoder");
118 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0))
119 die_codec(&codec, "Failed to decode frame");
121 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) {
132 if (vpx_codec_destroy(&codec))
133 die_codec(&codec, "Failed to destroy codec
[all...]
H A Ddecode_with_drops.c16 // features of the codec.
78 vpx_codec_ctx_t codec; local
109 die("Unknown input codec.");
113 if (vpx_codec_dec_init(&codec, decoder->interface(), NULL, 0))
114 die_codec(&codec, "Failed to initialize decoder.");
123 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0))
124 die_codec(&codec, "Failed to decode frame.");
134 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL)
144 if (vpx_codec_destroy(&codec))
145 die_codec(&codec, "Faile
[all...]
H A Ddecode_with_partial_drops.c16 // error recovery features of the codec.
197 vpx_codec_ctx_t codec; local
243 /* Initialize codec */
245 res = vpx_codec_dec_init(&codec, interface, &dec_cfg, flags);
247 die_codec(&codec, "Failed to initialize decoder");
303 if(vpx_codec_decode(&codec, frame, frame_sz, NULL, 0))
304 die_codec(&codec, "Failed to decode frame");
307 while((img = vpx_codec_get_frame(&codec, &iter))) {
322 if(vpx_codec_destroy(&codec))
323 die_codec(&codec, "Faile
[all...]
H A Dpostproc.c18 // You must inform the codec that you might request postprocessing at
20 // flag to `vpx_codec_dec_init`. If the codec does not support
23 // the codec does not provide support.
30 // special value 0 indicates that the codec should take as long as
32 // codec 15ms (15000us) to return a frame. Remember that this is a soft
33 // deadline, and the codec may exceed it doing its regular processing. In
65 vpx_codec_ctx_t codec; local
87 die("Unknown input codec.");
91 res = vpx_codec_dec_init(&codec, decoder->interface(), NULL,
94 die_codec(&codec, "Postpro
[all...]
H A Dset_maps.c59 fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n",
65 vpx_codec_ctx_t *codec) {
91 if (vpx_codec_control(codec, VP8E_SET_ROI_MAP, &roi))
92 die_codec(codec, "Failed to set ROI map");
98 vpx_codec_ctx_t *codec) {
109 if (vpx_codec_control(codec, VP8E_SET_ACTIVEMAP, &map))
110 die_codec(codec, "Failed to set active map");
116 vpx_codec_ctx_t *codec) {
123 if (vpx_codec_control(codec, VP8E_SET_ACTIVEMAP, &map))
124 die_codec(codec, "Faile
64 set_roi_map(const vpx_codec_enc_cfg_t *cfg, vpx_codec_ctx_t *codec) argument
97 set_active_map(const vpx_codec_enc_cfg_t *cfg, vpx_codec_ctx_t *codec) argument
115 unset_active_map(const vpx_codec_enc_cfg_t *cfg, vpx_codec_ctx_t *codec) argument
127 encode_frame(vpx_codec_ctx_t *codec, vpx_image_t *img, int frame_index, VpxVideoWriter *writer) argument
156 vpx_codec_ctx_t codec = {0}; local
[all...]
H A Dsimple_decoder.c71 // The `vpx_codec_destroy` call frees any memory allocated by the codec.
103 vpx_codec_ctx_t codec; local
124 die("Unknown input codec.");
128 if (vpx_codec_dec_init(&codec, decoder->interface(), NULL, 0))
129 die_codec(&codec, "Failed to initialize decoder.");
137 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0))
138 die_codec(&codec, "Failed to decode frame.");
140 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) {
147 if (vpx_codec_destroy(&codec))
148 die_codec(&codec, "Faile
[all...]
H A Dsimple_encoder.c41 // documentation for your codec to see if it provides any default
84 // The `vpx_codec_destroy` call frees any memory allocated by the codec.
114 "Usage: %s <codec> <width> <height> <infile> <outfile> "
121 static void encode_frame(vpx_codec_ctx_t *codec, argument
128 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1,
131 die_codec(codec, "Failed to encode frame");
133 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) {
140 die_codec(codec, "Failed to write compressed frame");
151 vpx_codec_ctx_t codec; local
186 die("Unsupported codec
[all...]
H A Dtwopass_encoder.c64 fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n",
125 vpx_codec_ctx_t codec; local
147 die("Unsupported codec.");
175 die_codec(&codec, "Failed to get default codec config.");
196 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0))
197 die_codec(&codec, "Failed to initialize encoder");
203 get_frame_stats(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY,
206 encode_frame(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY,
212 get_frame_stats(&codec, NUL
[all...]
H A Dvp8_multi_resolution_encoder.c176 vpx_codec_ctx_t codec[NUM_ENCODERS]; local
328 if(vpx_codec_enc_init_multi(&codec[0], interface, &cfg[0], NUM_ENCODERS,
330 die_codec(&codec[0], "Failed to initialize encoder");
337 if(vpx_codec_control(&codec[i], VP8E_SET_CPUUSED, speed))
338 die_codec(&codec[i], "Failed to set cpu_used");
345 if(vpx_codec_control(&codec[i], VP8E_SET_STATIC_THRESHOLD, static_thresh))
346 die_codec(&codec[i], "Failed to set static threshold");
351 if(vpx_codec_control(&codec[0], VP8E_SET_NOISE_SENSITIVITY, 1))
352 die_codec(&codec[0], "Failed to set noise_sensitivity");
355 if(vpx_codec_control(&codec[
[all...]
H A Dvp8cx_set_ref.c68 static void encode_frame(vpx_codec_ctx_t *codec, argument
74 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 0,
77 die_codec(codec, "Failed to encode frame");
79 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) {
86 die_codec(codec, "Failed to write compressed frame");
97 vpx_codec_ctx_t codec = {0}; local
117 die("Unsupported codec.");
145 die_codec(&codec, "Failed to get default codec config.");
160 if (vpx_codec_enc_init(&codec, encode
[all...]
H A Dvp9_spatial_scalable_encoder.c287 vpx_codec_ctx_t codec; local
311 // Initialize codec
312 if (vpx_svc_init(&svc_ctx, &codec, vpx_codec_vp9_cx(), &enc_cfg) !=
346 res = vpx_svc_encode(&svc_ctx, &codec, (end_of_stream ? NULL : &raw),
350 die_codec(&codec, "Failed to encode frame");
374 if (vpx_codec_destroy(&codec)) die_codec(&codec, "Failed to destroy codec");
H A Dvpx_temporal_scalable_patterns.c433 vpx_codec_ctx_t codec; local
467 die("Unsupported codec.");
568 // Initialize codec.
569 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0))
570 die_codec(&codec, "Failed to initialize encoder");
573 vpx_codec_control(&codec, VP8E_SET_CPUUSED, -speed);
574 vpx_codec_control(&codec, VP8E_SET_NOISE_SENSITIVITY, 1);
576 vpx_codec_control(&codec, VP8E_SET_CPUUSED, speed);
577 vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3);
578 vpx_codec_control(&codec, VP9E_SET_FRAME_PERIODIC_BOOS
[all...]
/external/libvpx/libvpx/test/
H A Ddecode_test_driver.h122 explicit DecoderTest(const CodecFactory *codec) : codec_(codec) {} argument
H A Dencode_test_driver.h176 explicit EncoderTest(const CodecFactory *codec) argument
177 : codec_(codec), abort_(false), init_flags_(0), frame_flags_(0),
H A Dtools_common.sh210 # 1 - codec name
222 codec="${1}"
249 "${encoder}" --codec=${codec} --width=${width} --height=${height} \
254 | "${encoder}" --codec=${codec} --width=${width} --height=${height} \
/external/libvpx/libvpx/
H A Dvpxenc.c183 static const arg_def_t codecarg = ARG_DEF(NULL, "codec", 1,
660 global->codec = get_vpx_encoder_by_index(0);
670 global->codec = get_vpx_encoder_by_name(arg.val);
671 if (!global->codec)
672 die("Error: Unrecognized argument (%s) to --codec\n", arg.val);
745 global->passes = (strcmp(global->codec->name, "vp9") == 0 &&
823 res = vpx_codec_enc_config_default(global->codec->interface(),
873 // Handle codec specific options
876 } else if (strcmp(global->codec->name, "vp8") == 0) {
881 } else if (strcmp(global->codec
1437 test_decode(struct stream_state *stream, enum TestDecodeFatality fatal, const VpxInterface *codec) argument
[all...]
H A Dvpxenc.h29 const struct VpxInterface *codec; member in struct:VpxEncoderConfig
/external/lzma/CPP/7zip/Common/
H A DCreateCoder.cpp97 const CCodecInfo &codec = *g_Codecs[i]; local
98 if (name.CompareNoCase(codec.Name) == 0)
100 methodId = codec.Id;
101 numInStreams = codec.NumInStreams;
110 const CCodecInfoEx &codec = (*externalCodecs)[i]; local
111 if (codec.Name.CompareNoCase(name) == 0)
113 methodId = codec.Id;
114 numInStreams = codec.NumInStreams;
115 numOutStreams = codec.NumOutStreams;
132 const CCodecInfo &codec local
143 const CCodecInfoEx &codec = (*externalCodecs)[i]; local
166 const CCodecInfo &codec = *g_Codecs[i]; local
198 const CCodecInfoEx &codec = (*externalCodecs)[i]; local
[all...]
/external/lzma/CPP/7zip/Compress/
H A DCodecExports.cpp56 const CCodecInfo &codec = *g_Codecs[i]; local
57 if (id != codec.Id || encode && !codec.CreateEncoder || !encode && !codec.CreateDecoder)
59 if (!isFilter && codec.IsFilter || isFilter && !codec.IsFilter ||
60 codec.NumInStreams != 1 && !isCoder2 || codec.NumInStreams == 1 && isCoder2)
75 const CCodecInfo &codec = *g_Codecs[index]; local
76 if (!isFilter && codec
122 const CCodecInfo &codec = *g_Codecs[codecIndex]; local
[all...]
/external/lzma/CPP/7zip/UI/Common/
H A DLoadCodecs.cpp601 const CDllCodecInfo &codec = Codecs[i]; local
602 if (encode && !codec.EncoderIsAssigned || !encode && !codec.DecoderIsAssigned)
604 const CCodecLib &lib = Libs[codec.LibIndex];
607 RINOK(lib.GetMethodProperty(codec.CodecIndex, NMethodPropID::kName, &prop));
613 return lib.CreateObject(encode ? &codec.Encoder : &codec.Decoder, &IID_ICompressCoder, (void **)&coder);
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_bitstream.c798 mb.base.codec = PIPE_VIDEO_CODEC_MPEG12;
H A Dvl_mpeg12_decoder.c587 assert(macroblocks && macroblocks->codec == PIPE_VIDEO_CODEC_MPEG12);

Completed in 278 milliseconds

<<1112131415161718