HomeSort by relevance Sort by last modified time
    Searched refs:bit_depth (Results 1 - 25 of 181) sorted by null

1 2 3 4 5 6 7 8

  /external/libvpx/libvpx/vp9/common/
vp9_quant_common.h 26 int16_t vp9_dc_quant(int qindex, int delta, vpx_bit_depth_t bit_depth);
27 int16_t vp9_ac_quant(int qindex, int delta, vpx_bit_depth_t bit_depth);
vp9_quant_common.c 164 int16_t vp9_dc_quant(int qindex, int delta, vpx_bit_depth_t bit_depth) {
166 switch (bit_depth) {
171 assert(0 && "bit_depth should be VPX_BITS_8, VPX_BITS_10 or VPX_BITS_12");
175 (void)bit_depth;
180 int16_t vp9_ac_quant(int qindex, int delta, vpx_bit_depth_t bit_depth) {
182 switch (bit_depth) {
187 assert(0 && "bit_depth should be VPX_BITS_8, VPX_BITS_10 or VPX_BITS_12");
191 (void)bit_depth;
  /external/libvpx/libvpx/
y4menc.h 26 vpx_img_fmt_t fmt, unsigned int bit_depth);
y4menc.c 16 vpx_img_fmt_t fmt, unsigned int bit_depth) {
18 switch (bit_depth) {
  /external/syslinux/com32/lib/libpng/
pngwtran.c 40 /* png_byte bit_depth; bit depth of samples */
57 (png_uint_32)png_ptr->bit_depth);
87 /* Pack pixels into bytes. Pass the true bit depth in bit_depth. The
92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
96 if (row_info->bit_depth == 8 &&
102 switch ((int)bit_depth)
202 row_info->bit_depth = (png_byte)bit_depth;
203 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
212 * true number of bits in bit_depth. The row should be packe
    [all...]
  /external/libpng/contrib/examples/
pngpixel.c 35 unsigned int bit_depth, unsigned int channels)
42 png_uint_32 bit_offset_hi = bit_depth * ((x >> 6) * channels);
43 png_uint_32 bit_offset_lo = bit_depth * ((x & 0x3f) * channels + c);
53 switch (bit_depth)
64 fprintf(stderr, "pngpixel: invalid bit depth %u\n", bit_depth);
76 PNG_CONST unsigned int bit_depth = png_get_bit_depth(png_ptr, info_ptr); local
81 printf("GRAY %u\n", component(row, x, 0, bit_depth, 1));
90 PNG_CONST int index = component(row, x, 0, bit_depth, 1);
119 printf("RGB %u %u %u\n", component(row, x, 0, bit_depth, 3),
120 component(row, x, 1, bit_depth, 3)
183 int bit_depth, color_type, interlace_method, local
    [all...]
  /external/libpng/
pngwtran.c 20 /* Pack pixels into bytes. Pass the true bit depth in bit_depth. The
25 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
29 if (row_info->bit_depth == 8 &&
32 switch ((int)bit_depth)
155 row_info->bit_depth = (png_byte)bit_depth;
156 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
165 * true number of bits in bit_depth. The row should be packed
166 * according to row_info->bit_depth. Thus, if you had a row of
168 * would pass 3 as bit_depth, and this routine would translate th
    [all...]
  /external/pdfium/third_party/libpng16/
pngwtran.c 20 /* Pack pixels into bytes. Pass the true bit depth in bit_depth. The
25 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
29 if (row_info->bit_depth == 8 &&
32 switch ((int)bit_depth)
155 row_info->bit_depth = (png_byte)bit_depth;
156 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
165 * true number of bits in bit_depth. The row should be packed
166 * according to row_info->bit_depth. Thus, if you had a row of
168 * would pass 3 as bit_depth, and this routine would translate th
    [all...]
  /external/libhevc/common/
ihevc_trans_macros.h 41 WORD32 bit_depth,transform_shift; \
46 bit_depth = 8; \
47 transform_shift = MAX_TR_DYNAMIC_RANGE - bit_depth - log2_trans_size; \
62 #define QUANT_HBD(out, inp, quant_coeff, qp_div, log2_trans_size, q_add, bit_depth) \
72 transform_shift = MAX_TR_DYNAMIC_RANGE - bit_depth - log2_trans_size; \
91 WORD32 bit_depth,transform_shift; \
96 bit_depth = 8; \
97 transform_shift = MAX_TR_DYNAMIC_RANGE - bit_depth - log2_trans_size; \
112 #define QUANT_NO_WEIGHTMAT_HBD(out, inp, quant_coeff, qp_div, log2_trans_size, q_add, bit_depth) \
122 transform_shift = MAX_TR_DYNAMIC_RANGE - bit_depth - log2_trans_size; (…)
    [all...]
ihevc_iquant_recon.c 125 WORD32 log2_trans_size, bit_depth; local
128 bit_depth = 8 + 0;
129 shift_iq = bit_depth + log2_trans_size - 5;
237 WORD32 log2_trans_size, bit_depth; local
240 bit_depth = 8 + 0;
241 shift_iq = bit_depth + log2_trans_size - 5;
348 WORD32 log2_trans_size, bit_depth; local
351 bit_depth = 8 + 0;
352 shift_iq = bit_depth + log2_trans_size - 5;
460 WORD32 log2_trans_size, bit_depth; local
571 WORD32 log2_trans_size, bit_depth; local
    [all...]
ihevc_chroma_iquant_recon.c 131 WORD32 log2_trans_size, bit_depth; local
134 bit_depth = 8 + 0;
135 shift_iq = bit_depth + log2_trans_size - 5;
243 WORD32 log2_trans_size, bit_depth; local
246 bit_depth = 8 + 0;
247 shift_iq = bit_depth + log2_trans_size - 5;
356 WORD32 log2_trans_size, bit_depth; local
359 bit_depth = 8 + 0;
360 shift_iq = bit_depth + log2_trans_size - 5;
ihevc_chroma_recon.h 60 UWORD8 bit_depth);
75 UWORD8 bit_depth);
90 UWORD8 bit_depth);
ihevc_recon.h 51 UWORD8 bit_depth);
66 UWORD8 bit_depth);
81 UWORD8 bit_depth);
96 UWORD8 bit_depth);
111 UWORD8 bit_depth);
ihevc_chroma_iquant_recon.h 60 UWORD8 bit_depth);
81 UWORD8 bit_depth);
102 UWORD8 bit_depth);
ihevc_chroma_itrans_recon.h 58 UWORD8 bit_depth);
77 UWORD8 bit_depth);
96 UWORD8 bit_depth);
ihevc_intra_pred.h 169 UWORD8 bit_depth);
179 UWORD8 bit_depth);
189 UWORD8 bit_depth);
199 UWORD8 bit_depth);
209 UWORD8 bit_depth);
219 UWORD8 bit_depth);
229 UWORD8 bit_depth);
239 UWORD8 bit_depth);
248 UWORD8 bit_depth);
259 UWORD8 bit_depth);
    [all...]
  /external/gemmlowp/eight_bit_int_gemm/
eight_bit_int_gemm.h 60 std::int32_t c_shift, int ldc, BitDepthSetting bit_depth);
66 int ldc, BitDepthSetting bit_depth);
  /external/libpng/contrib/gregbook/
readpng.c 73 int bit_depth, color_type; variable
136 * etc., but want bit_depth and color_type for later [don't care about
139 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
183 if (bit_depth == 16) {
187 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
188 if (bit_depth == 1)
190 else if (bit_depth == 2)
192 else /* bit_depth == 4 */
234 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
239 if (bit_depth == 16
    [all...]
  /external/libvpx/libvpx/third_party/libwebm/common/
hdr_util.h 40 bit_depth(kValueNotPresent),
46 int bit_depth; member in struct:libwebm::Vp9CodecFeatures
  /external/libxcam/xcore/
x3a_stats_pool.h 70 void set_bit_depth (uint32_t bit_depth) {
71 _bit_depth = bit_depth;
  /external/libpng/contrib/pngminus/
pnm2png.c 224 volatile int bit_depth = 0; local
254 bit_depth = 1;
276 bit_depth = 1;
278 bit_depth = 2;
280 bit_depth = 4;
282 bit_depth = 8;
284 bit_depth = 16;
300 bit_depth = 1;
302 bit_depth = 2;
304 bit_depth = 4
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_tokenize.h 84 static INLINE const uint16_t *vp9_get_high_cost_table(int bit_depth) {
85 return bit_depth == 8 ? vp9_cat6_high_cost
86 : (bit_depth == 10 ? vp9_cat6_high10_high_cost
90 static INLINE const uint16_t *vp9_get_high_cost_table(int bit_depth) {
91 (void)bit_depth;
vp9_ratectrl.h 188 double correction_factor, vpx_bit_depth_t bit_depth);
190 double vp9_convert_qindex_to_q(int qindex, vpx_bit_depth_t bit_depth);
192 int vp9_convert_q_to_qindex(double q_val, vpx_bit_depth_t bit_depth);
260 double correction_factor, vpx_bit_depth_t bit_depth);
274 vpx_bit_depth_t bit_depth);
280 vpx_bit_depth_t bit_depth);
  /external/libpng/contrib/libtests/
makepng.c 201 pixel_depth_of_type(int color_type, int bit_depth)
203 return channels_of_type(color_type) * bit_depth;
207 image_size_of_type(int color_type, int bit_depth, unsigned int *colors,
215 int pixel_depth = pixel_depth_of_type(color_type, bit_depth);
249 generate_palette(png_colorp palette, png_bytep trans, int bit_depth,
289 if (bit_depth == 1)
298 unsigned int size = 1U << (bit_depth/2); /* 2, 4 or 16 */
329 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth,
332 unsigned int mask = (1U << bit_depth)-1;
334 x *= bit_depth; /* Maximum x is 4*1024, maximum bit_depth is 16 *
1683 int bit_depth = 32; \/* invalid *\/ local
    [all...]
  /external/libvpx/libvpx/test/
y4m_test.cc 31 unsigned int bit_depth; member in struct:__anon26072::Y4mTestParam
92 void HeaderChecks(unsigned int bit_depth, vpx_img_fmt_t fmt) {
98 ASSERT_EQ(y4m_.bit_depth, bit_depth);
101 ASSERT_EQ(y4m_.bps, (int)y4m_.bit_depth * 3 / 2);
106 ASSERT_EQ(y4m_.bps, (int)y4m_.bit_depth * 2);
111 ASSERT_EQ(y4m_.bps, (int)y4m_.bit_depth * 3);
132 HeaderChecks(t.bit_depth, t.format);
164 y4m_.vpx_fmt, y4m_.bit_depth);
185 HeaderChecks(t.bit_depth, t.format)
    [all...]

Completed in 445 milliseconds

1 2 3 4 5 6 7 8