/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | simple_decoder.c | 71 // 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 D | postproc.c | 18 // 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 D | decode_to_md5.c | 84 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 D | decode_with_drops.c | 16 // 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 D | vp8cx_set_ref.c | 68 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 D | set_maps.c | 59 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 D | simple_encoder.c | 41 // 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 D | twopass_encoder.c | 64 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 D | decode_with_partial_drops.c | 16 // 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 D | vp8_multi_resolution_encoder.c | 176 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 D | vpx_temporal_scalable_patterns.c | 433 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...] |
/hardware/intel/common/libmix/mix_audio/src/ |
H A D | sst_proxy.c | 59 s->codec = p->codec = SST_CODEC_TYPE_MP3; 94 s->codec = p->codec = SST_CODEC_TYPE_WMA9; 97 s->codec = p->codec = SST_CODEC_TYPE_WMA10; 100 s->codec = p->codec = SST_CODEC_TYPE_WMA10P; 134 // So MixAudio is implicitly selecting codec base on AOT, psPresentFlag and sbrPresentFlag. 139 s->codec 234 mix_sst_acp_from_codec(guint codec) argument [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | vpxenc.h | 29 const struct VpxInterface *codec; member in struct:VpxEncoderConfig
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/include/ |
H A D | viddec_fw_workload.h | 128 enum viddec_stream_format codec; member in struct:viddec_workload
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | decode_test_driver.h | 122 explicit DecoderTest(const CodecFactory *codec) : codec_(codec) {} argument
|
/hardware/intel/img/psb_video/fw/topazhp/ |
H A D | fwinfo.c | 45 unsigned short codec; member in struct:topaz_fw_info_item_s 86 static char *codec_to_string(int codec) argument 88 switch (codec) { 110 return "Undefined codec"; 157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); 159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec));
|
/hardware/intel/img/psb_video/fw/topazsc/ |
H A D | fwinfo.c | 45 unsigned short codec; member in struct:topaz_fw_info_item_s 86 static char *codec_to_string(int codec) argument 88 switch (codec) { 110 return "Undefined codec"; 157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); 159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec));
|
H A D | topaz_bin.c | 48 unsigned short codec; member in struct:topaz_fw_info_item_s 89 * { ver, codec, text_size, data_size, date_location }
|
H A D | topazsc_bin.c | 61 #define FW_MASTER_INFO(codec,prefix) \ 62 { FW_MASTER_##codec,\ 64 FW_MASTER_##codec,\ 72 #define FW_SLAVE_INFO(codec,prefix) \ 73 { FW_SLAVE_##codec,\ 75 FW_SLAVE_##codec,\ 87 unsigned short codec; member in struct:topaz_fw_info_item_s 139 * { ver, codec, text_size, data_size, date_location }
|
/hardware/qcom/msm8994/kernel-headers/sound/ |
H A D | compress_offload.h | 34 struct snd_codec codec; member in struct:snd_compr_params 71 __u32 codec; member in struct:snd_compr_codec_caps
|
/hardware/qcom/msm8994/original-kernel-headers/sound/ |
H A D | compress_offload.h | 47 * @codec: codec parameters 52 struct snd_codec codec; member in struct:snd_compr_params 114 * struct snd_compr_codec_caps: query capability of codec 115 * @codec: codec for which capability is queried 116 * @num_descriptors: number of codec descriptors 117 * @descriptor: array of codec capability descriptor 120 __u32 codec; member in struct:snd_compr_codec_caps 161 * SNDRV_COMPRESS_GET_CODEC_CAPS: Query capability of a codec [all...] |
/hardware/qcom/msm8996/kernel-headers/sound/ |
H A D | compress_offload.h | 34 struct snd_codec codec; member in struct:snd_compr_params 71 __u32 codec; member in struct:snd_compr_codec_caps
|
/hardware/qcom/msm8996/original-kernel-headers/sound/ |
H A D | compress_offload.h | 47 * @codec: codec parameters 52 struct snd_codec codec; member in struct:snd_compr_params 114 * struct snd_compr_codec_caps: query capability of codec 115 * @codec: codec for which capability is queried 116 * @num_descriptors: number of codec descriptors 117 * @descriptor: array of codec capability descriptor 120 __u32 codec; member in struct:snd_compr_codec_caps 161 * SNDRV_COMPRESS_GET_CODEC_CAPS: Query capability of a codec [all...] |
/hardware/qcom/msm8x26/kernel-headers/sound/ |
H A D | compress_offload.h | 34 struct snd_codec codec; member in struct:snd_compr_params 71 __u32 codec; member in struct:snd_compr_codec_caps
|
/hardware/qcom/msm8x26/original-kernel-headers/sound/ |
H A D | compress_offload.h | 47 * @codec: codec parameters 52 struct snd_codec codec; member in struct:snd_compr_params 114 * struct snd_compr_codec_caps: query capability of codec 115 * @codec: codec for which capability is queried 116 * @num_descriptors: number of codec descriptors 117 * @descriptor: array of codec capability descriptor 120 __u32 codec; member in struct:snd_compr_codec_caps 159 * SNDRV_COMPRESS_GET_CODEC_CAPS: Query capability of a codec [all...] |