/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
simple_encoder.c | 39 // documentation for your codec to see if it provides any default 51 // Initializing The Codec 82 // The `vpx_codec_destroy` call frees any memory allocated by the codec. 111 "Usage: %s <codec> <width> <height> <infile> <outfile> " 118 static int encode_frame(vpx_codec_ctx_t *codec, 126 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 129 die_codec(codec, "Failed to encode frame"); 131 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) { 140 die_codec(codec, "Failed to write compressed frame"); 152 vpx_codec_ctx_t codec; local [all...] |
vp8cx_set_ref.c | 67 static int encode_frame(vpx_codec_ctx_t *codec, 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) { 88 die_codec(codec, "Failed to write compressed frame"); 101 vpx_codec_ctx_t codec = {0}; local 121 die("Unsupported codec."); 149 die_codec(&codec, "Failed to get default codec config."); 164 if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0) [all...] |
/external/chromium_org/third_party/skia/experimental/PdfViewer/ |
chop_transparency_main.cpp | 102 SkImageDecoder* codec = SkImageDecoder::Factory(&stream); local 103 if (NULL == codec) { 107 SkAutoTDelete<SkImageDecoder> ad(codec); 111 if (!codec->decode(&stream, &bitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode)) {
|
/external/chromium_org/third_party/skia/gm/ |
downsamplebitmap.cpp | 172 SkImageDecoder* codec = NULL; variable 176 codec = SkImageDecoder::Factory(&stream); 178 if (codec) { 180 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 181 SkDELETE(codec); variable
|
filterbitmap.cpp | 197 SkImageDecoder* codec = NULL; variable 201 codec = SkImageDecoder::Factory(&stream); 203 if (codec) { 205 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 206 SkDELETE(codec); variable
|
filterindiabox.cpp | 110 SkImageDecoder* codec = NULL; local 114 codec = SkImageDecoder::Factory(&stream); 116 if (codec) { 118 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 119 SkDELETE(codec);
|
/external/chromium_org/third_party/skia/tools/ |
skdiff_utils.cpp | 38 SkImageDecoder* codec = SkImageDecoder::Factory(&stream); local 39 if (NULL == codec) { 40 SkDebugf("ERROR: no codec found for <%s>\n", resource.fFullPath.c_str()); 47 SkAutoTDelete<SkImageDecoder> ad(codec); 50 if (!codec->decode(&stream, &resource.fBitmap, kN32_SkColorType, mode)) { 51 SkDebugf("ERROR: codec failed for basePath <%s>\n", resource.fFullPath.c_str());
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
initial_delay_unittest.cc | 68 CodecInst codec; local 73 AudioCodingModule::Codec("L16", &codec, kFsHz[n], kChannels[k]); 74 acm_b_->RegisterReceiveCodec(codec); 85 CodecInst codec; local 86 AudioCodingModule::Codec("L16", &codec, 8000, 1); 87 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets. 88 Run(codec, 1000) 92 CodecInst codec; local 99 CodecInst codec; local 106 CodecInst codec; local 113 CodecInst codec; local 120 CodecInst codec; local [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
vcm_payload_sink_factory.cc | 155 VideoCodec codec; local 156 if (VideoCodingModule::Codec(it->codec_type(), &codec) < 0) { 159 codec.plType = it->payload_type(); 160 if (vcm->RegisterReceiveCodec(&codec, 1) < 0) {
|
/external/libvpx/libvpx/examples/ |
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...] |
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, "Failed to set active map") 156 vpx_codec_ctx_t codec = {0}; local [all...] |
simple_encoder.c | 41 // documentation for your codec to see if it provides any default 53 // Initializing The Codec 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, 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 [all...] |
vp8cx_set_ref.c | 68 static void encode_frame(vpx_codec_ctx_t *codec, 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, encoder->interface(), &cfg, 0) [all...] |
/external/libvpx/libvpx/ |
vpxenc.h | 29 const struct VpxInterface *codec; member in struct:VpxEncoderConfig
|
/external/lzma/CPP/7zip/Common/ |
CreateCoder.cpp | 97 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 = *g_Codecs[i]; 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/skia/experimental/PdfViewer/ |
chop_transparency_main.cpp | 102 SkImageDecoder* codec = SkImageDecoder::Factory(&stream); local 103 if (NULL == codec) { 107 SkAutoTDelete<SkImageDecoder> ad(codec); 111 if (!codec->decode(&stream, &bitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode)) {
|
/external/skia/gm/ |
downsamplebitmap.cpp | 179 SkImageDecoder* codec = NULL; variable 182 codec = SkImageDecoder::Factory(&stream); 184 if (codec) { 186 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 187 SkDELETE(codec); variable
|
filterbitmap.cpp | 201 SkImageDecoder* codec = NULL; variable 204 codec = SkImageDecoder::Factory(&stream); 206 if (codec) { 208 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 209 SkDELETE(codec); variable
|
filterindiabox.cpp | 111 SkImageDecoder* codec = NULL; local 114 codec = SkImageDecoder::Factory(&stream); 116 if (codec) { 118 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 119 SkDELETE(codec);
|
/external/skia/tools/ |
skdiff_utils.cpp | 54 SkImageDecoder* codec = SkImageDecoder::Factory(&stream); local 55 if (NULL == codec) { 56 SkDebugf("ERROR: no codec found for <%s>\n", resource.fFullPath.c_str()); 63 SkAutoTDelete<SkImageDecoder> ad(codec); 66 if (!codec->decode(&stream, &resource.fBitmap, kN32_SkColorType, mode)) { 67 SkDebugf("ERROR: codec failed for basePath <%s>\n", resource.fFullPath.c_str());
|
/external/tinycompress/include/tinycompress/ |
tinycompress.h | 66 * @codec: codec type and parameters requested 71 struct snd_codec *codec; member in struct:compr_config 239 * is_codec_supported:check if the given codec is supported 245 * @codec: codec type and parameters to be checked 248 unsigned int flags, struct snd_codec *codec);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
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...] |
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, "Failed to set active map") 156 vpx_codec_ctx_t codec = {0}; local [all...] |
simple_encoder.c | 41 // documentation for your codec to see if it provides any default 53 // Initializing The Codec 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, 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 [all...] |
vp8cx_set_ref.c | 68 static void encode_frame(vpx_codec_ctx_t *codec, 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, encoder->interface(), &cfg, 0) [all...] |