Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dfitsdec.c68 switch (header->bitpix) { in fill_data_min_max()
140 if (header->blank_found && (header->bitpix == -32 || header->bitpix == -64)) { in fits_read_header()
141 …og(avctx, AV_LOG_WARNING, "BLANK keyword found but BITPIX = %d\n. Ignoring BLANK", header->bitpix); in fits_read_header()
145 size = abs(header->bitpix) >> 3; in fits_read_header()
161 av_log(avctx, AV_LOG_ERROR, "invalid BITPIX, %d\n", header->bitpix); in fits_read_header()
209 if (header.bitpix == 8) { in fits_decode_frame()
215 } else if (header.bitpix == 16) { in fits_decode_frame()
222 av_log(avctx, AV_LOG_ERROR, "unsupported BITPIX = %d\n", header.bitpix); in fits_decode_frame()
226 if (header.bitpix == 8) { in fits_decode_frame()
244 switch(header.bitpix) { in fits_decode_frame()
[all …]
Dfitsenc.c45 int ret, bitpix, naxis3 = 1, i, j, k, bytes_left; in fits_encode_frame() local
53 bitpix = 8; in fits_encode_frame()
55 bitpix = 16; in fits_encode_frame()
60 bitpix = 8; in fits_encode_frame()
69 bitpix = 16; in fits_encode_frame()
81 data_size = (bitpix >> 3) * avctx->height * avctx->width * naxis3; in fits_encode_frame()
92 if (bitpix == 16) { in fits_encode_frame()
Dfits.c145 CHECK_VALUE("BITPIX", bitpix); in avpriv_fits_header_parse_line()
147 switch(header->bitpix) { in avpriv_fits_header_parse_line()
153 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.c81 int bitpix, naxis, naxis3 = 1, bzero = 0, rgb = 0, lines_written = 0, lines_left; in write_image_header() local
87 bitpix = 8; in write_image_header()
93 bitpix = 16; in write_image_header()
101 bitpix = 8; in write_image_header()
114 bitpix = 16; in write_image_header()
142 write_keyword_value(s, "%d", "BITPIX", &bitpix, &lines_written); // no of bits per pixel in write_image_header()
165 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.mak20 FATE_FITS_DEC-$(call FRAMECRC, FITS, FITS, SCALE_FILTER) += fate-fitsdec-bitpix-32
21 fate-fitsdec-bitpix-32: CMD = framecrc -i $(TARGET_SAMPLES)/fits/tst0005.fits -pix_fmt gray16le -vf…
23 FATE_FITS_DEC-$(call FRAMECRC, FITS, FITS, SCALE_FILTER) += fate-fitsdec-bitpix-64
24 fate-fitsdec-bitpix-64: CMD = framecrc -i $(TARGET_SAMPLES)/fits/tst0006.fits -pix_fmt gray16le -vf…