Home
last modified time | relevance | path

Searched refs:vpx_image_t (Results 1 – 25 of 62) sorted by relevance

123

/external/libvpx/libvpx/
Dtools_common.h130 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame);
149 int vpx_img_plane_width(const vpx_image_t *img, int plane);
150 int vpx_img_plane_height(const vpx_image_t *img, int plane);
151 void vpx_img_write(const vpx_image_t *img, FILE *file);
152 int vpx_img_read(vpx_image_t *img, FILE *file);
157 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift);
158 void vpx_img_downshift(vpx_image_t *dst, vpx_image_t *src, int down_shift);
159 void vpx_img_truncate_16_to_8(vpx_image_t *dst, vpx_image_t *src);
Dtools_common.c77 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) { in read_yuv_frame()
205 int vpx_img_plane_width(const vpx_image_t *img, int plane) { in vpx_img_plane_width()
212 int vpx_img_plane_height(const vpx_image_t *img, int plane) { in vpx_img_plane_height()
219 void vpx_img_write(const vpx_image_t *img, FILE *file) { in vpx_img_write()
237 int vpx_img_read(vpx_image_t *img, FILE *file) { in vpx_img_read()
271 static void highbd_img_upshift(vpx_image_t *dst, vpx_image_t *src, in highbd_img_upshift()
307 static void lowbd_img_upshift(vpx_image_t *dst, vpx_image_t *src, in lowbd_img_upshift()
344 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift) { in vpx_img_upshift()
352 void vpx_img_truncate_16_to_8(vpx_image_t *dst, vpx_image_t *src) { in vpx_img_truncate_16_to_8()
385 static void highbd_img_downshift(vpx_image_t *dst, vpx_image_t *src, in highbd_img_downshift()
[all …]
Dvpxdec.c131 static INLINE int libyuv_scale(vpx_image_t *src, vpx_image_t *dst, in libyuv_scale()
263 static void update_image_md5(const vpx_image_t *img, const int planes[3], in update_image_md5()
282 static void write_image_file(const vpx_image_t *img, const int planes[3], in write_image_file()
487 static int img_shifted_realloc_required(const vpx_image_t *img, in img_shifted_realloc_required()
488 const vpx_image_t *shifted, in img_shifted_realloc_required()
531 vpx_image_t *scaled_img = NULL; in main_loop()
533 vpx_image_t *img_shifted = NULL; in main_loop()
794 vpx_image_t *img; in main_loop()
/external/libvpx/libvpx/vpx/
Dvpx_image.h132 } vpx_image_t; /**< alias for struct vpx_image */ typedef
160 vpx_image_t *vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt,
183 vpx_image_t *vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w,
200 int vpx_img_set_rect(vpx_image_t *img, unsigned int x, unsigned int y,
210 void vpx_img_flip(vpx_image_t *img);
218 void vpx_img_free(vpx_image_t *img);
Dvpx_decoder.h235 vpx_image_t *vpx_codec_get_frame(vpx_codec_ctx_t *ctx, vpx_codec_iter_t *iter);
253 const vpx_image_t *img);
292 const vpx_image_t *img,
Dvp8.h112 vpx_image_t img; /**< reference frame data in image format */
121 vpx_image_t img; /**< img structure to populate (output) */
/external/libvpx/libvpx/vpx/src/
Dvpx_image.c18 static vpx_image_t *img_alloc_helper(vpx_image_t *img, vpx_img_fmt_t fmt, in img_alloc_helper()
101 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t)); in img_alloc_helper()
107 memset(img, 0, sizeof(vpx_image_t)); in img_alloc_helper()
154 vpx_image_t *vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt, in vpx_img_alloc()
160 vpx_image_t *vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, in vpx_img_wrap()
168 int vpx_img_set_rect(vpx_image_t *img, unsigned int x, unsigned int y, in vpx_img_set_rect()
218 void vpx_img_flip(vpx_image_t *img) { in vpx_img_flip()
241 void vpx_img_free(vpx_image_t *img) { in vpx_img_free()
/external/libvpx/libvpx/test/
Dactive_map_refresh_test.cc20 int CheckMb(const vpx_image_t &current, const vpx_image_t &previous, int mb_r, in CheckMb()
49 void GenerateMap(int mb_rows, int mb_cols, const vpx_image_t &current, in GenerateMap()
50 const vpx_image_t &previous, uint8_t *map) { in GenerateMap()
81 vpx_image_t *current = video->img(); in PreEncodeFrameHook()
82 vpx_image_t *previous = y4m_holder_->img(); in PreEncodeFrameHook()
Dencode_test_driver.cc25 const vpx_image_t *img = video->img(); in InitEncoder()
74 const vpx_image_t *img = video.img(); in EncodeFrameInternal()
127 static bool compare_img(const vpx_image_t *img1, const vpx_image_t *img2) { in compare_img()
157 void EncoderTest::MismatchHook(const vpx_image_t * /*img1*/, in MismatchHook() argument
158 const vpx_image_t * /*img2*/) { in MismatchHook()
244 const vpx_image_t *img_enc = encoder->GetPreviewFrame(); in RunLoop()
246 const vpx_image_t *img_dec = dec_iter.Next(); in RunLoop()
Dy4m_video_source.h25 : file_name_(file_name), input_file_(NULL), img_(new vpx_image_t()), in Y4mVideoSource()
63 virtual vpx_image_t *img() const { in img()
93 vpx_image_t *tmp; in SwapBuffers()
111 testing::internal::scoped_ptr<vpx_image_t> img_;
Dencode_test_driver.h101 const vpx_image_t *GetPreviewFrame() { in GetPreviewFrame()
243 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2);
246 virtual void DecompressedFrameHook(const vpx_image_t & /*img*/, in DecompressedFrameHook() argument
Dvideo_source.h115 virtual vpx_image_t *img() const = 0;
153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
197 vpx_image_t *img_;
Dutil.h22 inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) { in compute_psnr()
Dyuv_video_source.h61 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
111 vpx_image_t *img_;
Ddecode_test_driver.h29 const vpx_image_t *Next() { return vpx_codec_get_frame(decoder_, &iter_); } in Next()
141 virtual void DecompressedFrameHook(const vpx_image_t & /*img*/, in DecompressedFrameHook() argument
Dbyte_alignment_test.cc113 const vpx_image_t *img; in CheckDecodedFrames()
135 void CheckMd5(const vpx_image_t &img) { in CheckMd5()
/external/libvpx/libvpx/examples/
Dtwopass_encoder.c69 static int get_frame_stats(vpx_codec_ctx_t *ctx, const vpx_image_t *img, in get_frame_stats()
95 static int encode_frame(vpx_codec_ctx_t *ctx, const vpx_image_t *img, in encode_frame()
123 static vpx_fixed_buf_t pass0(vpx_image_t *raw, FILE *infile, in pass0()
152 static void pass1(vpx_image_t *raw, FILE *infile, const char *outfile_name, in pass1()
195 vpx_image_t raw; in main()
Dvp9cx_set_ref.c71 static int compare_img(const vpx_image_t *const img1, in compare_img()
72 const vpx_image_t *const img2) { in compare_img()
103 static void find_mismatch(const vpx_image_t *const img1, in find_mismatch()
104 const vpx_image_t *const img2, int yloc[4], in find_mismatch()
195 vpx_image_t enc_img, dec_img; in testing_decode()
228 static int encode_frame(vpx_codec_ctx_t *ecodec, vpx_image_t *img, in encode_frame()
284 vpx_image_t raw; in main()
Ddecode_to_md5.c44 static void get_image_md5(const vpx_image_t *img, unsigned char digest[16]) { in get_image_md5()
108 vpx_image_t *img = NULL; in main()
Dvp9_lossless_encoder.c32 static int encode_frame(vpx_codec_ctx_t *codec, vpx_image_t *img, in encode_frame()
64 vpx_image_t raw; in main()
Dvp8cx_set_ref.c67 static int encode_frame(vpx_codec_ctx_t *codec, vpx_image_t *img, in encode_frame()
100 vpx_image_t raw; in main()
/external/libvpx/libvpx/vpx/internal/
Dvpx_codec_internal.h217 typedef vpx_image_t *(*vpx_codec_get_frame_fn_t)(vpx_codec_alg_priv_t *ctx,
251 const vpx_image_t *img,
264 typedef vpx_image_t *(*vpx_codec_get_preview_frame_fn_t)(
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.h115 vpx_image_t* raw_;
157 int ReturnFrame(const vpx_image_t* img, uint32_t timeStamp);
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c52 vpx_image_t img;
200 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, in yuvconfig2image()
446 static vpx_image_t *vp8_get_frame(vpx_codec_alg_priv_t *ctx, in vp8_get_frame()
448 vpx_image_t *img = NULL; in vp8_get_frame()
477 static vpx_codec_err_t image2yuvconfig(const vpx_image_t *img, in image2yuvconfig()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.h114 std::vector<vpx_image_t> raw_images_;
152 int ReturnFrame(const vpx_image_t* img,

123