Home
last modified time | relevance | path

Searched refs:codec (Results 1 – 25 of 61) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dset_maps.c65 vpx_codec_ctx_t *codec) { in set_roi_map() argument
91 if (vpx_codec_control(codec, VP8E_SET_ROI_MAP, &roi)) in set_roi_map()
92 die_codec(codec, "Failed to set ROI map"); in set_roi_map()
98 vpx_codec_ctx_t *codec) { in set_active_map() argument
109 if (vpx_codec_control(codec, VP8E_SET_ACTIVEMAP, &map)) in set_active_map()
110 die_codec(codec, "Failed to set active map"); in set_active_map()
116 vpx_codec_ctx_t *codec) { in unset_active_map() argument
123 if (vpx_codec_control(codec, VP8E_SET_ACTIVEMAP, &map)) in unset_active_map()
124 die_codec(codec, "Failed to set active map"); in unset_active_map()
127 static void encode_frame(vpx_codec_ctx_t *codec, in encode_frame() argument
[all …]
Dpostproc.c65 vpx_codec_ctx_t codec; in main() local
91 res = vpx_codec_dec_init(&codec, decoder->interface(), NULL, in main()
94 die_codec(&codec, "Postproc not supported by this decoder."); in main()
97 die_codec(&codec, "Failed to initialize decoder."); in main()
111 if (vpx_codec_control(&codec, VP8_SET_POSTPROC, &pp)) in main()
112 die_codec(&codec, "Failed to turn off postproc."); in main()
116 if (vpx_codec_control(&codec, VP8_SET_POSTPROC, &pp)) in main()
117 die_codec(&codec, "Failed to turn on postproc."); in main()
121 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 15000)) in main()
122 die_codec(&codec, "Failed to decode frame"); in main()
[all …]
Dvp8cx_set_ref.c68 static void encode_frame(vpx_codec_ctx_t *codec, in encode_frame() argument
74 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 0, in encode_frame()
77 die_codec(codec, "Failed to encode frame"); in encode_frame()
79 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) { in encode_frame()
86 die_codec(codec, "Failed to write compressed frame"); in encode_frame()
97 vpx_codec_ctx_t codec = {0}; in main() local
145 die_codec(&codec, "Failed to get default codec config."); in main()
160 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) in main()
161 die_codec(&codec, "Failed to initialize encoder"); in main()
168 if (vpx_codec_control(&codec, VP8_SET_REFERENCE, &ref)) in main()
[all …]
Dsimple_encoder.c121 static void encode_frame(vpx_codec_ctx_t *codec, in encode_frame() argument
128 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, in encode_frame()
131 die_codec(codec, "Failed to encode frame"); in encode_frame()
133 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) { in encode_frame()
140 die_codec(codec, "Failed to write compressed frame"); in encode_frame()
151 vpx_codec_ctx_t codec; in main() local
214 die_codec(&codec, "Failed to get default codec config."); in main()
230 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) in main()
231 die_codec(&codec, "Failed to initialize encoder"); in main()
237 encode_frame(&codec, &raw, frame_count++, flags, writer); in main()
[all …]
Dsimple_decoder.c103 vpx_codec_ctx_t codec; in main() local
128 if (vpx_codec_dec_init(&codec, decoder->interface(), NULL, 0)) in main()
129 die_codec(&codec, "Failed to initialize decoder."); in main()
137 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0)) in main()
138 die_codec(&codec, "Failed to decode frame."); in main()
140 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) { in main()
147 if (vpx_codec_destroy(&codec)) in main()
148 die_codec(&codec, "Failed to destroy codec"); in main()
Ddecode_with_drops.c78 vpx_codec_ctx_t codec; in main() local
113 if (vpx_codec_dec_init(&codec, decoder->interface(), NULL, 0)) in main()
114 die_codec(&codec, "Failed to initialize decoder."); in main()
123 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0)) in main()
124 die_codec(&codec, "Failed to decode frame."); in main()
134 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) in main()
144 if (vpx_codec_destroy(&codec)) in main()
145 die_codec(&codec, "Failed to destroy codec."); in main()
Ddecode_to_md5.c84 vpx_codec_ctx_t codec; in main() local
109 if (vpx_codec_dec_init(&codec, decoder->interface(), NULL, 0)) in main()
110 die_codec(&codec, "Failed to initialize decoder"); in main()
118 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0)) in main()
119 die_codec(&codec, "Failed to decode frame"); in main()
121 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) { in main()
132 if (vpx_codec_destroy(&codec)) in main()
133 die_codec(&codec, "Failed to destroy codec."); in main()
Dvp8_multi_resolution_encoder.c176 vpx_codec_ctx_t codec[NUM_ENCODERS]; in main() local
328 if(vpx_codec_enc_init_multi(&codec[0], interface, &cfg[0], NUM_ENCODERS, in main()
330 die_codec(&codec[0], "Failed to initialize encoder"); in main()
337 if(vpx_codec_control(&codec[i], VP8E_SET_CPUUSED, speed)) in main()
338 die_codec(&codec[i], "Failed to set cpu_used"); in main()
345 if(vpx_codec_control(&codec[i], VP8E_SET_STATIC_THRESHOLD, static_thresh)) in main()
346 die_codec(&codec[i], "Failed to set static threshold"); in main()
351 if(vpx_codec_control(&codec[0], VP8E_SET_NOISE_SENSITIVITY, 1)) in main()
352 die_codec(&codec[0], "Failed to set noise_sensitivity"); in main()
355 if(vpx_codec_control(&codec[i], VP8E_SET_NOISE_SENSITIVITY, 0)) in main()
[all …]
Dtwopass_encoder.c125 vpx_codec_ctx_t codec; in main() local
175 die_codec(&codec, "Failed to get default codec config."); in main()
196 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) in main()
197 die_codec(&codec, "Failed to initialize encoder"); in main()
203 get_frame_stats(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, in main()
206 encode_frame(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, in main()
212 get_frame_stats(&codec, NULL, frame_count, 1, 0, VPX_DL_BEST_QUALITY, in main()
220 if (vpx_codec_destroy(&codec)) in main()
221 die_codec(&codec, "Failed to destroy codec."); in main()
Dvpx_temporal_scalable_patterns.c433 vpx_codec_ctx_t codec; in main() local
569 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) in main()
570 die_codec(&codec, "Failed to initialize encoder"); in main()
573 vpx_codec_control(&codec, VP8E_SET_CPUUSED, -speed); in main()
574 vpx_codec_control(&codec, VP8E_SET_NOISE_SENSITIVITY, 1); in main()
576 vpx_codec_control(&codec, VP8E_SET_CPUUSED, speed); in main()
577 vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3); in main()
578 vpx_codec_control(&codec, VP9E_SET_FRAME_PERIODIC_BOOST, 0); in main()
579 vpx_codec_control(&codec, VP8E_SET_NOISE_SENSITIVITY, 0); in main()
580 if (vpx_codec_control(&codec, VP9E_SET_SVC, 1)) { in main()
[all …]
Ddecode_with_partial_drops.c197 vpx_codec_ctx_t codec; in main() local
245 res = vpx_codec_dec_init(&codec, interface, &dec_cfg, flags); in main()
247 die_codec(&codec, "Failed to initialize decoder"); in main()
303 if(vpx_codec_decode(&codec, frame, frame_sz, NULL, 0)) in main()
304 die_codec(&codec, "Failed to decode frame"); in main()
307 while((img = vpx_codec_get_frame(&codec, &iter))) { in main()
322 if(vpx_codec_destroy(&codec)) in main()
323 die_codec(&codec, "Failed to destroy codec"); in main()
Dvp9_spatial_scalable_encoder.c287 vpx_codec_ctx_t codec; in main() local
312 if (vpx_svc_init(&svc_ctx, &codec, vpx_codec_vp9_cx(), &enc_cfg) != in main()
346 res = vpx_svc_encode(&svc_ctx, &codec, (end_of_stream ? NULL : &raw), in main()
350 die_codec(&codec, "Failed to encode frame"); in main()
374 if (vpx_codec_destroy(&codec)) die_codec(&codec, "Failed to destroy codec"); in main()
/hardware/intel/common/libmix/mix_audio/src/
Dsst_proxy.c59 s->codec = p->codec = SST_CODEC_TYPE_MP3; in mix_sst_params_convert_mp3()
94 s->codec = p->codec = SST_CODEC_TYPE_WMA9; in mix_sst_params_convert_wma()
97 s->codec = p->codec = SST_CODEC_TYPE_WMA10; in mix_sst_params_convert_wma()
100 s->codec = p->codec = SST_CODEC_TYPE_WMA10P; in mix_sst_params_convert_wma()
139 s->codec = p->codec = SST_CODEC_TYPE_eAACP; in mix_sst_params_convert_aac()
143 s->codec = p->codec = SST_CODEC_TYPE_AACP; in mix_sst_params_convert_aac()
147 s->codec = p->codec = SST_CODEC_TYPE_AAC; in mix_sst_params_convert_aac()
198 AAC_DUMP(codec); in mix_sst_params_convert_aac()
234 MixAudioConfigParams *mix_sst_acp_from_codec(guint codec) in mix_sst_acp_from_codec() argument
239 switch (codec) in mix_sst_acp_from_codec()
[all …]
Dintel_sst_ioctl.h66 __u16 codec; /* codec type */ member
78 __u16 codec; member
94 __u16 codec; member
123 __u16 codec; member
208 __u8 codec; member
/hardware/intel/img/psb_video/fw/topazsc/
Dtopazsc_bin.c61 #define FW_MASTER_INFO(codec,prefix) \ argument
62 { FW_MASTER_##codec,\
64 FW_MASTER_##codec,\
72 #define FW_SLAVE_INFO(codec,prefix) \ argument
73 { FW_SLAVE_##codec,\
75 FW_SLAVE_##codec,\
87 unsigned short codec; member
Dfwinfo.c45 unsigned short codec; member
86 static char *codec_to_string(int codec) in codec_to_string() argument
88 switch (codec) { in codec_to_string()
157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main()
159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dmainpage.dox10 applications with the VP8 video codec, a high quality, royalty free, open
11 source codec deployed on millions of computers and devices worldwide.
27 - Read the \ref usage "usage" for a narrative on codec usage.
29 codec.
30 - \ref codec reference
42 codec-devel@webmproject.org.
Dusage.dox3 The vpx multi-format codec SDK provides a unified interface amongst its
7 For codec-specific details, see the \ref codecs page.
29 codec may write into to store details about a single instance of that codec.
35 Most operations require an initialized codec context. Codec context
36 instances are codec specific. That is, the codec to be used for the encoded
41 A codec interface is an opaque structure that controls how function calls
42 into the generic interface are dispatched to their codec-specific
47 Each supported codec will expose an interface structure to the application
52 Several "features" are defined that are optionally implemented by codec
70 To initialize a codec instance, the address of the codec context
[all …]
/hardware/intel/img/psb_video/fw/topazhp/
Dfwinfo.c45 unsigned short codec; member
86 static char *codec_to_string(int codec) in codec_to_string() argument
88 switch (codec) { in codec_to_string()
157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main()
159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main()
Dtopazhp_bin.c74 #define FW_MASTER_INFO(codec,prefix) \ argument
75 { FW_MASTER_##codec,\
77 FW_MASTER_##codec,\
85 #define FW_SLAVE_INFO(codec,prefix) \ argument
86 { FW_SLAVE_##codec,\
88 FW_SLAVE_##codec,\
98 unsigned short codec; member
368 topaz_fw_table[i].header.codec = FW_MASTER_H264_NO_RC; in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dtools_common.sh222 codec="${1}"
249 "${encoder}" --codec=${codec} --width=${width} --height=${height} \
254 | "${encoder}" --codec=${codec} --width=${width} --height=${height} \
/hardware/intel/common/utils/media_resource_manager/arbitrator/
DMediaResourceArbitrator.cpp216 ArbitratorErrorType MediaResourceArbitrator::ArbitrateFullLoad(CodecInfo& codec) { in ArbitrateFullLoad() argument
219 codec.codecType, codec.isEncoder, codec.frameRate); in ArbitrateFullLoad()
223 if (codec.isEncoder == true) { in ArbitrateFullLoad()
230 codec.isEncoder ? "encoder" : "decoder", livingInstanceNum); in ArbitrateFullLoad()
236 if (codec.isEncoder == false) { // decoder in ArbitrateFullLoad()
/hardware/qcom/msm8x84/kernel-headers/sound/
Dcompress_offload.h34 struct snd_codec codec; member
71 __u32 codec; member
/hardware/qcom/msm8994/original-kernel-headers/sound/
Dcompress_offload.h52 struct snd_codec codec; member
120 __u32 codec; member
/hardware/qcom/msm8x84/original-kernel-headers/sound/
Dcompress_offload.h52 struct snd_codec codec; member
120 __u32 codec; member

123