Searched refs:bit_depth (Results 26 - 50 of 97) sorted by relevance

1234

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpng/libpng-1.2.50/contrib/gregbook/
H A Dreadppm.c68 int bit_depth, color_type, channels; variable
119 bit_depth = 8;
H A Dreadpng2.c381 int color_type, bit_depth; local
418 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
439 if (bit_depth == 16) {
443 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
444 if (bit_depth == 1)
447 else if (bit_depth == 2)
450 else /* bit_depth == 4 */
468 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
472 if (bit_depth == 16)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/aarch64/
H A Dh264chroma_init_aarch64.c45 av_cold void ff_h264chroma_init_aarch64(H264ChromaContext *c, int bit_depth) argument
47 const int high_bit_depth = bit_depth > 8;
H A Dh264dsp_init_aarch64.c72 av_cold void ff_h264dsp_init_aarch64(H264DSPContext *c, const int bit_depth, argument
77 if (have_neon(cpu_flags) && bit_depth == 8) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dhevcpred.c43 void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth) argument
63 switch (bit_depth) {
H A Dh264dsp.h119 void ff_h264dsp_init(H264DSPContext *c, const int bit_depth,
121 void ff_h264dsp_init_aarch64(H264DSPContext *c, const int bit_depth,
123 void ff_h264dsp_init_arm(H264DSPContext *c, const int bit_depth,
125 void ff_h264dsp_init_ppc(H264DSPContext *c, const int bit_depth,
127 void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth,
H A Ddnxhddec.c50 int bit_depth; // 8, 10 or 0 if not initialized at all. member in struct:DNXHDContext
87 if (ff_dnxhd_cid_table[index].bit_depth != ctx->bit_depth) {
88 av_log(ctx->avctx, AV_LOG_ERROR, "bit depth mismatches %d %d\n", ff_dnxhd_cid_table[index].bit_depth, ctx->bit_depth);
100 init_vlc(&ctx->dc_vlc, DNXHD_DC_VLC_BITS, ctx->bit_depth + 4,
146 if (ctx->bit_depth != 10) {
149 ctx->bit_depth = 10;
156 if (ctx->bit_depth != 10) {
159 ctx->bit_depth
[all...]
H A Dpngenc.c239 int bit_depth, color_type, y, len, row_size, ret, is_progressive; local
251 bit_depth = 16;
255 bit_depth = 16;
259 bit_depth = 8;
263 bit_depth = 8;
267 bit_depth = 16;
271 bit_depth = 8;
275 bit_depth = 8;
279 bit_depth = 1;
283 bit_depth
[all...]
H A Dh264_mb_template.c103 const int bit_depth = h->sps.bit_depth_luma; local
108 ff_h264_mb_sizes[h->sps.chroma_format_idc] * bit_depth);
113 tmp_y[j] = get_bits(&gb, bit_depth);
121 tmp_cb[j] = tmp_cr[j] = 1 << (bit_depth - 1);
128 tmp_cb[j] = get_bits(&gb, bit_depth);
133 tmp_cr[j] = get_bits(&gb, bit_depth);
143 memset(dest_cb + i * uvlinesize, 1 << (bit_depth - 1), 8);
144 memset(dest_cr + i * uvlinesize, 1 << (bit_depth - 1), 8);
324 const int bit_depth = h->sps.bit_depth_luma; local
326 init_get_bits(&gb, h->intra_pcm_ptr, 768 * bit_depth);
[all...]
H A Dpngdec.c45 int bit_depth; member in struct:PNGDecContext
305 if (s->bit_depth == 16) {
317 if (s->bit_depth == 16) {
586 s->bit_depth = bytestream2_get_byte(&s->gb);
596 s->width, s->height, s->bit_depth, s->color_type,
622 s->bits_per_pixel = s->bit_depth * s->channels;
626 if ((s->bit_depth == 2 || s->bit_depth == 4 || s->bit_depth == 8) &&
629 } else if ((s->bit_depth
[all...]
H A Ddnxhddata.c1067 int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth) argument
1077 cid->bit_depth == bit_depth) {
1098 cid->bit_depth == 10 ? "yuv422p10" : "yuv422p", cid->frame_rates[j].num, cid->frame_rates[j].den);
H A Dhevcdsp.c126 void ff_hevc_dsp_init(HEVCDSPContext *hevcdsp, int bit_depth) argument
236 switch (bit_depth) {
250 if (ARCH_X86) ff_hevcdsp_init_x86(hevcdsp, bit_depth);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dh264dsp.c44 void ff_h264dsp_init(H264DSPContext *c, const int bit_depth, const int chroma_format_idc) argument
102 switch (bit_depth) {
114 if (ARCH_ARM) ff_h264dsp_init_arm(c, bit_depth, chroma_format_idc);
115 if (HAVE_ALTIVEC) ff_h264dsp_init_ppc(c, bit_depth, chroma_format_idc);
116 if (HAVE_MMX) ff_h264dsp_init_x86(c, bit_depth, chroma_format_idc);
H A Ddnxhddata.c1146 int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth) argument
1156 cid->bit_depth == bit_depth) {
H A Ddnxhddec.c49 int bit_depth; // 8, 10 or 0 if not initialized at all. member in struct:DNXHDContext
89 init_vlc(&ctx->dc_vlc, DNXHD_DC_VLC_BITS, ctx->bit_depth + 4,
129 if (ctx->bit_depth != 10) {
131 ctx->bit_depth = 10;
137 if (ctx->bit_depth != 8) {
139 ctx->bit_depth = 8;
273 int shift1 = ctx->bit_depth == 10;
328 ctx->last_dc[2] = 1 << (ctx->bit_depth + 2); // for levels +2^(bitdepth-1)
H A Dpngenc.c236 int bit_depth, color_type, y, len, row_size, ret, is_progressive; local
256 bit_depth = 8;
260 bit_depth = 8;
264 bit_depth = 8;
268 bit_depth = 1;
272 bit_depth = 8;
278 bits_per_pixel = ff_png_get_nb_channels(color_type) * bit_depth;
317 s->buf[8] = bit_depth;
H A Ddnxhdenc.c105 int max_level = 1<<(ctx->cid_table->bit_depth+2);
170 if (ctx->cid_table->bit_depth == 8) {
233 int i, index, bit_depth; local
237 bit_depth = 8;
240 bit_depth = 10;
247 ctx->cid = ff_dnxhd_find_cid(avctx, bit_depth);
261 avctx->bits_per_raw_sample = ctx->cid_table->bit_depth;
268 if (ctx->cid_table->bit_depth == 10) {
345 buf[0x21] = ctx->cid_table->bit_depth == 10 ? 0x58 : 0x38;
411 if (ctx->cid_table->bit_depth
[all...]
H A Dpngdec.c44 int bit_depth; member in struct:PNGDecContext
440 s->bit_depth = bytestream2_get_byte(&s->gb);
448 s->width, s->height, s->bit_depth, s->color_type,
460 s->bits_per_pixel = s->bit_depth * s->channels;
464 if (s->bit_depth == 8 &&
467 } else if (s->bit_depth == 8 &&
470 } else if (s->bit_depth == 8 &&
473 } else if (s->bit_depth == 16 &&
476 } else if (s->bit_depth == 16 &&
479 } else if (s->bit_depth
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/arm/
H A Dh264dsp_init_arm.c73 static av_cold void h264dsp_init_neon(H264DSPContext *c, const int bit_depth, argument
77 if (bit_depth == 8) {
106 av_cold void ff_h264dsp_init_arm(H264DSPContext *c, const int bit_depth, argument
118 h264dsp_init_neon(c, bit_depth, chroma_format_idc);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpng/libpng-1.2.50/
H A Dpngrtran.c829 switch (png_ptr->bit_depth)
1046 double m = (double)(((png_uint_32)1 << png_ptr->bit_depth) - 1);
1217 info_ptr->bit_depth = 8;
1227 if (info_ptr->bit_depth < 8)
1228 info_ptr->bit_depth = 8;
1256 if ((png_ptr->transformations & PNG_16_TO_8) && (info_ptr->bit_depth == 16))
1257 info_ptr->bit_depth = 8;
1275 png_ptr->palette_lookup && info_ptr->bit_depth == 8)
1283 if ((png_ptr->transformations & PNG_PACK) && (info_ptr->bit_depth < 8))
1284 info_ptr->bit_depth
2572 png_build_grayscale_palette(int bit_depth, png_colorp palette) argument
[all...]
H A Dpngtrans.c41 if (png_ptr->bit_depth == 16)
55 if (png_ptr->bit_depth < 8)
72 if (png_ptr->bit_depth < 8)
144 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY && png_ptr->bit_depth >= 8)
210 * if (row_info->bit_depth == 1 &&
229 row_info->bit_depth == 8)
242 row_info->bit_depth == 16)
269 row_info->bit_depth == 16)
401 row_info->bit_depth < 8)
407 if (row_info->bit_depth
[all...]
H A Dexample.c89 int bit_depth, color_type, interlace_type;
101 int bit_depth, color_type, interlace_type;
177 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
208 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
634 * bit_depth is one of 1, 2, 4, 8, or 16, but valid values also depend on
641 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_???,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/png/
H A Dpngrtran.c709 switch (png_ptr->bit_depth)
891 double m = (double)(((png_uint_32)1 << png_ptr->bit_depth) - 1);
1049 info_ptr->bit_depth = 8;
1056 if (info_ptr->bit_depth < 8)
1057 info_ptr->bit_depth = 8;
1085 if ((png_ptr->transformations & PNG_16_TO_8) && (info_ptr->bit_depth == 16))
1086 info_ptr->bit_depth = 8;
1094 png_ptr->palette_lookup && info_ptr->bit_depth == 8)
1102 if ((png_ptr->transformations & PNG_PACK) && (info_ptr->bit_depth < 8))
1103 info_ptr->bit_depth
2363 png_build_grayscale_palette(int bit_depth, png_colorp palette) argument
[all...]
H A Dpngtrans.c30 if (png_ptr->bit_depth == 16)
41 if (png_ptr->bit_depth < 8)
55 if (png_ptr->bit_depth < 8)
116 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY && png_ptr->bit_depth >= 8)
169 * if (row_info->bit_depth == 1 &&
188 row_info->bit_depth == 8)
201 row_info->bit_depth == 16)
227 row_info->bit_depth == 16)
358 row_info->bit_depth < 8)
364 if (row_info->bit_depth
[all...]
H A Dexample.c83 int bit_depth, color_type, interlace_type;
94 int bit_depth, color_type, interlace_type;
169 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
200 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
622 * bit_depth is one of 1, 2, 4, 8, or 16, but valid values also depend on
629 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_???,

Completed in 346 milliseconds

1234