Home
last modified time | relevance | path

Searched refs:bitpix (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dfitsenc.c44 int ret, bitpix, naxis3 = 1, i, j, k, bytes_left; in fits_encode_frame() local
52 bitpix = 8; in fits_encode_frame()
54 bitpix = 16; in fits_encode_frame()
59 bitpix = 8; in fits_encode_frame()
68 bitpix = 16; in fits_encode_frame()
80 data_size = (bitpix >> 3) * avctx->height * avctx->width * naxis3; in fits_encode_frame()
92 if (bitpix == 16) { in fits_encode_frame()
Dfitsdec.c67 switch (header->bitpix) { in fill_data_min_max()
139 if (header->blank_found && (header->bitpix == -32 || header->bitpix == -64)) { in fits_read_header()
140 …og(avctx, AV_LOG_WARNING, "BLANK keyword found but BITPIX = %d\n. Ignoring BLANK", header->bitpix); in fits_read_header()
144 size = abs(header->bitpix) >> 3; in fits_read_header()
160 av_log(avctx, AV_LOG_ERROR, "invalid BITPIX, %d\n", header->bitpix); in fits_read_header()
208 if (header.bitpix == 8) { in fits_decode_frame()
214 } else if (header.bitpix == 16) { in fits_decode_frame()
221 av_log(avctx, AV_LOG_ERROR, "unsupported BITPIX = %d\n", header.bitpix); in fits_decode_frame()
225 if (header.bitpix == 8) { in fits_decode_frame()
243 switch(header.bitpix) { in fits_decode_frame()
[all …]
Dfits.c140 CHECK_VALUE("BITPIX", bitpix); in avpriv_fits_header_parse_line()
142 switch(header->bitpix) { in avpriv_fits_header_parse_line()
148 av_log(avcl, AV_LOG_ERROR, "invalid value of BITPIX %d\n", header->bitpix); \ in avpriv_fits_header_parse_line()
Dfits.h46 int bitpix; member
/third_party/ffmpeg/libavformat/
Dfitsenc.c80 int bitpix, naxis, naxis3 = 1, bzero = 0, rgb = 0, lines_written = 0, lines_left; in write_image_header() local
86 bitpix = 8; in write_image_header()
92 bitpix = 16; in write_image_header()
100 bitpix = 8; in write_image_header()
113 bitpix = 16; in write_image_header()
141 write_keyword_value(s, "%d", "BITPIX", &bitpix, &lines_written); // no of bits per pixel in write_image_header()
164 if (bitpix == 16) in write_image_header()
Dfitsdec.c128 t = (abs(header->bitpix) >> 3) * ((int64_t) header->gcount); in is_image()
/third_party/ffmpeg/tests/fate/
Dfits.mak27 FATE_FITS_DEC-$(call DEMDEC, FITS, FITS) += fate-fitsdec-bitpix-32
28 fate-fitsdec-bitpix-32: CMD = framecrc -i $(TARGET_SAMPLES)/fits/tst0005.fits -pix_fmt gray16le -vf…
30 FATE_FITS_DEC-$(call DEMDEC, FITS, FITS) += fate-fitsdec-bitpix-64
31 fate-fitsdec-bitpix-64: CMD = framecrc -i $(TARGET_SAMPLES)/fits/tst0006.fits -pix_fmt gray16le -vf…